*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:linear-gradient(
135deg,
#f4f7fc,
#eaf2ff
);

color:#222;
line-height:1.6;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
background:#0a2342;
flex-wrap:wrap;

}

.logo{
display:flex;
align-items:center;
gap:10px;
color:white;
font-weight:700;
font-size:1.2rem;
}

.logo img{
width:50px;
height:50px;
object-fit:cover;
border-radius:50%;
background:white;
padding:3px;
}

.nav-links{
display:flex;
list-style:none;
gap:25px;
flex-wrap:wrap;
}

.nav-links a{
color:white;
text-decoration:none;
font-weight:500;
transition:0.3s;
}

.nav-links a:hover{
color:#ffd700;
}

/* HERO */

.hero{
height:50vh;
background:
linear-gradient(
rgba(0,0,0,0.6),
rgba(0,0,0,0.6)
),
url("../ASSETS/images/hero-ae-connect-branded.jpg");

background-size:cover;
background-position:center;

display:flex;
justify-content:center;
align-items:center;

text-align:center;
padding:20px;
}

.hero-content{
max-width:900px;
color:white;
}

.small-text{
letter-spacing:3px;
font-size:0.9rem;
margin-bottom:20px;
}

.hero h1{
font-size:3rem;
margin-bottom:20px;
}

.hero p{
font-size:1.1rem;
line-height:1.8;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.hero-buttons button{
padding:15px 30px;
border:none;
border-radius:50px;
cursor:pointer;
font-size:1rem;
font-weight:600;
transition:all 0.3s ease;
}

.hero-buttons button:hover{
transform:scale(1.05);
}

/* PROGRAMS */

.programs{
padding:80px 8%;
text-align:center;
}

.programs h1,
.programs h2{
font-size:3rem;
margin-bottom:30px;
color:#0a2342;
font-weight:800;
text-transform:uppercase;
}

.program-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.program-card{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
text-decoration:none;
color:#222;
transition:all 0.3s ease;
border-top:5px solid #0a2342;
}

.program-card:hover{
transform:translateY(-10px) scale(1.02);
box-shadow:0 15px 35px rgba(0,0,0,0.18);
}
.program-card:nth-child(1){
background:#eef6ff;
}

.program-card:nth-child(2){
background:#f5f0ff;
}

.program-card:nth-child(3){
background:#fff4e8;
}

/* ABOUT */

.about-section{
padding:80px 8%;
background:linear-gradient(
135deg,
#ffffff,
#f8fbff
);
border-radius:25px;
margin:40px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

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

.about-intro{
max-width:900px;
margin:auto;
text-align:center;
line-height:1.8;
margin-bottom:50px;
}

.about-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.about-card{
padding:30px;
background:white;
border-radius:20px;
transition:all 0.3s ease;
animation:fadeInUp 0.8s ease;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.about-card:hover{
transform:translateY(-8px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}
.about-card h3{
color:#0a2342;
margin-bottom:15px;
font-size:1.3rem;
}

.program-card h3{
color:#0a2342;
margin-bottom:15px;
font-size:1.4rem;
}

.freedom-page{
background:#eef4fa;
color:#0a2342;
}

.freedom-page .programs{
background:#f7fbff;
}

.freedom-page .programs > h1{
color:#0a2342;
display:inline-block;
padding:16px 24px;
background:#ffffff;
border-radius:8px;
box-shadow:0 14px 34px rgba(10,35,66,0.12);
}

.freedom-intro-panel{
max-width:980px;
margin:28px auto 46px;
padding:30px 34px;
background:#ffffff;
border:1px solid rgba(31,93,153,0.16);
border-radius:8px;
box-shadow:0 18px 42px rgba(10,35,66,0.1);
text-align:center;
}

.freedom-intro-panel h3{
margin:0 0 16px;
color:#0a2342;
font-size:1.08rem;
line-height:1.5;
font-weight:900;
}

.freedom-intro-panel p{
max-width:820px;
margin:0 auto;
color:#31445f;
font-size:1.02rem;
line-height:1.9;
font-weight:600;
}

.freedom-page .program-card{
border:1px solid rgba(31,93,153,0.14);
border-top:5px solid #1f5d99;
background:#ffffff;
}

.freedom-page .program-card p{
color:#334966;
}

.pick-course-page{
background:#eef4fa;
color:#0a2342;
}

.pick-course-page .programs{
background:#f7fbff;
}

.pick-course-page .programs > h1{
color:#0a2342;
display:inline-block;
padding:16px 24px;
background:#ffffff;
border-radius:8px;
box-shadow:0 14px 34px rgba(10,35,66,0.12);
}

.pick-course-intro-panel{
max-width:980px;
margin:28px auto 46px;
padding:30px 34px;
background:#ffffff;
border:1px solid rgba(31,93,153,0.16);
border-radius:8px;
box-shadow:0 18px 42px rgba(10,35,66,0.1);
text-align:center;
}

.pick-course-intro-panel h3{
margin:0 0 16px;
color:#0a2342;
font-size:1.08rem;
line-height:1.5;
font-weight:900;
}

.pick-course-intro-panel p{
max-width:860px;
margin:0 auto;
color:#31445f;
font-size:1.02rem;
line-height:1.9;
font-weight:600;
}

.pick-course-page .program-card{
border:1px solid rgba(31,93,153,0.14);
border-top:5px solid #1f5d99;
background:#ffffff;
}

.pick-course-page .program-card p{
color:#334966;
}

/* BOOKS */

.books-section{
padding:80px 8%;
}

.books-section h2{
text-align:center;
margin-bottom:20px;
}

.books-intro{
text-align:center;
max-width:800px;
margin:auto;
margin-bottom:50px;
}

.books-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}
.book-card{
background:white;
padding:35px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:all 0.3s ease;
border-top:5px solid #0a2342;
}

.book-card{
background:white;
padding:35px;
border-radius:15px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
transition:all 0.3s ease;
}

.book-card:hover{
transform:translateY(-8px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* IMAGES */

.programs img{
width:100%;
max-width:700px;
display:block;
margin:20px auto;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
transition:all 0.3s ease;
}

.programs img:hover{
transform:scale(1.02);
}

/* BUTTONS */

button{
transition:all 0.3s ease;
}

button:hover{
cursor:pointer;
}

/* ANIMATION */

@keyframes fadeInUp{

from{
opacity:0;
transform:translateY(20px);
}

to{
opacity:1;
transform:translateY(0);
}

}
html{
scroll-behavior:smooth;
}
.about-section h2{
font-size:3rem;
color:#0a2342;
font-weight:800;
margin-bottom:50px;
}

/* FOOTER */

footer{
background:#0a2342;
color:white;
text-align:center;
padding:25px;
margin-top:40px;
}

/* HOME REFERENCE LANDING PAGE */

.home-page{
--home-ink:#25263a;
--home-muted:#74758d;
--home-navy:#17182d;
--home-coral:#ff7058;
--home-cream:#fff7f1;
--home-soft:#fbefe7;
--home-green:#2f7757;
--home-line:#eee5de;
background:#fffaf6;
color:var(--home-ink);
line-height:1.55;
}

.home-page a{
text-decoration:none;
}

.home-container{
width:min(1180px,calc(100% - 40px));
margin:0 auto;
}

.home-hero{
min-height:540px;
height:56vh;
display:grid;
place-items:center;
text-align:center;
padding:68px 20px;
position:relative;
overflow:hidden;
background:
linear-gradient(180deg,rgba(19,18,25,0.18),rgba(19,18,25,0.66)),
linear-gradient(90deg,rgba(52,24,11,0.35),rgba(16,16,33,0.08),rgba(52,24,11,0.35)),
url("../ASSETS/images/hero.jpg");
background-size:cover;
background-position:center 58%;
}

.home-hero::after{
content:"";
position:absolute;
inset:auto 0 0;
height:38%;
background:linear-gradient(180deg,transparent,rgba(31,15,13,0.72));
pointer-events:none;
z-index:1;
}

.home-hero-copy{
position:relative;
z-index:2;
max-width:820px;
color:white;
}

.home-pill,
.eyebrow{
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:999px;
font-size:0.72rem;
font-weight:800;
letter-spacing:0;
text-transform:uppercase;
}

.home-pill{
padding:8px 16px;
background:rgba(255,255,255,0.2);
box-shadow:inset 0 0 0 1px rgba(255,255,255,0.2);
backdrop-filter:blur(10px);
}

.home-pill::before{
content:"";
width:6px;
height:6px;
border-radius:50%;
background:var(--home-coral);
margin-right:8px;
}

.home-hero h1{
margin:18px 0 14px;
font-size:clamp(3.6rem,8vw,7rem);
font-weight:900;
line-height:0.92;
letter-spacing:0;
text-shadow:0 8px 34px rgba(0,0,0,0.34);
}

.home-hero h1 em{
font-family:Georgia,serif;
font-style:italic;
font-weight:800;
}

.home-hero p{
max-width:760px;
margin:0 auto 26px;
font-size:1.08rem;
color:rgba(255,255,255,0.88);
}

.home-actions{
display:flex;
justify-content:center;
gap:16px;
flex-wrap:nowrap;
align-items:center;
}

.home-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:42px;
padding:0 16px;
border-radius:999px;
font-size:0.76rem;
font-weight:800;
white-space:nowrap;
transition:transform 0.25s ease,box-shadow 0.25s ease,background 0.25s ease;
}

.home-btn:hover{
transform:translateY(-2px);
}

.home-btn-primary{
background:var(--home-coral);
color:white;
box-shadow:0 16px 32px rgba(255,112,88,0.32);
}

.home-btn-ghost{
background:var(--home-coral);
color:white;
box-shadow:0 16px 32px rgba(255,112,88,0.32);
}

.home-btn-join{
min-height:42px;
padding:0 16px;
font-size:0.76rem;
background:var(--home-coral);
box-shadow:0 16px 32px rgba(255,112,88,0.32);
}

.scroll-cue{
display:block;
width:34px;
height:34px;
border-radius:50%;
margin:22px auto 0;
box-shadow:inset 0 0 0 1px rgba(255,255,255,0.4);
position:relative;
}

.scroll-cue::before{
content:"";
position:absolute;
width:6px;
height:6px;
border-right:2px solid white;
border-bottom:2px solid white;
transform:rotate(45deg);
left:13px;
top:11px;
}

.stats-band{
background:var(--home-navy);
color:white;
padding:42px 0 46px;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:36px;
}

.stat-item{
display:flex;
flex-direction:column;
align-items:flex-start;
}

.stat-icon{
width:28px;
height:28px;
display:grid;
place-items:center;
border-radius:8px;
background:rgba(255,167,38,0.1);
color:#e8a02f;
font-weight:900;
font-size:0.85rem;
margin-bottom:18px;
}

.stat-item strong{
font-size:2rem;
line-height:1;
font-weight:900;
}

.stat-item small{
font-size:0.78rem;
color:rgba(255,255,255,0.62);
font-weight:700;
}

.journey-section,
.mission-section{
background:white;
padding:96px 0;
}

.mission-section{
padding-top:90px;
padding-bottom:90px;
}

.section-heading{
max-width:720px;
}

.section-heading.centered{
text-align:center;
margin:0 auto;
}

.eyebrow{
padding:6px 13px;
background:#f5f1ee;
color:#a7a0a0;
font-size:0.66rem;
}

.section-heading h2,
.mission-copy h2,
.cta-content h2{
font-size:clamp(2.2rem,4vw,3.25rem);
line-height:1.04;
font-weight:900;
letter-spacing:0;
color:var(--home-ink);
margin:14px 0 10px;
}

.section-heading p,
.mission-copy p{
color:var(--home-muted);
font-weight:600;
}

.journey-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
margin-top:62px;
}

.journey-card,
.roadmap-card,
.story-card{
background:white;
border-radius:8px;
box-shadow:0 18px 40px rgba(54,39,31,0.05);
}

.journey-card{
min-height:224px;
padding:28px 28px 26px;
position:relative;
background:#fff8f4;
}

.journey-card strong{
position:absolute;
top:22px;
right:22px;
font-size:2.15rem;
line-height:1;
color:rgba(37,38,58,0.06);
font-weight:900;
}

.journey-icon{
width:34px;
height:34px;
border-radius:8px;
display:grid;
place-items:center;
background:white;
color:var(--home-coral);
font-weight:900;
margin-bottom:34px;
}

.journey-card h3,
.roadmap-card h3{
font-size:1rem;
color:var(--home-ink);
margin-bottom:9px;
}

.journey-card p,
.roadmap-card p,
.story-card p{
font-size:0.82rem;
color:#686a80;
font-weight:600;
}

.program-preview,
.success-section{
background:var(--home-cream);
padding:96px 0;
}

.program-preview{
background:#fff7f1;
}

.success-section{
background:white;
}

.section-row{
display:flex;
justify-content:space-between;
gap:24px;
align-items:flex-end;
margin-bottom:34px;
}

.section-link{
color:var(--home-coral);
font-size:0.8rem;
font-weight:900;
white-space:nowrap;
}

.section-link::after{
content:" +";
}

.inline-link{
display:inline-flex;
margin-top:18px;
}

.roadmap-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:22px;
}

.roadmap-card{
min-height:190px;
padding:26px;
position:relative;
color:inherit;
}

.roadmap-card small{
position:absolute;
right:22px;
top:24px;
font-size:0.66rem;
font-weight:900;
color:#a9a0a0;
}

.roadmap-icon{
width:42px;
height:42px;
display:grid;
place-items:center;
border-radius:10px;
color:white;
font-weight:900;
font-size:0.82rem;
margin-bottom:18px;
}

.roadmap-icon.coral{background:#ff7058;}
.roadmap-icon.green{background:#2f7757;}
.roadmap-icon.gold{background:#f2a722;}
.roadmap-icon.navy{background:#18192f;}
.roadmap-icon.rose{background:#ec6b75;}
.roadmap-icon.blue{background:#4e94dd;}

.roadmap-card b{
display:inline-flex;
margin-top:14px;
color:var(--home-coral);
font-size:0.78rem;
}

.roadmap-card b::after{
content:" +";
}

.story-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:22px;
margin-top:58px;
}

.story-card{
padding:28px 26px;
min-height:316px;
display:flex;
flex-direction:column;
}

.quote-mark{
width:28px;
height:28px;
display:grid;
place-items:center;
border-radius:50%;
background:#fff3df;
color:#f2a722;
font-size:1.4rem;
font-family:Georgia,serif;
font-weight:900;
margin-bottom:18px;
}

.story-card p{
color:#3d4054;
font-size:0.82rem;
line-height:1.55;
}

.story-tag{
display:inline-flex;
align-self:flex-start;
margin:18px 0;
padding:7px 11px;
border-radius:999px;
background:#e5f4ec;
color:#2f7757;
font-size:0.68rem;
font-weight:900;
}

.green-tag{
background:#e7f5e8;
color:#2f7757;
}

.blue-tag{
background:#e9f1ff;
color:#356eb5;
}

.student-line{
display:flex;
align-items:center;
gap:11px;
margin-top:auto;
}

.student-line span{
width:34px;
height:34px;
border-radius:50%;
display:grid;
place-items:center;
background:#f4c08f;
color:#2f2530;
font-size:0.82rem;
font-weight:900;
}

.student-line b,
.student-line small{
display:block;
line-height:1.25;
}

.student-line b{
font-size:0.82rem;
color:var(--home-ink);
}

.student-line small{
font-size:0.66rem;
color:#8c8a99;
font-weight:700;
}

.impact-row{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:22px;
border-top:1px solid var(--home-line);
margin-top:54px;
padding-top:30px;
text-align:center;
}

.impact-row strong{
display:block;
font-size:1.65rem;
line-height:1;
font-weight:900;
}

.impact-row span{
display:block;
margin-top:8px;
font-size:0.78rem;
color:#707187;
font-weight:700;
}

.community-section{
background:var(--home-cream);
padding:96px 0;
}

.community-join-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:22px;
margin-top:54px;
}

.community-join-card{
display:flex;
flex-direction:column;
align-items:flex-start;
min-height:280px;
padding:30px;
background:white;
border-radius:8px;
box-shadow:0 18px 40px rgba(54,39,31,0.05);
border-top:5px solid var(--home-coral);
}

.community-join-card span{
width:42px;
height:42px;
display:grid;
place-items:center;
border-radius:10px;
background:#fff3df;
color:#f2a722;
font-weight:900;
margin-bottom:22px;
}

.community-join-card h3{
font-size:1.08rem;
color:var(--home-ink);
margin-bottom:10px;
}

.community-join-card p{
color:#686a80;
font-size:0.84rem;
font-weight:600;
line-height:1.6;
margin-bottom:24px;
}

.community-join-card .home-btn{
width:100%;
margin-top:auto;
}

.mission-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
}

.mission-copy h2{
max-width:560px;
}

.mission-copy p{
max-width:620px;
margin-bottom:18px;
}

.mission-tags{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:26px;
}

.mission-tags span{
padding:9px 13px;
border-radius:999px;
background:#f7efe9;
font-size:0.72rem;
font-weight:800;
color:#827169;
}

.testimonial-panel{
background:var(--home-green);
color:white;
border-radius:14px;
padding:36px;
box-shadow:0 26px 60px rgba(47,119,87,0.18);
position:relative;
}

.testimonial-panel::after{
content:"•••";
position:absolute;
right:24px;
top:18px;
color:rgba(255,255,255,0.34);
letter-spacing:5px;
}

.testimonial-panel > span{
display:block;
font-size:0.68rem;
font-weight:900;
text-transform:uppercase;
color:rgba(255,255,255,0.56);
margin-bottom:16px;
}

.testimonial-panel h3{
font-size:1.45rem;
line-height:1.22;
margin-bottom:24px;
}

.student-line.light span{
background:rgba(255,255,255,0.18);
color:white;
}

.student-line.light b,
.student-line.light small{
color:white;
}

.student-line.light small{
opacity:0.66;
}

.cta-section{
min-height:380px;
display:grid;
place-items:center;
position:relative;
overflow:hidden;
text-align:center;
padding:78px 20px;
background:
linear-gradient(110deg,rgba(172,125,47,0.86),rgba(151,52,39,0.9)),
url("../ASSETS/images/program-beyond-lecture.png");
background-size:cover;
background-position:center;
}

.cta-section::after{
content:"";
position:absolute;
inset:0;
background:
radial-gradient(circle at 12% 24%,rgba(255,224,124,0.22) 0 2px,transparent 3px),
radial-gradient(circle at 82% 34%,rgba(255,224,124,0.22) 0 2px,transparent 3px),
radial-gradient(circle at 70% 76%,rgba(255,224,124,0.18) 0 3px,transparent 4px);
background-size:160px 160px,220px 220px,190px 190px;
}

.cta-wave{
position:absolute;
inset:-20% -8%;
background:
radial-gradient(70% 90% at 12% 52%,rgba(184,145,57,0.85) 0 39%,transparent 40%),
radial-gradient(80% 90% at 72% 56%,rgba(128,23,37,0.78) 0 42%,transparent 43%);
opacity:0.95;
}

.cta-content{
position:relative;
z-index:1;
color:white;
}

.cta-content h2{
color:white;
text-transform:uppercase;
font-size:clamp(2.6rem,5vw,4.15rem);
}

.cta-content p{
max-width:570px;
margin:14px auto 28px;
color:rgba(255,255,255,0.76);
font-weight:600;
}

.cta-btn{
background:var(--home-navy);
color:white;
box-shadow:0 16px 34px rgba(0,0,0,0.2);
}

.cta-btn::before{
content:"↗";
display:grid;
place-items:center;
width:24px;
height:24px;
border-radius:50%;
background:var(--home-coral);
margin-right:10px;
}

.home-footer-nav{
min-height:56px;
padding:0 24px;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
background:white;
box-shadow:0 1px 0 rgba(0,0,0,0.06),0 10px 30px rgba(34,28,25,0.08);
position:sticky;
top:0;
z-index:50;
}

.mini-brand{
display:inline-flex;
align-items:center;
gap:9px;
color:var(--home-ink);
font-weight:900;
font-size:0.78rem;
white-space:nowrap;
}

.mini-brand img{
width:27px;
height:27px;
border-radius:7px;
object-fit:cover;
}

.home-nav-links{
display:flex;
align-items:center;
gap:18px;
list-style:none;
}

.home-nav-links a{
color:#38394b;
font-size:0.74rem;
font-weight:800;
}

.home-nav-links a.active{
color:var(--home-coral);
}

.home-nav-links .nav-cta{
display:inline-flex;
align-items:center;
min-height:32px;
padding:0 14px;
border-radius:999px;
background:var(--home-navy);
color:white;
}

.menu-toggle{
display:none;
border:0;
background:var(--home-navy);
color:white;
width:38px;
height:34px;
border-radius:8px;
font-weight:900;
}

.home-footer{
margin-top:0;
padding:24px 0 0;
background:#fff8f2;
color:var(--home-ink);
text-align:left;
}

.newsletter{
display:grid;
grid-template-columns:1fr auto;
gap:28px;
align-items:center;
background:var(--home-navy);
border-radius:10px;
padding:32px 36px;
color:white;
}

.newsletter h2{
font-size:1.45rem;
margin-bottom:8px;
}

.newsletter p{
max-width:600px;
color:rgba(255,255,255,0.67);
font-size:0.85rem;
font-weight:600;
}

.newsletter form{
display:grid;
grid-template-columns:minmax(220px,1fr) auto;
gap:10px 12px;
align-items:center;
}

.newsletter-consent{
grid-column:1 / -1;
display:flex;
align-items:flex-start;
gap:9px;
max-width:520px;
font-size:0.72rem;
line-height:1.5;
color:#d6dce5;
cursor:pointer;
}

.newsletter-consent input{
width:16px!important;
height:16px;
margin:2px 0 0;
flex:0 0 auto;
accent-color:#f2b632;
}

.newsletter-feedback{
grid-column:1 / -1;
margin:0!important;
font-size:0.76rem!important;
line-height:1.5!important;
color:#d6dce5!important;
}

.newsletter-feedback[data-state="success"]{color:#bce8ca!important}
.newsletter-feedback[data-state="error"]{color:#ffd2d2!important}
.newsletter form button:disabled{opacity:.68;cursor:wait;transform:none!important}

.newsletter input{
width:min(300px,42vw);
height:43px;
border:0;
border-radius:8px;
background:rgba(255,255,255,0.09);
color:white;
padding:0 16px;
font-weight:700;
outline:none;
}

.newsletter input::placeholder{
color:rgba(255,255,255,0.45);
}

.newsletter button{
height:43px;
border:0;
border-radius:999px;
background:var(--home-coral);
color:white;
font-weight:900;
padding:0 20px;
}

.footer-columns{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:48px;
padding:62px 0;
}

.footer-columns h3{
font-size:0.82rem;
margin-bottom:20px;
}

.footer-columns a{
display:block;
color:#6f7082;
font-size:0.78rem;
font-weight:700;
margin-bottom:13px;
}

.footer-bottom{
border-top:1px solid var(--home-line);
display:grid;
grid-template-columns:1fr auto 1fr;
align-items:center;
gap:20px;
padding:28px 0;
}

.footer-bottom p{
font-size:0.74rem;
color:#8d8d9d;
font-weight:700;
}

.socials{
display:flex;
justify-content:flex-end;
gap:12px;
}

.socials a{
width:30px;
height:30px;
display:grid;
place-items:center;
border-radius:50%;
background:white;
color:#9b9cad;
font-size:0.72rem;
font-weight:900;
box-shadow:0 8px 20px rgba(31,24,22,0.06);
}

.socials a:last-child{
background:var(--home-navy);
color:white;
}

/* Show short labels inside empty social anchors for visibility */
.socials a[aria-label="X"]:empty::after,
.socials a[aria-label="x"]:empty::after{
   content:"X";
}
.socials a[aria-label="LinkedIn"]:empty::after{
   content:"in";
}
.socials a[aria-label="Instagram"]:empty::after{
   content:"ig";
}
.socials a[aria-label="Facebook"]:empty::after{
   content:"fb";
}
.socials a[aria-label="TikTok"]:empty::after{
   content:"tt";
}
.socials a:empty::after{
   font-size:0.72rem;
   font-weight:900;
   color:inherit;
}

.sr-only{
position:absolute;
width:1px;
height:1px;
padding:0;
margin:-1px;
overflow:hidden;
clip:rect(0,0,0,0);
white-space:nowrap;
border:0;
}

/* EVENTS PAGE */

.events-page{
background:#fff8f2;
}

.events-hero{
background:
radial-gradient(circle at 78% 28%,rgba(255,102,79,0.16),transparent 34%),
linear-gradient(135deg,#17182d 0%,#201d35 100%);
color:white;
padding:86px 0 92px;
text-align:center;
}

.events-hero-copy{
display:flex;
flex-direction:column;
align-items:center;
}

.events-pill{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:27px;
padding:0 18px;
border-radius:999px;
background:rgba(255,255,255,0.1);
color:#f7b43b;
font-size:0.72rem;
font-weight:900;
text-transform:uppercase;
letter-spacing:0;
}

.events-hero h1{
font-size:clamp(2.35rem,6vw,4.8rem);
line-height:1.02;
margin:28px 0 22px;
font-weight:900;
}

.events-hero p{
max-width:760px;
color:rgba(255,255,255,0.62);
font-size:1.08rem;
font-weight:700;
}

.events-hero-actions{
display:flex;
gap:14px;
margin-top:30px;
flex-wrap:wrap;
justify-content:center;
}

.events-hero-actions a{
display:inline-flex;
align-items:center;
justify-content:center;
height:44px;
padding:0 20px;
border-radius:999px;
background:var(--home-coral);
color:white;
font-weight:900;
font-size:0.82rem;
}

.events-hero-actions a:last-child{
background:rgba(255,255,255,0.1);
box-shadow:inset 0 0 0 1px rgba(255,255,255,0.24);
}

.featured-events-section{
background:white;
padding:48px 0 54px;
}

.events-mini-heading{
display:flex;
align-items:center;
gap:10px;
font-size:0.9rem;
font-weight:900;
color:#56586c;
margin-bottom:24px;
}

.events-mini-heading span{
width:8px;
height:8px;
border-radius:50%;
background:var(--home-coral);
}

.featured-events-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
}

.featured-event-card{
background:#fff8f4;
border-radius:8px;
padding:24px;
min-height:178px;
box-shadow:0 1px 0 rgba(31,24,22,0.03);
}

.featured-event-card div,
.event-tags{
display:flex;
align-items:center;
gap:9px;
flex-wrap:wrap;
}

.featured-event-card b,
.event-tags span{
display:inline-flex;
align-items:center;
min-height:22px;
padding:0 9px;
border-radius:4px;
background:#fff0eb;
color:var(--home-coral);
font-size:0.72rem;
font-weight:900;
}

.featured-event-card small{
color:#77798e;
font-weight:800;
font-size:0.72rem;
}

.featured-event-card h3{
font-size:1.05rem;
line-height:1.35;
margin:18px 0 10px;
color:var(--home-ink);
}

.featured-event-card p{
color:#686b82;
font-size:0.82rem;
font-weight:600;
}

.featured-event-card footer{
display:flex;
gap:20px;
margin-top:18px;
color:#77798e;
font-size:0.78rem;
font-weight:800;
}

.event-tools-section{
background:white;
border-top:1px solid var(--home-line);
border-bottom:1px solid var(--home-line);
padding:28px 0;
}

.events-tools{
display:flex;
align-items:center;
gap:18px;
flex-wrap:wrap;
}

.event-search{
height:46px;
width:min(330px,100%);
display:flex;
align-items:center;
gap:10px;
padding:0 16px;
background:#fff8f4;
border-radius:9px;
color:#7a7c90;
}

.event-search input{
width:100%;
border:0;
outline:0;
background:transparent;
font-weight:700;
color:var(--home-ink);
}

.event-search input::placeholder{
color:#a2a3b2;
}

.event-filters{
display:flex;
gap:12px;
flex-wrap:wrap;
}

.event-filters button{
height:42px;
border:0;
border-radius:999px;
padding:0 18px;
background:#fff8f4;
color:#707287;
font-weight:900;
cursor:pointer;
}

.event-filters button.active{
background:var(--home-coral);
color:white;
}

.events-list-section{
padding:70px 0;
}

.events-layout{
display:grid;
grid-template-columns:minmax(0,1fr) 360px;
gap:28px;
align-items:start;
}

.events-list{
display:grid;
gap:22px;
}

.event-row{
display:grid;
grid-template-columns:66px minmax(0,1fr) auto;
gap:28px;
align-items:center;
background:white;
border-radius:10px;
padding:26px 28px;
box-shadow:0 18px 45px rgba(31,24,22,0.04);
animation:eventFade 0.35s ease both;
animation-delay:var(--delay);
}

@keyframes eventFade{
from{opacity:0;transform:translateY(10px);}
to{opacity:1;transform:translateY(0);}
}

.event-date{
width:58px;
height:68px;
border-radius:10px;
background:#fff8f4;
display:grid;
place-items:center;
align-content:center;
}

.event-date span{
color:var(--home-coral);
font-size:0.66rem;
font-weight:900;
text-transform:uppercase;
}

.event-date strong{
font-size:1.5rem;
line-height:1;
color:var(--home-ink);
}

.event-main h3{
font-size:1.16rem;
line-height:1.32;
margin:9px 0 8px;
color:var(--home-ink);
}

.event-main p{
color:#676a82;
font-size:0.9rem;
font-weight:600;
}

.event-main small{
display:block;
margin-top:12px;
color:#6f7082;
font-size:0.74rem;
font-weight:800;
}

.event-main footer{
display:flex;
gap:18px;
flex-wrap:wrap;
margin-top:12px;
color:#74768d;
font-size:0.78rem;
font-weight:800;
}

.event-register{
display:inline-flex;
align-items:center;
justify-content:center;
height:45px;
padding:0 22px;
border-radius:999px;
background:var(--home-navy);
color:white;
font-size:0.82rem;
font-weight:900;
}

.event-flyer{
width:100%;
max-height:210px;
object-fit:cover;
border-radius:8px;
margin-bottom:15px;
}

.post-event-panel{
position:sticky;
top:78px;
background:white;
border-radius:10px;
padding:26px;
box-shadow:0 18px 45px rgba(31,24,22,0.06);
}

.post-event-panel h2{
font-size:1.4rem;
line-height:1.2;
margin:16px 0 18px;
color:var(--home-ink);
}

.post-event-panel form{
display:grid;
gap:13px;
}

.post-event-panel label{
display:grid;
gap:7px;
color:#55576b;
font-size:0.72rem;
font-weight:900;
text-transform:uppercase;
}

.post-event-panel input,
.post-event-panel select,
.post-event-panel textarea{
width:100%;
border:1px solid #ece5df;
border-radius:8px;
background:#fffaf6;
padding:12px 13px;
color:var(--home-ink);
font:inherit;
font-size:0.82rem;
font-weight:700;
outline:none;
}

.post-event-panel textarea{
resize:vertical;
min-height:104px;
}

.form-two{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
}

.post-event-panel button{
height:46px;
border:0;
border-radius:999px;
background:var(--home-coral);
color:white;
font-weight:900;
cursor:pointer;
}

.events-empty{
background:white;
border-radius:10px;
padding:28px;
font-weight:800;
color:#717388;
}

/* Firebase production states for Events */
.events-loading,.events-empty-state{display:grid;justify-items:center;gap:12px;padding:44px 28px;border:1px solid #ece5df;border-radius:14px;background:#fff;text-align:center;box-shadow:0 18px 45px rgba(31,24,22,.05)}
.events-layout.is-public-view{grid-template-columns:1fr}
.events-loading{grid-template-columns:auto auto;justify-content:center;align-items:center;min-height:140px;color:#55576b}
.events-spinner{width:24px;height:24px;border:3px solid #f4dfbd;border-top-color:#f2a722;border-radius:50%;animation:eventsSpin .8s linear infinite}
@keyframes eventsSpin{to{transform:rotate(360deg)}}
.events-empty-state h3{margin:2px 0 0;color:var(--home-ink);font-size:1.2rem}
.events-empty-state p{max-width:520px;margin:0;color:#6b6e80}
.events-empty-state button{min-height:42px;padding:0 20px;border:0;border-radius:999px;background:var(--home-navy);color:#fff;font-weight:800;cursor:pointer}
.events-empty-state.is-error{border-color:#fecaca;background:#fffafa}
.events-empty-illustration{display:grid;place-items:center;gap:2px;width:82px;height:82px;border-radius:24px;background:#fff4d8;color:#c87900;font-size:2rem;font-weight:900;transform:rotate(-3deg)}
.events-empty-illustration b{font-size:.55rem;letter-spacing:.12em}
.featured-event-flyer{width:100%;height:150px;margin-bottom:16px;border-radius:10px;object-fit:cover}
.event-admin-actions{display:flex;gap:8px;margin-top:14px}
.event-admin-actions button{min-height:34px;padding:0 14px;border:1px solid #dbe2eb;border-radius:999px;background:#fff;color:var(--home-navy);font-weight:800;cursor:pointer}
.event-admin-actions button.danger{border-color:#fecaca;color:#b42318;background:#fff7f7}
.event-upload-progress{display:grid;gap:7px;padding:12px;border-radius:10px;background:#fff8ea;color:#6b520e;font-size:.75rem;font-weight:800}
.event-upload-progress progress{width:100%;height:8px;accent-color:#f2a722}
.event-form-actions{display:grid;grid-template-columns:1fr auto;gap:9px}
.event-form-actions #eventCancelEdit{padding:0 18px;background:#eef2f6;color:var(--home-navy)}
.event-form-status{min-height:20px;margin:0;font-size:.78rem;font-weight:700;line-height:1.5;text-transform:none}
.event-form-status.is-success{color:#15803d}
.event-form-status.is-error{color:#b42318}
.event-form-status.is-info{color:#315a82}
.post-event-panel button:disabled{opacity:.62;cursor:wait}
@media(prefers-reduced-motion:reduce){.events-spinner{animation:none}}

/* OPPORTUNITIES PAGE */

.opportunities-page{
background:#fff8f2;
}

.opportunities-hero{
background:
radial-gradient(circle at 73% 18%,rgba(255,112,88,0.12),transparent 34%),
linear-gradient(135deg,#17182d 0%,#211d33 100%);
color:white;
padding:82px 0 86px;
text-align:center;
}

.opportunity-pill{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:26px;
padding:0 17px;
border-radius:999px;
background:rgba(255,255,255,0.1);
color:#f2aa26;
font-size:0.7rem;
font-weight:900;
text-transform:uppercase;
}

.opportunities-hero h1{
font-size:clamp(2.4rem,5vw,4.15rem);
line-height:1.08;
margin:24px 0 16px;
font-weight:900;
}

.opportunities-hero p{
max-width:680px;
margin:0 auto;
color:rgba(255,255,255,0.58);
font-size:0.98rem;
font-weight:700;
}

.featured-opportunities-section{
background:white;
padding:42px 0 54px;
}

.featured-opportunity-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:18px;
}

.featured-opportunity-grid article{
background:#fff8f4;
border-radius:8px;
padding:20px;
min-height:128px;
}

.featured-opportunity-grid div{
display:flex;
gap:10px;
align-items:center;
flex-wrap:wrap;
margin-bottom:12px;
}

.featured-opportunity-grid b,
.opportunity-meta span{
display:inline-flex;
align-items:center;
min-height:20px;
padding:0 8px;
border-radius:4px;
background:#fff0eb;
color:var(--home-coral);
font-size:0.65rem;
font-weight:900;
}

.featured-opportunity-grid small,
.opportunity-meta small{
color:#74768b;
font-size:0.68rem;
font-weight:800;
}

.featured-opportunity-grid h3{
font-size:0.9rem;
line-height:1.25;
color:var(--home-ink);
margin-bottom:4px;
}

.featured-opportunity-grid p{
color:#686a80;
font-size:0.72rem;
font-weight:700;
}

.featured-opportunity-grid > article > span{
display:block;
margin-top:10px;
color:#7e8196;
font-size:0.68rem;
font-weight:800;
}

.opportunity-tools-section{
background:white;
border-top:1px solid var(--home-line);
border-bottom:1px solid var(--home-line);
padding:28px 0;
}

.opportunities-tools{
display:flex;
align-items:center;
gap:18px;
flex-wrap:wrap;
}

.opportunity-list-section{
padding:58px 0 72px;
}

.opportunity-list{
display:grid;
gap:20px;
}

.opportunity-row{
display:grid;
grid-template-columns:42px minmax(0,1fr) auto;
gap:24px;
align-items:start;
background:white;
border-radius:10px;
padding:26px;
box-shadow:0 16px 42px rgba(31,24,22,0.04);
}

.opportunity-icon{
width:34px;
height:34px;
border-radius:8px;
display:grid;
place-items:center;
background:#fff8f4;
color:#797a8f;
font-weight:900;
}

.opportunity-meta{
display:flex;
gap:10px;
align-items:center;
flex-wrap:wrap;
margin-bottom:8px;
}

.opportunity-info h3{
font-size:1.02rem;
line-height:1.25;
color:var(--home-ink);
margin-bottom:4px;
}

.opportunity-org{
color:#5b5d73;
font-size:0.78rem;
font-weight:800;
margin-bottom:8px;
}

.opportunity-info p:not(.opportunity-org){
color:#676a82;
font-size:0.82rem;
font-weight:600;
}

.opportunity-tags,
.opportunity-programs{
display:flex;
gap:8px;
flex-wrap:wrap;
margin-top:12px;
}

.opportunity-tags span,
.opportunity-programs span{
display:inline-flex;
align-items:center;
min-height:22px;
padding:0 8px;
border-radius:4px;
background:#fff8f4;
color:#6f7082;
font-size:0.66rem;
font-weight:900;
}

.opportunity-programs{
margin-top:8px;
}

.opportunity-programs span{
background:white;
box-shadow:inset 0 0 0 1px #f0e7df;
}

.opportunity-action{
display:grid;
justify-items:end;
gap:12px;
}

.opportunity-action small{
color:var(--home-coral);
font-size:0.68rem;
font-weight:900;
}

.opportunity-action a{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:34px;
padding:0 16px;
border-radius:999px;
background:var(--home-navy);
color:white;
font-size:0.72rem;
font-weight:900;
}

.opportunity-action a::after{
content:" +";
margin-left:6px;
}

/* SCHOLARSHIPS PAGE */

.scholarships-page{
background:#fff8f2;
}

.scholarships-hero{
background:
radial-gradient(circle at 72% 20%,rgba(47,119,87,0.16),transparent 34%),
linear-gradient(135deg,#17182d 0%,#211d33 100%);
color:white;
padding:82px 0 86px;
text-align:center;
}

.scholarships-hero h1{
font-size:clamp(2.4rem,5vw,4.15rem);
line-height:1.08;
margin:24px 0 16px;
font-weight:900;
}

.scholarships-hero p{
max-width:720px;
margin:0 auto;
color:rgba(255,255,255,0.6);
font-size:0.98rem;
font-weight:700;
}

.scholarship-alert-section{
background:white;
padding:26px 0;
border-bottom:1px solid var(--home-line);
}

.scholarship-alert{
display:flex;
align-items:center;
gap:18px;
background:#fff8f4;
border-left:4px solid var(--home-coral);
border-radius:8px;
padding:18px 20px;
}

.scholarship-alert strong{
white-space:nowrap;
color:var(--home-ink);
font-weight:900;
}

.scholarship-alert p{
color:#676a82;
font-size:0.85rem;
font-weight:700;
}

.scholarship-tools-section{
background:white;
border-bottom:1px solid var(--home-line);
padding:28px 0;
}

.scholarship-tools{
display:flex;
align-items:center;
gap:18px;
flex-wrap:wrap;
}

.scholarship-main-section{
padding:58px 0 76px;
}

.scholarship-layout{
display:grid;
grid-template-columns:minmax(0,1fr) 360px;
gap:28px;
align-items:start;
}

.scholarship-list{
display:grid;
gap:20px;
}

.scholarship-card{
background:white;
border-radius:10px;
padding:26px;
box-shadow:0 16px 42px rgba(31,24,22,0.05);
}

.scholarship-card-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:20px;
margin-bottom:15px;
}

.scholarship-card-head span{
display:inline-flex;
align-items:center;
min-height:22px;
padding:0 9px;
border-radius:4px;
background:#eaf3ee;
color:#2f7757;
font-size:0.68rem;
font-weight:900;
margin-bottom:10px;
}

.scholarship-card h3{
color:var(--home-ink);
font-size:1.12rem;
line-height:1.3;
margin-bottom:4px;
}

.scholarship-card-head p{
color:#6f7188;
font-size:0.8rem;
font-weight:800;
}

.scholarship-card-head b{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:30px;
padding:0 12px;
border-radius:999px;
background:#fff8f4;
color:var(--home-coral);
font-size:0.68rem;
font-weight:900;
white-space:nowrap;
}

.scholarship-card > p{
color:#5f6278;
font-size:0.9rem;
font-weight:600;
line-height:1.7;
}

.scholarship-tags{
display:flex;
gap:8px;
flex-wrap:wrap;
margin-top:17px;
padding-top:17px;
border-top:1px solid #f0e7df;
}

.scholarship-tags span{
display:inline-flex;
align-items:center;
min-height:23px;
padding:0 8px;
border-radius:4px;
background:#fff8f4;
color:#6f7082;
font-size:0.68rem;
font-weight:900;
}

.scholarship-card footer{
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
margin-top:20px;
}

.scholarship-card footer small{
color:#8a8ca0;
font-size:0.72rem;
font-weight:900;
}

.scholarship-card footer a,
.scholarship-guide a{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:38px;
padding:0 17px;
border-radius:999px;
background:var(--home-navy);
color:white;
font-size:0.76rem;
font-weight:900;
}

.scholarship-card footer a::after,
.scholarship-guide a::after{
content:" \2197";
margin-left:7px;
}

.scholarship-guide{
position:sticky;
top:78px;
background:white;
border-radius:10px;
padding:26px;
box-shadow:0 16px 42px rgba(31,24,22,0.06);
}

.scholarship-guide h2{
font-size:1.45rem;
line-height:1.2;
margin:16px 0;
color:var(--home-ink);
}

.scholarship-guide ul{
display:grid;
gap:12px;
margin:0 0 22px;
padding:0;
list-style:none;
}

.scholarship-guide li{
position:relative;
padding-left:22px;
color:#626479;
font-size:0.84rem;
font-weight:700;
}

.scholarship-guide li::before{
content:"";
position:absolute;
left:0;
top:0.58em;
width:8px;
height:8px;
border-radius:50%;
background:var(--home-coral);
}

.scholarship-steps-section{
background:white;
padding:78px 0 88px;
}

.scholarship-step-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:44px;
}

.scholarship-step-grid article{
background:#fff8f4;
border-radius:10px;
padding:24px;
min-height:190px;
}

.scholarship-step-grid strong{
display:block;
color:var(--home-coral);
font-size:0.85rem;
font-weight:900;
margin-bottom:28px;
}

.scholarship-step-grid h3{
color:var(--home-ink);
font-size:1rem;
margin-bottom:10px;
}

.scholarship-step-grid p{
color:#676a82;
font-size:0.82rem;
font-weight:600;
}

/* COMMUNITY DISCUSSIONS PAGE */

.community-page{
background:#fff8f2;
}

.community-hero{
background:
radial-gradient(circle at 22% 24%,rgba(255,112,88,0.11),transparent 34%),
radial-gradient(circle at 78% 16%,rgba(47,119,87,0.09),transparent 34%),
linear-gradient(135deg,#17182d 0%,#211d33 100%);
color:white;
padding:92px 0 104px;
text-align:center;
}

.community-hero h1{
font-size:clamp(2.6rem,6vw,4.7rem);
line-height:1.05;
margin:24px 0 18px;
font-weight:900;
}

.community-hero p{
max-width:700px;
margin:0 auto;
color:rgba(255,255,255,0.62);
font-size:1.04rem;
font-weight:700;
}

.community-tools-section{
background:white;
border-bottom:1px solid var(--home-line);
padding:30px 0;
}

.community-tools{
display:flex;
align-items:center;
gap:18px;
flex-wrap:wrap;
}

.community-filters{
display:flex;
gap:11px;
flex-wrap:wrap;
}

.community-filters button{
height:39px;
border:0;
border-radius:999px;
padding:0 16px;
background:#fff8f4;
color:#707287;
font-weight:900;
cursor:pointer;
}

.community-filters button.active{
background:var(--home-coral);
color:white;
}

.academic-communities-section{
background:#f4f8fc;
padding:64px 0 78px;
}

.academic-community-head{
max-width:900px;
margin:0 auto 42px;
text-align:center;
}

.academic-community-head h2{
color:#102845;
font-size:clamp(2.4rem,5vw,4.3rem);
line-height:1.05;
font-weight:900;
text-transform:uppercase;
}

.academic-community-head p{
margin-top:22px;
color:#49566f;
font-size:1.05rem;
font-weight:600;
}

.create-group-button{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
height:50px;
margin-top:24px;
border:0;
border-radius:999px;
background:var(--home-coral);
color:white;
font-weight:900;
padding:0 24px;
box-shadow:0 14px 30px rgba(255,105,85,0.2);
cursor:pointer;
}

.create-group-button::before{
content:"+";
width:22px;
height:22px;
border-radius:50%;
display:grid;
place-items:center;
background:rgba(255,255,255,0.2);
font-size:1.05rem;
line-height:1;
}

.academic-community-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:24px;
}

.academic-community-card{
background:white;
border-radius:0 0 18px 18px;
border-top:4px solid #195b93;
padding:30px;
min-height:250px;
display:flex;
flex-direction:column;
align-items:flex-start;
box-shadow:0 18px 48px rgba(16,40,69,0.08);
}

.academic-community-card h3{
color:#102845;
font-size:1.25rem;
line-height:1.25;
margin-bottom:16px;
}

.academic-community-card p{
color:#49566f;
font-size:1rem;
font-weight:600;
line-height:1.7;
margin-bottom:16px;
}

.academic-community-card strong{
display:block;
color:#102845;
font-size:0.96rem;
line-height:1.45;
font-weight:900;
margin-bottom:22px;
}

.group-card-profile{
width:100%;
display:grid;
grid-template-columns:52px minmax(0,1fr);
align-items:center;
gap:14px;
height:auto;
border:0;
border-radius:0;
background:transparent;
color:inherit;
padding:0;
margin-bottom:18px;
text-align:left;
cursor:pointer;
}

.group-card-profile b{
display:block;
color:#102845;
font-size:1.25rem;
line-height:1.2;
}

.group-card-profile small{
display:block;
margin-top:4px;
color:var(--home-coral);
font-size:0.74rem;
font-weight:900;
}

.group-avatar,
.group-list-avatar,
#groupChatAvatar{
width:52px;
height:52px;
border-radius:50%;
display:grid;
place-items:center;
overflow:hidden;
background:#fff1eb;
color:var(--home-coral);
font-weight:900;
font-size:0.82rem;
flex:0 0 auto;
}

.group-avatar img,
.group-list-avatar img,
#groupChatAvatar img{
width:100%;
height:100%;
object-fit:cover;
}

.academic-card-actions{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:auto;
}

.academic-community-card button{
height:48px;
border:0;
border-radius:999px;
background:#082442;
color:white;
font-weight:900;
padding:0 22px;
cursor:pointer;
}

.academic-community-card .leave-group-button{
background:white;
color:#102845;
box-shadow:inset 0 0 0 1px #dbe3ea;
}

.academic-community-card.joined{
border-color:var(--home-coral);
}

.academic-community-card.joined button{
background:var(--home-coral);
}

.academic-community-card .group-card-profile{
height:auto;
border-radius:0;
background:transparent;
color:inherit;
box-shadow:none;
padding:0;
}

.discussion-section{
padding:64px 0 72px;
}

.discussion-list{
display:grid;
gap:22px;
}

.discussion-card{
display:grid;
grid-template-columns:48px minmax(0,1fr);
gap:18px;
background:white;
border-radius:14px;
padding:28px 30px;
box-shadow:0 18px 48px rgba(31,24,22,0.04);
}

.discussion-avatar{
width:38px;
height:38px;
border-radius:50%;
display:grid;
place-items:center;
background:#fff1eb;
color:var(--home-coral);
font-size:0.78rem;
font-weight:900;
}

.discussion-meta{
display:flex;
align-items:center;
gap:9px;
flex-wrap:wrap;
margin-bottom:4px;
}

.discussion-meta strong{
color:var(--home-ink);
font-size:0.84rem;
font-weight:900;
}

.discussion-meta span,
.discussion-meta small{
color:#77798d;
font-size:0.74rem;
font-weight:800;
}

.discussion-meta b{
display:inline-flex;
align-items:center;
min-height:21px;
padding:0 8px;
border-radius:4px;
background:#fff0eb;
color:var(--home-coral);
font-size:0.68rem;
font-weight:900;
}

.discussion-main h3{
color:var(--home-ink);
font-size:1.08rem;
line-height:1.35;
margin-bottom:8px;
}

.discussion-main > p{
color:#686b82;
font-size:0.9rem;
font-weight:700;
line-height:1.7;
}

.discussion-actions{
display:flex;
gap:16px;
flex-wrap:wrap;
margin-top:15px;
}

.discussion-actions button{
border:0;
background:transparent;
color:#6f7188;
font-size:0.78rem;
font-weight:900;
cursor:pointer;
padding:0;
}

.discussion-actions button:hover{
color:var(--home-coral);
}

.reply-panel{
margin-top:22px;
border-top:1px solid #f0e7df;
padding-top:18px;
}

.reply-list{
display:grid;
gap:12px;
margin-bottom:14px;
}

.reply-item{
background:#fff8f4;
border-radius:8px;
padding:14px 16px;
}

.reply-item strong{
display:block;
color:var(--home-ink);
font-size:0.8rem;
margin-bottom:5px;
}

.reply-item p{
color:#626579;
font-size:0.82rem;
font-weight:600;
}

.reply-form{
display:grid;
grid-template-columns:170px minmax(0,1fr) auto;
gap:10px;
}

.reply-form input{
height:42px;
border:1px solid #eee3db;
border-radius:8px;
background:white;
padding:0 12px;
font-weight:700;
outline:none;
}

.reply-form button,
.start-discussion-button,
.community-modal-panel form button{
height:42px;
border:0;
border-radius:999px;
background:var(--home-navy);
color:white;
font-weight:900;
padding:0 18px;
cursor:pointer;
}

.community-actions{
display:flex;
justify-content:center;
margin-top:42px;
}

.start-discussion-button::before{
content:"+";
margin-right:9px;
}

.community-modal-open{
overflow:hidden;
}

html.group-chat-active,
body.group-chat-active{
height:100%;
overflow:hidden;
overscroll-behavior:none;
touch-action:none;
}

.community-modal[hidden]{
display:none;
}

.community-modal{
position:fixed;
inset:0;
z-index:9999;
display:grid;
place-items:center;
padding:18px;
}

.community-modal-backdrop{
position:absolute;
inset:0;
background:rgba(0,0,0,0.55);
}

.community-modal-panel{
position:relative;
z-index:1;
width:min(620px,100%);
background:white;
border-radius:12px;
padding:30px;
box-shadow:0 24px 80px rgba(0,0,0,0.26);
}

.community-modal-close{
position:absolute;
top:16px;
right:16px;
width:34px;
height:34px;
border:0;
border-radius:50%;
background:#fff0eb;
color:var(--home-coral);
font-size:1.2rem;
font-weight:900;
cursor:pointer;
}

.community-modal-panel h2{
color:var(--home-ink);
font-size:1.8rem;
line-height:1.2;
margin:16px 0 18px;
}

.community-modal-panel form{
display:grid;
gap:14px;
}

.community-modal-panel label{
display:grid;
gap:7px;
color:#55576b;
font-size:0.72rem;
font-weight:900;
text-transform:uppercase;
}

.community-modal-panel input,
.community-modal-panel select,
.community-modal-panel textarea{
width:100%;
border:1px solid #ece5df;
border-radius:8px;
background:#fffaf6;
padding:12px 13px;
color:var(--home-ink);
font:inherit;
font-size:0.82rem;
font-weight:700;
outline:none;
}

.community-modal-panel textarea{
resize:vertical;
min-height:110px;
}

.group-picture-preview{
display:flex;
align-items:center;
gap:12px;
min-height:64px;
border:1px dashed #e5d8cf;
border-radius:10px;
background:#fffaf6;
padding:10px;
}

.group-picture-preview span,
.group-picture-preview img{
width:44px;
height:44px;
border-radius:50%;
display:grid;
place-items:center;
object-fit:cover;
background:#fff1eb;
color:var(--home-coral);
font-size:0.78rem;
font-weight:900;
}

.group-picture-preview p{
color:#737287;
font-size:0.78rem;
font-weight:800;
text-transform:none;
}

#groupProfileModal{
z-index:10001;
}

.group-profile-panel{
text-align:center;
}

.group-profile-photo-frame{
width:min(360px,80vw);
aspect-ratio:1;
margin:0 auto 16px;
border-radius:18px;
overflow:hidden;
display:grid;
place-items:center;
background:#fff1eb;
color:var(--home-coral);
box-shadow:inset 0 0 0 1px #f2dfd8;
}

.group-profile-photo-frame img,
.group-profile-photo-frame span{
width:100%;
height:100%;
object-fit:cover;
transition:transform 0.2s ease;
}

.group-profile-photo-frame span{
display:grid;
place-items:center;
font-size:4rem;
font-weight:900;
}

.group-profile-zoom{
display:grid;
grid-template-columns:auto minmax(120px,1fr) auto;
align-items:center;
gap:10px;
margin-bottom:18px;
}

.group-profile-zoom button,
.group-profile-actions button{
height:40px;
border:0;
border-radius:999px;
background:var(--home-navy);
color:white;
font-weight:900;
padding:0 15px;
cursor:pointer;
}

.group-profile-zoom input{
accent-color:var(--home-coral);
}

.group-profile-panel p{
color:#49566f;
font-weight:700;
line-height:1.65;
}

.group-profile-panel strong{
display:block;
margin-top:12px;
color:#102845;
}

.group-profile-actions{
margin-top:20px;
}

.group-chat-modal[hidden]{
display:none;
}

.group-chat-modal{
position:fixed;
left:0;
right:0;
top:var(--community-chat-top,0);
bottom:auto;
z-index:20000;
display:grid;
place-items:center;
padding:0;
width:100vw;
height:100vh;
height:100dvh;
height:var(--community-chat-height,100dvh);
overflow:hidden;
overscroll-behavior:none;
touch-action:none;
}

.group-chat-backdrop{
position:absolute;
inset:0;
background:rgba(0,0,0,0.58);
}

.group-chat-panel{
position:fixed;
left:0;
right:0;
top:var(--community-chat-top,0);
bottom:auto;
z-index:1;
width:100vw;
height:100vh;
height:100dvh;
height:var(--community-chat-height,100dvh);
max-width:none;
max-height:none;
background:white;
border-radius:0;
overflow:hidden;
display:grid;
grid-template-columns:340px 1fr;
box-shadow:0 28px 90px rgba(0,0,0,0.3);
}

.group-chat-sidebar{
background:#f5f8fb;
border-right:1px solid #e4eaf0;
padding:22px;
overflow:auto;
}

.group-chat-sidebar h2{
font-size:1.2rem;
color:#102845;
margin-bottom:18px;
}

#groupChatList{
display:grid;
gap:10px;
}

.group-list-row{
display:grid;
grid-template-columns:minmax(0,1fr) auto;
align-items:center;
gap:8px;
border-radius:12px;
}

.group-list-row.active{
box-shadow:inset 0 0 0 2px var(--home-coral);
}

#groupChatList button{
display:grid;
grid-template-columns:42px minmax(0,1fr);
align-items:center;
gap:12px;
border:0;
border-radius:12px;
background:white;
padding:12px;
text-align:left;
cursor:pointer;
}

#groupChatList .group-list-row > button:first-child{
min-width:0;
}

#groupChatList .group-list-profile{
display:inline-flex;
align-items:center;
justify-content:center;
grid-template-columns:1fr;
height:34px;
border-radius:999px;
background:#fff1eb;
color:var(--home-coral);
padding:0 10px;
font-size:0.68rem;
font-weight:900;
}

.group-list-avatar{
width:42px;
height:42px;
border-radius:50%;
display:grid;
place-items:center;
background:#eaf3ee;
color:#2f7757;
font-weight:900;
font-size:0.78rem;
}

#groupChatList strong{
display:block;
color:#102845;
font-size:0.84rem;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

#groupChatList small{
color:#737f91;
font-size:0.72rem;
font-weight:700;
}

.group-chat-room{
display:grid;
grid-template-rows:auto 1fr auto auto;
min-width:0;
max-width:100vw;
min-height:0;
height:100%;
overflow:hidden;
background:#fff8f2;
touch-action:auto;
}

.group-chat-header{
display:flex;
align-items:center;
gap:14px;
flex:0 0 auto;
background:white;
border-bottom:1px solid #e9e1db;
padding:14px 18px;
}

.group-chat-profile{
display:flex;
align-items:center;
gap:12px;
min-width:0;
border:0;
background:transparent;
padding:0;
text-align:left;
cursor:pointer;
}

#groupChatAvatar{
width:44px;
height:44px;
background:#fff1eb;
color:var(--home-coral);
}

.group-call-actions{
display:flex;
gap:8px;
margin-left:auto;
}

.group-call-actions button{
width:38px;
height:38px;
border:0;
border-radius:50%;
background:#eaf3ee;
color:#2f7757;
font-size:0;
font-weight:900;
padding:0;
cursor:pointer;
position:relative;
}

.group-call-actions button::before,
.voice-button::before,
.group-chat-compose button[type="submit"]::before{
font-size:1rem;
line-height:1;
}

.group-call-actions button[data-audio-call]::before{
content:"\260E";
}

.group-call-actions button[data-video-call]::before{
content:"\25B6";
}

.group-chat-header h2{
font-size:1.05rem;
color:#102845;
}

.group-chat-header p{
font-size:0.74rem;
color:#2f7757;
font-weight:800;
}

.group-chat-back,
.group-chat-close{
width:40px;
height:40px;
border:0;
border-radius:50%;
background:#fff1eb;
color:var(--home-coral);
font-weight:900;
cursor:pointer;
}

.group-chat-messages{
padding:22px;
overflow:auto;
display:flex;
flex-direction:column;
gap:12px;
min-height:0;
overscroll-behavior:contain;
-webkit-overflow-scrolling:touch;
touch-action:pan-y;
}

.chat-system-message{
align-self:center;
max-width:78%;
background:rgba(23,24,45,0.08);
color:#55576b;
border-radius:999px;
padding:8px 13px;
font-size:0.74rem;
font-weight:800;
text-align:center;
}

.chat-system-message span{
color:#85879a;
margin-left:6px;
}

.chat-bubble{
max-width:min(72%,620px);
border-radius:16px;
padding:11px 13px 8px;
box-shadow:0 10px 26px rgba(31,24,22,0.06);
overflow-wrap:anywhere;
word-break:break-word;
}

.chat-bubble.theirs{
align-self:flex-start;
background:white;
border-bottom-left-radius:4px;
}

.chat-bubble.mine{
align-self:flex-end;
background:#dcf8c6;
border-bottom-right-radius:4px;
}

.chat-bubble small{
display:block;
color:#2f7757;
font-size:0.68rem;
font-weight:900;
margin-bottom:4px;
}

.chat-bubble p{
color:#25263a;
font-size:0.9rem;
font-weight:600;
line-height:1.5;
overflow-wrap:anywhere;
word-break:break-word;
}

.chat-bubble time{
display:block;
text-align:right;
color:#778094;
font-size:0.62rem;
font-weight:800;
margin-top:5px;
}

.voice-note{
display:flex;
align-items:center;
gap:9px;
}

.voice-note span{
width:30px;
height:30px;
border-radius:50%;
background:#2f7757;
position:relative;
}

.voice-note span::before{
content:"";
position:absolute;
left:12px;
top:8px;
border-left:9px solid white;
border-top:6px solid transparent;
border-bottom:6px solid transparent;
}

.group-typing{
padding:0 22px 8px;
color:#74768b;
font-size:0.78rem;
font-weight:800;
font-style:italic;
}

.group-chat-compose{
display:grid;
grid-template-columns:42px minmax(0,1fr) 42px 46px;
gap:10px;
align-items:center;
background:white;
border-top:1px solid #e9e1db;
padding:12px;
padding-bottom:max(12px,env(safe-area-inset-bottom));
flex:0 0 auto;
}

.attach-button,
.voice-button,
.group-chat-compose button[type="submit"]{
width:42px;
height:42px;
border:0;
border-radius:50%;
display:grid;
place-items:center;
background:#fff1eb;
color:var(--home-coral);
font-size:0;
font-weight:900;
cursor:pointer;
padding:0;
}

.attach-button{
font-size:1.1rem;
}

.voice-button::before{
content:"\1F399";
}

.group-chat-compose button[type="submit"]::before{
content:"\27A4";
color:white;
font-size:1.05rem;
transform:translateX(1px);
}

.group-chat-compose input[type="text"]{
height:42px;
border:1px solid #eee3db;
border-radius:999px;
padding:0 16px;
font-size:16px;
font-weight:700;
outline:none;
}

.group-chat-compose button[type="submit"]{
background:var(--home-navy);
color:white;
width:46px;
}

/* Professional community messaging */
.message-meta{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:5px}.message-meta time{margin:0}.message-status{font-size:.7rem;color:#778094;letter-spacing:-3px;padding-right:3px}.message-status.read{color:#2787d8}.message-media{display:block;max-width:min(360px,100%);max-height:320px;border-radius:12px;object-fit:cover;margin-top:6px}.voice-message{display:block;width:min(290px,64vw);height:42px}.document-message{display:flex;align-items:center;gap:11px;padding:9px;border-radius:11px;background:rgba(16,40,69,.07);color:#102845;text-decoration:none}.document-message>span{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;background:#fff;color:var(--home-coral);font-size:.65rem;font-weight:900}.document-message strong,.document-message small{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-message small{margin-top:2px;color:#778094}.chat-upload{background:#fff;padding:10px 18px;border-top:1px solid #eee3db}.chat-upload div{display:flex;justify-content:space-between;gap:12px;font-size:.73rem;color:#4b5568}.chat-upload progress{display:block;width:100%;height:5px;margin-top:7px;accent-color:var(--home-coral)}.voice-recorder{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:10px;padding:11px 14px;background:#fff;border-top:1px solid #eee3db}.recording-pulse{width:10px;height:10px;border-radius:50%;background:#e24444;box-shadow:0 0 0 0 rgba(226,68,68,.5);animation:recordPulse 1.4s infinite}.voice-recorder strong,.voice-recorder time{display:block}.voice-recorder strong{font-size:.76rem;color:#25263a}.voice-recorder time{font-size:.7rem;color:#778094}.voice-recorder button{border:0;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}.recording-cancel{background:#f3f4f6;color:#596173}.recording-stop{background:#102845;color:#fff}.recording-send{background:var(--home-coral);color:#fff}@keyframes recordPulse{70%{box-shadow:0 0 0 8px rgba(226,68,68,0)}100%{box-shadow:0 0 0 0 rgba(226,68,68,0)}}.chat-notice{position:absolute;left:50%;bottom:86px;z-index:5;transform:translateX(-50%);max-width:min(520px,calc(100% - 30px));padding:11px 15px;border-radius:10px;background:#17213a;color:#fff;font-size:.78rem;font-weight:700;box-shadow:0 12px 34px rgba(0,0,0,.18)}.call-interface{position:absolute;inset:0;z-index:20;overflow:hidden;background:#11162a;color:#fff}.call-background{position:absolute;inset:0;background:radial-gradient(circle at 50% 12%,rgba(255,112,88,.3),transparent 35%),linear-gradient(160deg,#172b45,#111326 72%)}.call-stage{position:relative;height:100%;display:flex;align-items:center;justify-content:center;padding:30px}.local-video,.remote-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#070a12}.call-identity{position:relative;z-index:2;text-align:center}.call-identity.compact{position:absolute;top:24px;left:24px;text-align:left;text-shadow:0 2px 12px rgba(0,0,0,.8)}.call-avatar{display:grid;place-items:center;width:112px;height:112px;margin:0 auto 20px;border-radius:50%;background:linear-gradient(135deg,var(--home-coral),#ff9d75);font-size:2rem;font-weight:900;box-shadow:0 20px 60px rgba(0,0,0,.28)}.call-identity.compact .call-avatar{display:none}.call-identity h2{font-size:1.55rem}.call-identity p,.call-identity time{display:block;margin-top:6px;color:#dce2ed;font-weight:600}.call-controls{position:absolute;z-index:3;left:50%;bottom:max(26px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:24px;background:rgba(6,10,20,.62);backdrop-filter:blur(16px)}.call-controls button{width:58px;border:0;background:transparent;color:#fff;cursor:pointer}.call-controls button>span{display:grid;place-items:center;width:48px;height:48px;margin:auto;border-radius:50%;background:rgba(255,255,255,.15);font-size:.68rem;font-weight:900}.call-controls button small{display:block;margin-top:6px;font-size:.58rem}.call-controls button[aria-pressed="true"]>span{background:#fff;color:#1d2840}.call-controls .end-call>span{background:#e74343}.call-controls .end-call{margin-left:4px}

@media (max-width:768px){.voice-recorder{grid-template-columns:auto minmax(0,1fr) auto auto}.voice-recorder .recording-cancel{grid-column:3}.voice-recorder .recording-send{grid-column:4}.call-stage{padding:18px}.call-controls{width:calc(100% - 22px);justify-content:space-around;gap:2px;padding:10px 6px}.call-controls button{width:54px}.call-controls button>span{width:44px;height:44px}.call-identity.compact{top:18px;left:18px}.chat-bubble{max-width:86%}.message-media{max-height:260px}}

/* Phase 3.6 roadmap content builder */
.roadmap-builder{margin-top:26px;padding:22px;border:1px solid #e1e7ee;border-radius:18px;background:#f8fafc}.roadmap-builder-head,.builder-column-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.roadmap-builder-head span,.builder-column-head span{color:var(--home-coral);font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.roadmap-builder-head h3{color:#102845;font-size:1.35rem}.roadmap-builder-head p{color:#6b7484;font-size:.82rem}.roadmap-builder-head>button{border:0;border-radius:999px;background:#102845;color:#fff;padding:10px 16px;font-weight:800;cursor:pointer}.roadmap-analytics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.roadmap-analytics article{padding:15px;border-radius:13px;background:#fff;border:1px solid #e5eaf0}.roadmap-analytics span,.roadmap-analytics strong{display:block}.roadmap-analytics span{font-size:.7rem;color:#6d7686;font-weight:700}.roadmap-analytics strong{margin-top:4px;color:#102845;font-size:1.45rem}.roadmap-builder-grid{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(350px,1.5fr) minmax(220px,.8fr);gap:14px;align-items:start}.builder-column{min-width:0;padding:16px;border-radius:14px;background:#fff;border:1px solid #e5eaf0}.builder-column-head h4{color:#102845}.builder-column-head small{color:#7b8492;font-size:.65rem}.builder-form{display:grid;gap:9px;margin:15px 0;padding:12px;border-radius:11px;background:#f6f8fa}.builder-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-span{grid-column:1/-1}.builder-form label{display:grid;gap:4px;color:#536073;font-size:.67rem;font-weight:800}.builder-form input,.builder-form select,.builder-form textarea{width:100%;border:1px solid #dce2e8;border-radius:8px;background:#fff;padding:9px;font:inherit;color:#253148}.builder-form textarea{resize:vertical}.builder-form div{display:flex;gap:7px}.builder-form button,.builder-item-actions button{border:0;border-radius:8px;padding:8px 10px;background:#102845;color:#fff;font-size:.68rem;font-weight:800;cursor:pointer}.builder-form button+button,.builder-item-actions button+button{background:#edf0f4;color:#5b6575}.builder-list{display:grid;gap:8px}.builder-item{padding:10px;border:1px solid #e1e6eb;border-radius:10px;background:#fff;cursor:grab}.builder-item.dragging{opacity:.45}.builder-item-top{display:flex;align-items:flex-start;gap:8px}.drag-handle{color:#929aa6;font-weight:900}.builder-item-copy{min-width:0;flex:1}.builder-item strong,.builder-item small{display:block}.builder-item strong{color:#1b2d46;font-size:.79rem}.builder-item small{margin-top:3px;color:#717b8b;font-size:.64rem;line-height:1.4}.builder-item-actions{display:flex;gap:5px;margin-top:8px}.builder-feedback{min-height:20px;margin-top:12px;color:#2f7757;font-size:.76rem;font-weight:800}.student-journey{margin:0 0 24px}.journey-stage-list{display:grid;gap:14px;margin-top:18px}.journey-stage{border:1px solid #e5e8ec;border-radius:14px;overflow:hidden}.journey-stage>header{padding:12px 15px;background:#f7f8fa}.journey-stage>header span{color:var(--home-coral);font-size:.65rem;font-weight:900}.journey-stage>header h4{color:#102845}.journey-lessons{display:grid}.journey-lesson{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 15px;border-top:1px solid #edf0f2}.journey-lesson input{width:19px;height:19px;accent-color:#2f7757}.journey-lesson strong,.journey-lesson small{display:block}.journey-lesson strong{color:#23344b;font-size:.82rem}.journey-lesson small{margin-top:3px;color:#747e8e;font-size:.68rem}.journey-lesson a{color:var(--home-coral);font-size:.7rem;font-weight:800}.journey-lesson.completed strong{text-decoration:line-through;color:#6d7785}.recent-lessons{margin-top:18px;padding-top:16px;border-top:1px solid #e6e9ed}.recent-lessons h4{color:#102845}.recent-lessons div{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.recent-lessons span,.recent-lessons p{padding:7px 10px;border-radius:999px;background:#f2f5f7;color:#5d6878;font-size:.68rem;font-weight:700}
@media(max-width:1100px){.roadmap-builder-grid{grid-template-columns:1fr 1fr}.builder-column-wide{grid-column:1/-1;grid-row:2}.roadmap-analytics{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.roadmap-builder{padding:14px}.roadmap-builder-grid,.roadmap-analytics{grid-template-columns:1fr}.builder-column-wide{grid-column:auto;grid-row:auto}.builder-form-grid{grid-template-columns:1fr}.builder-span{grid-column:auto}.journey-lesson{grid-template-columns:auto minmax(0,1fr)}.journey-lesson a{grid-column:2}}

/* ==========================================================================\
   A.E CONNECT SPACE — PRODUCT DESIGN SYSTEM POLISH
   Additive refinement layer: preserves page structure, branding and behavior.
   ========================================================================== */
:root{
--ae-navy:#102a46;
--ae-navy-deep:#0b2038;
--ae-gold:#e6a51f;
--ae-coral:#e96752;
--ae-ink:#182435;
--ae-text:#3f4b5d;
--ae-muted:#6f7b8d;
--ae-canvas:#f7f8fa;
--ae-surface:#ffffff;
--ae-surface-soft:#f2f5f7;
--ae-border:#e2e7ec;
--ae-border-strong:#d4dbe3;
--ae-radius-sm:8px;
--ae-radius-md:12px;
--ae-radius-lg:16px;
--ae-radius-xl:20px;
--ae-shadow-sm:0 1px 2px rgba(16,42,70,.04),0 4px 12px rgba(16,42,70,.04);
--ae-shadow-md:0 2px 4px rgba(16,42,70,.04),0 12px 28px rgba(16,42,70,.07);
--ae-shadow-hover:0 4px 8px rgba(16,42,70,.05),0 18px 38px rgba(16,42,70,.10);
--ae-focus:0 0 0 3px rgba(230,165,31,.24);
--ae-ease:cubic-bezier(.2,.8,.2,1);
}

html{scroll-behavior:smooth;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body{background:var(--ae-canvas);color:var(--ae-text);font-weight:400;line-height:1.7;letter-spacing:-.006em}
body :where(p,li,dd,blockquote){font-weight:400!important;line-height:1.72}
body :where(h1,h2,h3,h4,h5,h6){color:var(--ae-ink);font-weight:700!important;letter-spacing:-.028em;line-height:1.16;text-wrap:balance}
body :where(h1){font-size:clamp(2.1rem,4.4vw,4.4rem)!important}
body :where(h2){font-weight:600!important;letter-spacing:-.022em}
body :where(h3,h4,h5,h6){font-weight:600!important;letter-spacing:-.015em}
body :where(label,.eyebrow,.section-label,.small-text){font-weight:500!important;letter-spacing:.01em}
body :where(small,.helper-text,time){font-weight:400!important;line-height:1.5}
body :where(strong,b){font-weight:600}
::selection{background:rgba(230,165,31,.25);color:var(--ae-navy-deep)}

/* Consistent content rhythm without altering section structure */
:where(.programs,.about-section,.books-section,.community-section,.enterprise-section,.network-section,.opportunity-tools-section,.opportunity-list-section,.scholarships-section,.resources-section,.skills-section,.materials-section,.featured-events,.featured-opportunity,.tertiary-readiness,.tertiary-pathways,.tertiary-timeline,.tertiary-support){padding-top:clamp(64px,8vw,104px);padding-bottom:clamp(64px,8vw,104px)}
:where(.section-heading,.academic-community-head,.admin-section-head,.panel-heading){margin-bottom:clamp(20px,3vw,32px)}
:where(.program-grid,.about-grid,.books-grid,.journey-grid,.roadmap-grid,.story-grid,.community-join-grid,.enterprise-grid,.listing-grid,.match-grid,.community-grid,.network-grid,.opportunity-grid,.scholarship-grid,.resource-card-section,.material-grid,.ai-tools-grid,.about-values-grid,.about-team-grid){gap:clamp(18px,2.3vw,28px)}

/* Premium, quiet surfaces */
:where(.program-card,.about-card,.book-card,.journey-card,.roadmap-card,.story-card,.community-join-card,.enterprise-card,.listing-card,.match-card,.community-post-card,.network-card,.opportunity-card,.scholarship-card,.resource-path-card,.ai-tool-card,.material-book-card,.about-value-card,.about-team-card,.tertiary-pathway-card,.readiness-grid article,.timeline-steps article,.dashboard-panel,.admin-section,.admin-action-grid article,.admin-profile-panel,.social-post,.post-composer,.feed-side-card,.discussion-card,.academic-community-card){
border:1px solid var(--ae-border)!important;
border-radius:var(--ae-radius-lg)!important;
background:var(--ae-surface)!important;
box-shadow:var(--ae-shadow-sm)!important;
}
:where(.program-card,.about-card,.book-card,.journey-card,.roadmap-card,.story-card,.community-join-card,.enterprise-card,.listing-card,.match-card,.community-post-card,.network-card,.opportunity-card,.scholarship-card,.resource-path-card,.ai-tool-card,.material-book-card,.about-value-card,.about-team-card,.tertiary-pathway-card,.readiness-grid article,.timeline-steps article,.dashboard-panel,.admin-action-grid article,.social-post,.discussion-card,.academic-community-card){padding:clamp(22px,2.5vw,30px)!important}
:where(.program-card,.about-card,.book-card,.journey-card,.roadmap-card,.story-card,.community-join-card,.enterprise-card,.listing-card,.match-card,.community-post-card,.network-card,.opportunity-card,.scholarship-card,.resource-path-card,.ai-tool-card,.material-book-card,.about-value-card,.about-team-card,.tertiary-pathway-card,.readiness-grid article,.timeline-steps article,.dashboard-panel,.admin-action-grid article,.social-post,.discussion-card,.academic-community-card){transition:transform .22s var(--ae-ease),box-shadow .22s var(--ae-ease),border-color .22s var(--ae-ease)}
:where(.program-card,.about-card,.book-card,.journey-card,.roadmap-card,.story-card,.community-join-card,.enterprise-card,.listing-card,.match-card,.community-post-card,.network-card,.opportunity-card,.scholarship-card,.resource-path-card,.ai-tool-card,.material-book-card,.about-value-card,.about-team-card,.tertiary-pathway-card,.readiness-grid article,.timeline-steps article,.admin-action-grid article,.social-post,.discussion-card,.academic-community-card):hover{transform:translateY(-3px)!important;border-color:var(--ae-border-strong)!important;box-shadow:var(--ae-shadow-hover)!important}
:where(.program-card,.about-card,.book-card,.journey-card,.roadmap-card,.story-card,.community-join-card,.enterprise-card,.listing-card,.match-card,.community-post-card,.network-card,.opportunity-card,.scholarship-card,.resource-path-card,.ai-tool-card,.material-book-card,.about-value-card,.about-team-card,.tertiary-pathway-card) :where(h3,h4){margin-bottom:10px}
:where(.program-card,.about-card,.book-card,.journey-card,.roadmap-card,.story-card,.community-join-card,.enterprise-card,.listing-card,.match-card,.community-post-card,.network-card,.opportunity-card,.scholarship-card,.resource-path-card,.ai-tool-card,.material-book-card,.about-value-card,.about-team-card,.tertiary-pathway-card) :where(p,small){color:var(--ae-muted)}

/* Unified button hierarchy and touch behavior */
:where(button,.home-btn,.ecosystem-btn,.nav-cta,.primary-btn,.secondary-btn,.auth-button,.admin-top-actions a,.admin-action-grid button,.admin-form button,.admin-table button){
min-height:42px;border-radius:var(--ae-radius-sm);font-family:inherit;font-size:.86rem;font-weight:600!important;letter-spacing:-.005em;transition:transform .16s var(--ae-ease),box-shadow .18s var(--ae-ease),background-color .18s ease,border-color .18s ease,color .18s ease;
}
:where(.home-btn,.ecosystem-btn,.primary-btn,.auth-button,button[type="submit"]){background:var(--ae-navy);border:1px solid var(--ae-navy);color:#fff;box-shadow:0 1px 2px rgba(11,32,56,.14)}
:where(.secondary-btn,.admin-top-actions a,.admin-table button,.composer-actions button:not([type="submit"])){background:#fff;border:1px solid var(--ae-border-strong);color:var(--ae-navy);box-shadow:none}
:where(button,.home-btn,.ecosystem-btn,.primary-btn,.secondary-btn,.auth-button,.admin-top-actions a,.admin-table button):hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(16,42,70,.12)}
:where(button,.home-btn,.ecosystem-btn,.primary-btn,.secondary-btn,.auth-button,.admin-top-actions a,.admin-table button):active{transform:translateY(0) scale(.98);box-shadow:none}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--ae-gold)!important;outline-offset:3px!important;box-shadow:var(--ae-focus)!important}
:where(button,a)[aria-disabled="true"],button:disabled{opacity:.52;cursor:not-allowed;transform:none!important;box-shadow:none!important}

/* Forms */
:where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
min-height:46px;border:1px solid var(--ae-border-strong)!important;border-radius:var(--ae-radius-sm)!important;background:#fff!important;color:var(--ae-ink)!important;font-family:inherit;font-size:.9rem!important;font-weight:400!important;line-height:1.45;box-shadow:0 1px 2px rgba(16,42,70,.02);transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
:where(input:not([type="checkbox"]):not([type="radio"]),select){padding:0 13px!important}
:where(textarea){padding:12px 13px!important}
:where(input,textarea)::placeholder{color:#929baa;opacity:1;font-weight:400}
:where(input:not([type="checkbox"]):not([type="radio"]),select,textarea):hover{border-color:#bdc6d0!important}
:where(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus{border-color:var(--ae-gold)!important;outline:0;box-shadow:var(--ae-focus)!important}
:where(.admin-form,.auth-form,.community-modal-panel form,.newsletter form) label{color:var(--ae-text)!important;font-size:.78rem!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
:where(.auth-message,.form-message,.builder-feedback,[data-roadmap-feedback],[data-opportunity-feedback]){border-radius:var(--ae-radius-sm);font-weight:400!important;line-height:1.55}

/* Navigation refinement: same layout, lighter visual treatment */
:where(.home-footer-nav,.navbar,.about-bottom-nav){box-shadow:0 1px 0 rgba(255,255,255,.08),0 8px 24px rgba(8,26,46,.08)}
:where(.home-nav-links a,.nav-links a,.about-bottom-nav a,.dashboard-sidebar nav a,.admin-sidebar nav a){font-size:.82rem;font-weight:500!important;letter-spacing:-.005em}
:where(.logo,.mini-brand,.about-brand,.dashboard-brand,.admin-brand){font-weight:600!important;letter-spacing:-.018em}

/* Student and admin dashboards */
:where(.student-dashboard-page,.ae-admin-page){background:#f6f8fa;color:var(--ae-text)}
:where(.dashboard-main,.admin-main){padding:clamp(22px,3vw,40px)}
:where(.dashboard-topbar,.admin-topbar){margin-bottom:clamp(24px,3vw,36px)}
:where(.dashboard-topbar h1,.admin-topbar h1){font-size:clamp(1.8rem,3.3vw,3rem)!important;font-weight:700!important;letter-spacing:-.035em}
:where(.dashboard-panel,.admin-section){box-shadow:var(--ae-shadow-sm)!important}
.dashboard-grid{gap:20px}.dashboard-content-grid{gap:24px}.dashboard-panel :where(p,span,small){font-weight:400}.panel-heading span{color:var(--ae-muted);font-size:.7rem;font-weight:500!important;letter-spacing:.055em}.panel-heading h3{margin-top:3px}
.progress-track{height:8px;background:#e9edf1}.progress-track span{background:linear-gradient(90deg,var(--ae-gold),#efbd4b);box-shadow:none}
.ae-admin-page{--admin-navy:var(--ae-navy-deep);--admin-ink:var(--ae-ink);--admin-muted:var(--ae-muted);--admin-gold:var(--ae-gold);--admin-bg:#f6f8fa;--admin-line:var(--ae-border)}
.admin-sidebar{padding:26px 18px;gap:24px}.admin-sidebar nav{gap:5px}.admin-sidebar nav a{min-height:44px;border-radius:var(--ae-radius-sm);padding:10px 11px}.admin-sidebar nav a span{font-weight:600!important}.admin-section{padding:clamp(22px,3vw,32px)}.admin-section-head p,.admin-action-grid p,.admin-empty-state,.admin-profile-panel p,.admin-profile-panel dd{font-weight:400!important}.admin-metric-grid,.admin-action-grid{gap:14px}.admin-metric-grid article,.admin-student-summary article{padding:20px;border-color:var(--ae-border);border-radius:var(--ae-radius-md);background:#fff}.admin-metric-grid span,.admin-metric-grid small,.admin-student-summary span,.admin-student-summary small,.admin-topbar p,.admin-section-head span,.admin-profile-panel span{font-weight:500!important;letter-spacing:.045em}.admin-metric-grid strong,.admin-student-summary strong{font-size:2rem;font-weight:600}

/* Data tables */
.admin-table-wrap{border-color:var(--ae-border);border-radius:var(--ae-radius-md);box-shadow:0 1px 2px rgba(16,42,70,.02)}
.admin-table{border-collapse:separate;border-spacing:0}
.admin-table th{padding:13px 16px;background:#f5f7f9;color:#657185;font-size:.69rem;font-weight:500!important;letter-spacing:.045em;position:sticky;top:0;z-index:1}
.admin-table td{padding:15px 16px;color:#3d4959;font-size:.82rem;font-weight:400!important;line-height:1.5}
.admin-table tbody tr{transition:background-color .16s ease}.admin-table tbody tr:hover{background:#f8fafb}.admin-table tbody tr:last-child td{border-bottom:0}.admin-table-actions{gap:6px}.admin-table-actions button{min-height:34px;padding:0 11px;font-size:.73rem}
.admin-toolbar{gap:10px;padding:12px;border:1px solid var(--ae-border);border-radius:var(--ae-radius-md);background:#f8fafb}
.admin-empty-state{border-color:var(--ae-border-strong);background:#fafbfc;padding:22px;text-align:center}

/* Calm branded color balance */
:where(.programs,.about-section,.books-section,.community-section,.enterprise-section,.network-section,.opportunity-tools-section,.opportunity-list-section,.scholarships-section,.resources-section,.skills-section,.materials-section){background-color:var(--ae-canvas)}
:where(.home-hero,.hero,.enterprise-hero,.network-hero,.events-hero,.opportunities-hero,.scholarships-hero,.community-hero,.resources-hero,.skills-hero,.materials-hero,.book-hero,.tertiary-hero,.about-story-hero){color:#fff}
:where(.home-hero,.hero,.enterprise-hero,.network-hero,.events-hero,.opportunities-hero,.scholarships-hero,.community-hero,.resources-hero,.skills-hero,.materials-hero,.book-hero,.tertiary-hero,.about-story-hero) :where(h1,h2,h3){color:#fff}

/* Loading and entrance polish */
@keyframes aeFadeIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
:where(main>section,.dashboard-main>section,.admin-section.is-active){animation:aeFadeIn .42s var(--ae-ease) both}

@media(max-width:768px){
body{line-height:1.65}
body :where(h1){font-size:clamp(1.9rem,10vw,2.75rem)!important}
body :where(h2){font-size:clamp(1.45rem,7vw,2rem)}
:where(.programs,.about-section,.books-section,.community-section,.enterprise-section,.network-section,.opportunity-tools-section,.opportunity-list-section,.scholarships-section,.resources-section,.skills-section,.materials-section,.featured-events,.featured-opportunity,.tertiary-readiness,.tertiary-pathways,.tertiary-timeline,.tertiary-support){padding-top:52px!important;padding-bottom:52px!important}
:where(button,.home-btn,.ecosystem-btn,.primary-btn,.secondary-btn,.auth-button,.admin-top-actions a,.admin-action-grid button,.admin-form button){min-height:46px}
:where(.dashboard-main,.admin-main){padding:18px 14px}
:where(.dashboard-panel,.admin-section){padding:20px!important}
.admin-toolbar{padding:10px}.admin-table th,.admin-table td{padding:13px 14px}
}

@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* SUCCESS STORIES PAGE */

.success-stories-page{
background:#fff8f2;
}

.success-stories-page .home-footer-nav{
position:sticky;
top:0;
}

.success-stories-hero{
background:
radial-gradient(circle at 74% 18%,rgba(255,112,88,0.12),transparent 34%),
linear-gradient(135deg,#17182d 0%,#211d33 100%);
color:white;
padding:78px 0 86px;
text-align:center;
}

.success-stories-hero-inner{
display:grid;
justify-items:center;
}

.success-pill,
.story-duration{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:24px;
padding:0 16px;
border-radius:999px;
background:rgba(255,255,255,0.1);
color:#f2aa26;
font-size:0.7rem;
font-weight:900;
text-transform:uppercase;
letter-spacing:0;
}

.success-stories-hero h1{
font-size:clamp(2.55rem,6vw,4.55rem);
line-height:1.05;
margin:24px 0 18px;
font-weight:900;
}

.success-stories-hero p{
max-width:760px;
color:rgba(255,255,255,0.58);
font-size:1.04rem;
font-weight:700;
}

.success-stats-band{
background:white;
padding:54px 0;
}

.success-stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:28px;
text-align:center;
}

.success-stats-grid strong{
display:block;
font-size:2.3rem;
line-height:1;
color:var(--home-ink);
font-weight:900;
margin-bottom:9px;
}

.success-stats-grid span{
color:#74768b;
font-size:0.76rem;
font-weight:800;
}

.story-video-section{
padding:96px 0 108px;
background:#fff8f2;
}

.story-video-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
margin-top:56px;
}

.story-video-card{
min-height:205px;
border-radius:10px;
overflow:hidden;
position:relative;
display:flex;
align-items:flex-end;
padding:24px;
background-size:cover;
background-position:center;
box-shadow:0 20px 44px rgba(31,24,22,0.1);
}

.story-video-card::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(180deg,rgba(23,24,45,0.06),rgba(23,24,45,0.78));
}

.story-duration{
position:absolute;
top:13px;
right:13px;
min-height:22px;
padding:0 10px;
background:rgba(0,0,0,0.45);
color:white;
font-size:0.62rem;
}

.story-video-card button{
position:absolute;
left:50%;
top:50%;
transform:translate(-50%,-50%);
width:52px;
height:52px;
border:0;
border-radius:50%;
background:rgba(255,255,255,0.84);
color:var(--home-coral);
font-weight:900;
cursor:pointer;
box-shadow:0 14px 30px rgba(0,0,0,0.18);
}

.story-video-card div{
position:relative;
z-index:1;
color:white;
}

.story-video-card small{
color:#42c092;
font-size:0.72rem;
font-weight:900;
}

.story-video-card h3{
font-size:1.3rem;
line-height:1.2;
margin:5px 0 3px;
}

.story-video-card p{
color:rgba(255,255,255,0.75);
font-size:0.78rem;
font-weight:700;
}

.case-studies-section{
padding:100px 0 112px;
background:white;
}

.case-study-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:58px 54px;
margin-top:74px;
}

.case-study-card{
background:white;
}

.case-profile{
display:grid;
grid-template-columns:auto minmax(0,1fr);
gap:12px;
align-items:center;
position:relative;
padding-right:112px;
min-height:52px;
}

.case-profile > span{
width:42px;
height:42px;
border-radius:50%;
display:grid;
place-items:center;
background:#fff1eb;
color:var(--home-coral);
font-weight:900;
}

.case-profile h3{
font-size:0.9rem;
line-height:1.1;
color:var(--home-ink);
}

.case-profile p{
font-size:0.72rem;
line-height:1.25;
color:#6f7188;
font-weight:700;
}

.case-profile b{
position:absolute;
right:0;
top:0;
max-width:106px;
min-height:34px;
display:flex;
align-items:center;
justify-content:center;
padding:5px 10px;
border-radius:7px;
background:#eaf3ee;
color:#2f7757;
font-size:0.66rem;
line-height:1.15;
font-weight:900;
text-align:center;
}

.case-study-card blockquote{
margin:22px 0 18px;
color:#4f5167;
font-size:0.9rem;
font-weight:700;
line-height:1.6;
}

.case-tags{
display:flex;
flex-wrap:wrap;
gap:8px;
padding-bottom:18px;
border-bottom:1px solid #f0e7df;
}

.case-tags span{
min-height:22px;
display:inline-flex;
align-items:center;
padding:0 8px;
border-radius:4px;
background:#fff8f4;
color:#807b8c;
font-size:0.66rem;
font-weight:900;
}

.case-study-card footer{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
padding-top:18px;
}

.case-study-card small{
color:#8a8ca0;
font-size:0.72rem;
font-weight:800;
}

.case-study-card a,
.read-story-button{
color:var(--home-coral);
font-size:0.76rem;
font-weight:900;
}

.read-story-button{
border:0;
background:transparent;
cursor:pointer;
padding:0;
font-family:inherit;
}

.read-story-button::after{
content:" \2192";
margin-left:4px;
}

.story-next-section{
background:#fff8f2;
padding:96px 0 104px;
text-align:center;
}

.story-next-section h2{
font-size:clamp(2rem,4vw,3rem);
line-height:1.15;
color:var(--home-ink);
margin-bottom:18px;
}

.story-next-section p{
max-width:650px;
margin:0 auto;
color:#74768b;
font-weight:700;
}

.story-next-actions{
display:flex;
justify-content:center;
gap:18px;
margin-top:34px;
flex-wrap:wrap;
}

.story-next-actions a{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:48px;
padding:0 27px;
border-radius:999px;
background:var(--home-coral);
color:white;
font-size:0.82rem;
font-weight:900;
box-shadow:0 18px 36px rgba(255,112,88,0.28);
}

.story-next-actions a:first-child::after{
content:" +";
margin-left:8px;
}

.story-next-actions a:last-child{
background:white;
color:#4e5064;
box-shadow:inset 0 0 0 1px #e8dfd8;
}

.story-next-actions a:last-child::after{
content:" \2606";
margin-left:8px;
}

.story-modal-open{
overflow:hidden;
}

.story-modal[hidden]{
display:none;
}

.story-modal{
position:fixed;
inset:0;
z-index:9999;
display:grid;
align-items:end;
justify-items:center;
padding:40px 18px 0;
}

.story-modal-backdrop{
position:absolute;
inset:0;
background:rgba(0,0,0,0.58);
}

.story-modal-panel{
position:relative;
z-index:1;
width:min(1120px,100%);
max-height:92vh;
overflow:auto;
background:white;
border-radius:12px 12px 0 0;
box-shadow:0 -20px 70px rgba(0,0,0,0.28);
}

.story-modal-close{
position:absolute;
top:22px;
right:22px;
z-index:3;
width:44px;
height:44px;
border:0;
border-radius:50%;
background:rgba(0,0,0,0.54);
color:white;
font-size:1.6rem;
line-height:1;
cursor:pointer;
}

.story-modal-hero{
min-height:520px;
position:relative;
display:flex;
align-items:flex-end;
padding:46px;
background-size:cover;
background-position:center;
color:white;
}

.story-modal-hero::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(180deg,rgba(23,24,45,0.06),rgba(23,24,45,0.78));
}

.story-modal-person{
position:relative;
z-index:1;
display:flex;
align-items:center;
gap:18px;
}

.story-modal-person > span{
width:62px;
height:62px;
border-radius:50%;
display:grid;
place-items:center;
background:#fff1eb;
border:3px solid rgba(255,255,255,0.78);
color:var(--home-coral);
font-weight:900;
font-size:1.2rem;
}

.story-modal-person h2{
font-size:1.9rem;
line-height:1.1;
}

.story-modal-person p{
color:rgba(255,255,255,0.8);
font-weight:700;
}

.story-modal-body{
padding:46px;
}

.story-modal-meta{
display:flex;
align-items:center;
gap:18px;
flex-wrap:wrap;
margin-bottom:28px;
}

.story-modal-meta b{
display:inline-flex;
align-items:center;
min-height:38px;
padding:0 18px;
border-radius:8px;
background:#eaf3ee;
color:#2f7757;
font-size:0.86rem;
font-weight:900;
}

.story-modal-meta b::before{
content:"";
width:10px;
height:10px;
border-radius:50%;
background:#2f7757;
margin-right:10px;
}

.story-modal-meta span{
color:#4f5167;
font-size:1rem;
font-weight:700;
}

.story-modal-body blockquote{
border-left:4px solid #f2a722;
padding-left:22px;
margin:0 0 28px;
color:var(--home-ink);
font-size:1.35rem;
line-height:1.55;
font-style:italic;
font-weight:700;
}

.story-modal-copy{
display:grid;
gap:18px;
max-width:850px;
}

.story-modal-copy p{
color:#56586c;
font-size:1rem;
line-height:1.8;
font-weight:600;
}

.story-modal-tags{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:30px;
padding-top:26px;
border-top:1px solid #f0e7df;
}

.story-modal-tags span{
display:inline-flex;
align-items:center;
min-height:28px;
padding:0 11px;
border-radius:6px;
background:#fff8f4;
color:#67677d;
font-size:0.76rem;
font-weight:900;
}

.story-modal-body footer{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
margin-top:32px;
padding-top:26px;
border-top:1px solid #f0e7df;
}

.story-modal-body footer small{
color:#6f7188;
font-size:0.82rem;
font-weight:900;
}

.story-modal-body footer a{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:42px;
padding:0 18px;
border-radius:999px;
background:var(--home-coral);
color:white;
font-size:0.8rem;
font-weight:900;
}

.story-modal-body footer a::after{
content:" \2192";
margin-left:8px;
}

/* STUDENT ROADMAP DETAIL PAGES */

.student-roadmap-page{
background:#fffaf6;
}

.student-roadmap-hero{
background:#ff664f;
color:white;
padding:58px 0 70px;
}

.geography-roadmap-page .student-roadmap-hero{
background:#2f7757;
}

.geography-roadmap-page .student-roadmap-icon{
background:rgba(255,255,255,0.16);
}

.geography-roadmap-page .roadmap-dots .active{
background:#ff664f;
}

.business-roadmap-page .student-roadmap-hero{
background:#f2a722;
}

.computer-roadmap-page .student-roadmap-hero{
background:#17182d;
}

.nursing-roadmap-page .student-roadmap-hero{
background:#ec6b75;
}

.engineering-roadmap-page .student-roadmap-hero{
background:#4e94dd;
}

.business-roadmap-page .student-roadmap-icon,
.computer-roadmap-page .student-roadmap-icon,
.nursing-roadmap-page .student-roadmap-icon,
.engineering-roadmap-page .student-roadmap-icon{
background:rgba(255,255,255,0.16);
}

.roadmap-breadcrumb{
display:flex;
align-items:center;
gap:13px;
font-size:0.78rem;
font-weight:800;
margin-bottom:28px;
color:rgba(255,255,255,0.72);
}

.roadmap-breadcrumb a{
color:rgba(255,255,255,0.74);
}

.roadmap-breadcrumb strong{
color:white;
}

.student-roadmap-title{
display:grid;
grid-template-columns:92px 1fr;
gap:36px;
align-items:center;
}

.student-roadmap-icon{
width:92px;
height:92px;
border-radius:16px;
display:grid;
place-items:center;
background:rgba(255,255,255,0.18);
color:white;
font-size:3rem;
font-weight:900;
}

.student-roadmap-title h1{
font-size:clamp(2.6rem,5vw,4.2rem);
line-height:1.05;
font-weight:900;
letter-spacing:0;
margin-bottom:12px;
}

.student-roadmap-title p{
max-width:780px;
font-size:1rem;
font-weight:600;
color:rgba(255,255,255,0.86);
}

.roadmap-skills-section,
.level-roadmap-section{
background:white;
padding:82px 0;
}

.roadmap-opportunities-section,
.roadmap-return-band{
background:#fff7f1;
padding:82px 0;
}

.skill-cluster-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:24px;
margin-top:52px;
}

.skill-cluster-card{
min-height:238px;
background:#fff8f4;
border-radius:10px;
padding:34px;
box-shadow:0 16px 34px rgba(41,31,26,0.04);
}

.cluster-icon{
width:42px;
height:42px;
display:grid;
place-items:center;
border-radius:10px;
font-weight:900;
margin-bottom:30px;
}

.cluster-icon.coral{
background:#ffe8e5;
color:#ff664f;
}

.cluster-icon.amber{
background:#fff0d7;
color:#f3a51d;
}

.cluster-icon.green{
background:#e8f2ec;
color:#2f7757;
}

.skill-cluster-card h3{
font-size:1.08rem;
margin-bottom:18px;
color:var(--home-ink);
}

.skill-tags{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.skill-tags span{
display:inline-flex;
align-items:center;
min-height:29px;
padding:0 14px;
border-radius:6px;
background:white;
color:#606277;
font-size:0.76rem;
font-weight:900;
box-shadow:inset 0 0 0 1px rgba(37,38,58,0.04);
}

.opportunity-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:22px;
margin-top:50px;
}

.opportunity-card{
min-height:186px;
background:white;
border-radius:10px;
padding:30px 26px;
box-shadow:0 16px 36px rgba(41,31,26,0.04);
}

.opportunity-card span{
width:38px;
height:38px;
display:grid;
place-items:center;
border-radius:10px;
background:#ffe9e5;
color:#ff664f;
font-size:0.78rem;
font-weight:900;
margin-bottom:26px;
}

.opportunity-card h3{
font-size:1rem;
margin-bottom:8px;
color:var(--home-ink);
}

.opportunity-card p{
font-size:0.84rem;
font-weight:600;
color:#737488;
}

.level-roadmap-list{
display:grid;
gap:24px;
margin-top:62px;
}

.level-row{
display:grid;
grid-template-columns:190px 1fr;
gap:34px;
align-items:center;
min-height:134px;
padding:30px 34px;
background:#fff8f4;
border-radius:12px;
border-left:4px solid #20c997;
}

.level-row.level-amber{
border-left-color:#f59f00;
}

.level-row.level-orange{
border-left-color:#ff6b35;
}

.level-row.level-rose{
border-left-color:#ff4d5d;
}

.level-icon{
width:52px;
height:52px;
display:grid;
place-items:center;
border-radius:11px;
background:#e8fbf3;
color:#20c997;
font-size:1.4rem;
font-weight:900;
margin-bottom:16px;
}

.level-amber .level-icon{
background:#fff2dc;
color:#f59f00;
}

.level-orange .level-icon{
background:#ffe9df;
color:#ff6b35;
}

.level-rose .level-icon{
background:#ffe6e8;
color:#ff4d5d;
}

.level-label h3{
font-size:1.35rem;
line-height:1.1;
color:var(--home-ink);
}

.level-label p{
font-size:0.82rem;
font-weight:700;
color:#77798b;
}

.level-steps{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:16px;
}

.level-steps span{
display:flex;
align-items:center;
gap:12px;
min-height:58px;
padding:0 18px;
border-radius:8px;
background:white;
color:#515367;
font-size:0.82rem;
font-weight:900;
box-shadow:inset 0 0 0 1px rgba(37,38,58,0.05);
}

.level-steps b{
width:25px;
height:25px;
display:grid;
place-items:center;
border-radius:50%;
background:#20c997;
color:white;
font-size:0.72rem;
flex:0 0 auto;
}

.level-amber .level-steps b{
background:#f59f00;
}

.level-orange .level-steps b{
background:#ff6b35;
}

.level-rose .level-steps b{
background:#ff4d5d;
}

.roadmap-return-band{
padding:42px 0;
}

.roadmap-return-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:24px;
}

.all-programs-link{
display:inline-flex;
align-items:center;
min-height:42px;
padding:0 18px;
border-radius:999px;
background:white;
color:#55566a;
font-size:0.82rem;
font-weight:900;
}

.roadmap-dots{
display:flex;
gap:12px;
align-items:center;
}

.roadmap-dots a,
.roadmap-dots span{
width:10px;
height:10px;
border-radius:50%;
background:#d6d0cd;
display:block;
transition:transform 0.2s ease, background 0.2s ease;
}

.roadmap-dots a:hover,
.roadmap-dots a:focus-visible{
background:#ff9a86;
transform:scale(1.35);
outline:none;
}

.roadmap-dots .active{
background:#ff664f;
}

/* ABOUT PAGE */

.about-page{
--about-green:#0b4a34;
--about-green-deep:#063d2b;
--about-gold:#f4ad18;
--about-cream:#fff8ef;
--about-text:#2c211b;
--about-muted:#8b7d70;
background:var(--about-cream);
color:var(--about-text);
font-family:'Poppins',sans-serif;
line-height:1.7;
}

.about-page a{
text-decoration:none;
}

.about-container{
width:min(1120px,calc(100% - 48px));
margin:0 auto;
}

.about-story-hero{
min-height:430px;
display:grid;
place-items:center;
text-align:center;
color:white;
background:
radial-gradient(circle at 18% 20%,rgba(255,255,255,0.06),transparent 30%),
linear-gradient(135deg,var(--about-green),var(--about-green-deep));
clip-path:polygon(0 0,100% 0,100% 85%,0 100%);
padding:74px 0 112px;
}

.about-centered{
max-width:620px;
}

.about-kicker{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:26px;
padding:0 12px;
border-radius:2px;
background:rgba(244,173,24,0.22);
color:var(--about-gold);
font-size:0.78rem;
font-weight:900;
letter-spacing:0.12em;
text-transform:uppercase;
}

.about-kicker.plain{
background:transparent;
padding:0;
min-height:auto;
}

.about-story-hero h1,
.about-mission-grid h2,
.about-section-heading h2,
.about-join-card h2,
.about-footer h2{
font-family:'Playfair Display',Georgia,serif;
letter-spacing:0;
}

.about-story-hero h1{
font-size:clamp(2.8rem,5vw,4.6rem);
line-height:1.42;
margin:34px 0 26px;
}

.about-story-hero p{
font-size:1.1rem;
font-weight:600;
color:rgba(255,255,255,0.67);
}

.about-mission-band,
.about-values-section,
.about-team-section,
.about-join-section{
background:var(--about-cream);
}

.about-mission-band{
padding:86px 0 56px;
}

.about-mission-grid{
display:grid;
grid-template-columns:1fr 1.05fr;
gap:72px;
align-items:center;
}

.about-mission-grid h2{
font-size:clamp(2.25rem,3.4vw,3.35rem);
line-height:1.38;
margin:20px 0 28px;
}

.about-mission-grid p{
font-size:1rem;
font-weight:600;
color:var(--about-muted);
margin-bottom:16px;
}

.about-principle-card{
background:var(--about-green);
color:white;
border-radius:13px;
padding:46px 54px;
box-shadow:0 20px 54px rgba(5,55,39,0.13);
}

.about-principle-card span{
display:block;
color:var(--about-gold);
font-size:2.7rem;
font-family:Georgia,serif;
line-height:1;
margin-bottom:28px;
}

.about-principle-card h3{
font-family:'Playfair Display',Georgia,serif;
font-size:1.35rem;
line-height:1.65;
margin-bottom:28px;
}

.about-principle-card p{
color:rgba(255,255,255,0.52);
font-size:0.82rem;
font-weight:900;
letter-spacing:0.08em;
margin:0;
}

.about-values-section,
.about-team-section{
padding:54px 0 38px;
}

.about-wings-section,
.about-assist-section{
background:var(--about-cream);
padding:58px 0 46px;
}

.about-section-heading{
text-align:center;
margin-bottom:56px;
}

.about-section-heading h2{
font-size:clamp(2.2rem,4vw,3.15rem);
line-height:1.2;
margin-top:16px;
}

.about-values-grid,
.about-team-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.about-value-card,
.about-team-card{
background:white;
border:1px solid #eadfd3;
border-radius:9px;
box-shadow:0 14px 36px rgba(55,38,26,0.04);
}

.about-value-card{
min-height:230px;
padding:34px 28px;
}

.about-value-card > span{
width:42px;
height:42px;
border-radius:50%;
display:grid;
place-items:center;
background:#fff2dc;
color:var(--about-green);
font-size:0.82rem;
font-weight:900;
margin-bottom:26px;
}

.about-value-card h3{
font-family:'Playfair Display',Georgia,serif;
font-size:1.12rem;
margin-bottom:12px;
}

.about-value-card p{
font-size:0.92rem;
font-weight:600;
color:var(--about-muted);
}

.about-wings-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:18px;
}

.about-wings-grid article{
background:white;
border:1px solid #eadfd3;
border-radius:9px;
padding:26px 22px;
box-shadow:0 14px 36px rgba(55,38,26,0.04);
}

.about-wings-grid span{
display:inline-flex;
align-items:center;
height:24px;
border-radius:999px;
background:#fff2dc;
color:var(--about-green);
font-size:0.68rem;
font-weight:900;
padding:0 10px;
margin-bottom:18px;
}

.about-wings-grid h3,
.about-assist-list h3{
font-family:'Playfair Display',Georgia,serif;
font-size:1.08rem;
line-height:1.35;
margin-bottom:10px;
}

.about-wings-grid p,
.about-assist-list p,
.about-assist-grid > div > p{
font-size:0.9rem;
font-weight:600;
color:var(--about-muted);
}

.about-assist-grid{
display:grid;
grid-template-columns:0.9fr 1.2fr;
gap:56px;
align-items:start;
}

.about-assist-grid h2{
font-family:'Playfair Display',Georgia,serif;
font-size:clamp(2.05rem,3.2vw,3rem);
line-height:1.28;
margin:18px 0 18px;
}

.about-assist-list{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:18px;
}

.about-assist-list article{
background:var(--about-green);
color:white;
border-radius:9px;
padding:26px 24px;
box-shadow:0 18px 44px rgba(5,55,39,0.11);
}

.about-assist-list h3{
color:white;
}

.about-assist-list p{
color:rgba(255,255,255,0.72);
}

.about-team-section{
padding-top:64px;
}

.about-team-card{
min-height:205px;
padding:28px 20px 24px;
text-align:center;
}

.about-team-card img,
.team-initials{
width:68px;
height:68px;
border-radius:50%;
display:grid;
place-items:center;
margin:0 auto 22px;
background:var(--about-green);
color:white;
font-weight:900;
font-size:1.05rem;
object-fit:cover;
}

.about-photo-button{
display:block;
width:76px;
height:76px;
border:0;
border-radius:50%;
padding:0;
margin:0 auto 22px;
background:transparent;
cursor:zoom-in;
}

.about-photo-button img{
width:100%;
height:100%;
margin:0;
transition:transform 0.2s ease,box-shadow 0.2s ease;
}

.about-photo-button:hover img{
transform:scale(1.06);
box-shadow:0 12px 28px rgba(11,74,52,0.18);
}

.about-team-card.featured img{
border:4px solid rgba(11,74,52,0.08);
}

.about-photo-modal{
position:fixed;
inset:0;
z-index:9999;
display:grid;
grid-template-rows:auto 1fr;
gap:18px;
background:rgba(5,34,25,0.88);
padding:24px;
}

.about-photo-modal[hidden]{
display:none;
}

.about-photo-toolbar{
display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
}

.about-photo-toolbar button{
border:0;
border-radius:999px;
min-height:38px;
padding:0 16px;
background:white;
color:#0b4a34;
font-weight:900;
box-shadow:0 12px 28px rgba(0,0,0,0.18);
}

.about-photo-stage{
min-height:0;
display:grid;
place-items:center;
overflow:auto;
padding:28px;
}

.about-photo-stage img{
max-width:min(86vw,780px);
max-height:78vh;
object-fit:contain;
border-radius:18px;
box-shadow:0 28px 80px rgba(0,0,0,0.45);
transform-origin:center center;
transition:transform 0.18s ease;
}

.about-team-card h3{
font-family:'Playfair Display',Georgia,serif;
font-size:1.12rem;
margin-bottom:4px;
}

.about-team-card strong{
display:block;
font-size:0.8rem;
color:var(--about-gold);
margin-bottom:5px;
}

.about-team-card p,
.about-team-card a{
display:block;
font-size:0.78rem;
font-weight:700;
color:var(--about-muted);
}

.about-team-card a{
margin-top:4px;
}

.about-join-section{
padding:62px 0 0;
}

.about-join-card{
background:
radial-gradient(circle at 50% 0,rgba(255,255,255,0.08),transparent 36%),
var(--about-green);
color:white;
border-radius:12px 12px 0 0;
text-align:center;
padding:58px 24px 68px;
}

.about-join-card h2{
font-size:clamp(2rem,3.5vw,3rem);
line-height:1.18;
}

.about-join-card p{
max-width:540px;
margin:18px auto 32px;
font-size:1rem;
font-weight:600;
color:rgba(255,255,255,0.65);
}

.about-join-card a,
.about-nav-cta,
.about-footer-form button{
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:4px;
background:var(--about-gold);
color:#13261e;
font-size:0.9rem;
font-weight:900;
}

.about-join-card a{
min-width:150px;
min-height:46px;
}

.about-join-card .about-contact-email{
display:block;
margin-top:14px;
color:rgba(255,255,255,.78);
font-size:.76rem;
font-weight:400;
letter-spacing:.01em;
}

.about-join-card .about-contact-email strong{
color:#fff;
font-weight:600;
}

.about-bottom-nav{
min-height:64px;
padding:0 52px;
display:flex;
align-items:center;
justify-content:space-between;
gap:28px;
background:linear-gradient(90deg,var(--about-green),var(--about-green-deep));
color:white;
position:sticky;
top:0;
z-index:50;
box-shadow:0 14px 36px rgba(5,55,39,0.16);
}

.about-brand{
display:inline-flex;
align-items:center;
gap:12px;
color:white;
font-family:'Playfair Display',Georgia,serif;
font-weight:800;
font-size:1rem;
white-space:nowrap;
}

.about-brand img{
width:34px;
height:34px;
border-radius:6px;
object-fit:cover;
}

.about-bottom-nav ul{
display:flex;
align-items:center;
gap:30px;
list-style:none;
}

.about-bottom-nav a{
color:rgba(255,255,255,0.78);
font-size:0.84rem;
font-weight:800;
}

.about-bottom-nav a.active{
color:var(--about-gold);
}

.about-nav-cta{
min-width:118px;
min-height:38px;
color:#13261e !important;
}

.about-footer{
background:linear-gradient(135deg,var(--about-green),var(--about-green-deep));
color:white;
padding:72px 0 34px;
}

.about-footer-grid{
display:grid;
grid-template-columns:1.4fr 0.75fr 1fr;
gap:98px;
padding-bottom:58px;
border-bottom:1px solid rgba(255,255,255,0.12);
}

.about-footer h2{
font-size:1.75rem;
margin-bottom:24px;
}

.about-footer h3{
color:var(--about-gold);
font-size:0.86rem;
font-weight:900;
letter-spacing:0.12em;
text-transform:uppercase;
margin-bottom:26px;
}

.about-footer p{
max-width:390px;
color:rgba(255,255,255,0.66);
font-weight:600;
}

.about-footer a{
display:block;
color:rgba(255,255,255,0.68);
font-weight:700;
margin-bottom:12px;
}

.about-socials{
display:flex;
gap:16px;
margin-top:28px;
}

.about-socials a{
width:32px;
height:32px;
border-radius:5px;
background:rgba(255,255,255,0.12);
position:relative;
margin:0;
}

.about-socials a::after{
content:"";
position:absolute;
width:12px;
height:12px;
border-radius:50%;
background:white;
opacity:0.9;
left:10px;
top:10px;
}

.about-footer-form{
display:grid;
grid-template-columns:1fr auto;
gap:8px;
margin-top:26px;
padding:14px;
border-radius:8px;
background:rgba(255,255,255,0.08);
}

.about-footer-form input{
height:42px;
border:1px solid rgba(255,255,255,0.18);
border-radius:4px;
background:rgba(255,255,255,0.08);
color:white;
padding:0 14px;
outline:none;
font-weight:700;
min-width:0;
}

.about-footer-form input::placeholder{
color:rgba(255,255,255,0.52);
}

.about-footer-form button{
border:0;
height:42px;
padding:0 16px;
}

.about-footer-bottom{
display:flex;
align-items:center;
justify-content:space-between;
gap:24px;
padding-top:28px;
}

.about-footer-bottom p,
.about-footer-bottom span{
font-size:0.84rem;
font-weight:700;
color:rgba(255,255,255,0.68);
}

.about-footer-bottom span{
color:var(--about-gold);
}

@media(max-width:980px){
.home-hero{
min-height:520px;
}

.home-actions{
flex-wrap:wrap;
}

.home-btn{
font-size:0.74rem;
}

.stats-grid,
.journey-grid,
.impact-row{
grid-template-columns:repeat(2,1fr);
}

.roadmap-grid,
.story-grid,
.mission-grid,
.newsletter{
grid-template-columns:1fr;
}

.story-grid{
grid-template-columns:repeat(2,1fr);
}

.home-footer-nav{
align-items:flex-start;
padding:12px 20px;
}

.student-roadmap-title,
.level-row{
grid-template-columns:1fr;
}

.skill-cluster-grid,
.opportunity-grid,
.level-steps{
grid-template-columns:1fr 1fr;
}

.about-mission-grid,
.about-footer-grid{
grid-template-columns:1fr;
gap:42px;
}

.about-values-grid,
.about-team-grid{
grid-template-columns:repeat(2,1fr);
}

.about-wings-grid{
grid-template-columns:repeat(2,1fr);
}

.about-assist-grid{
grid-template-columns:1fr;
gap:34px;
}

.about-bottom-nav{
align-items:flex-start;
padding:16px 24px;
flex-wrap:wrap;
}

.about-bottom-nav ul{
order:3;
width:100%;
justify-content:center;
flex-wrap:wrap;
gap:16px 24px;
}

.menu-toggle{
display:block;
}

.home-nav-links{
display:none;
position:absolute;
left:20px;
right:20px;
top:calc(100% + 10px);
padding:18px;
border-radius:10px;
background:white;
box-shadow:0 18px 50px rgba(28,22,20,0.16);
flex-direction:column;
align-items:flex-start;
gap:14px;
}

.home-nav-links.is-open{
display:flex;
}
}

@media(max-width:640px){
.home-container{
width:min(100% - 28px,1180px);
}

.home-hero{
min-height:560px;
height:auto;
background-position:center;
}

.home-hero h1{
font-size:3.1rem;
}

.home-actions,
.newsletter form{
flex-direction:column;
align-items:stretch;
}

.home-btn,
.newsletter button,
.newsletter input{
width:100%;
}

.stats-grid,
.journey-grid,
.story-grid,
.impact-row,
.footer-columns,
.footer-bottom,
.skill-cluster-grid,
.opportunity-grid,
.level-steps,
.about-values-grid,
.about-team-grid,
.about-wings-grid,
.about-assist-list{
grid-template-columns:1fr;
}

.about-container{
width:min(100% - 32px,1120px);
}

.about-story-hero{
clip-path:polygon(0 0,100% 0,100% 92%,0 100%);
padding:58px 0 94px;
}

.about-story-hero h1{
line-height:1.18;
}

.about-mission-band,
.about-values-section,
.about-team-section{
padding:54px 0 28px;
}

.about-principle-card{
padding:34px 24px;
}

.about-bottom-nav{
position:relative;
top:auto;
display:block;
padding:18px 18px 22px;
}

.about-bottom-nav ul{
margin:18px 0;
justify-content:flex-start;
}

.about-nav-cta{
width:100%;
}

.about-footer{
padding-top:52px;
}

.about-footer-form,
.about-footer-bottom{
grid-template-columns:1fr;
display:grid;
}

.about-footer-bottom{
align-items:flex-start;
}

.student-roadmap-hero{
padding:42px 0 56px;
}

.student-roadmap-icon{
width:74px;
height:74px;
font-size:2.2rem;
}

.student-roadmap-title{
gap:22px;
}

.roadmap-skills-section,
.roadmap-opportunities-section,
.level-roadmap-section{
padding:64px 0;
}

.level-row{
padding:26px 22px;
}

.roadmap-return-row{
align-items:flex-start;
flex-direction:column;
}

.stat-item{
align-items:center;
text-align:center;
}

.journey-section,
.program-preview,
.success-section,
.mission-section{
padding:70px 0;
}

.section-row{
display:block;
}

.section-row .section-link{
display:inline-flex;
margin-top:12px;
}

.newsletter{
padding:26px 20px;
}

.newsletter input{
width:100%;
}

.footer-bottom,
.socials{
justify-items:start;
justify-content:flex-start;
}
}

/* MOBILE RESPONSIVENESS */

@media(max-width:768px){

.navbar{
flex-direction:column;
gap:15px;
text-align:center;
}

.nav-links{
justify-content:center;
}

.hero{
height:auto;
padding:80px 20px;
}

.hero h1{
font-size:2.5rem;
}

.hero p{
font-size:1rem;
}

.program-grid,
.about-grid,
.books-grid{
grid-template-columns:1fr;
}

.programs,
.about-section,
.books-section{
padding:50px 5%;
}

.hero-buttons{
flex-direction:column;
align-items:center;
}

.hero-buttons button{
width:250px;
}

}
.program-card img{
width:100%;
height:220px;
object-fit:cover;
border-radius:15px;
margin-bottom:20px;
transition:all 0.3s ease;
}

.program-card:hover img{
transform:scale(1.05);
}
.program-card p{
line-height:1.8;
}
/* TERTIARY LIFE PAGE */

.about-card{
background:white;
padding:35px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:all 0.3s ease;
border-top:5px solid #0a2342;
}

.about-card:hover{
transform:translateY(-10px);
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.about-card h3{
color:#0a2342;
font-size:1.4rem;
margin-bottom:15px;
font-weight:700;
}

.about-card p{
line-height:1.9;
font-size:1rem;
}

.about-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));
gap:30px;
margin-top:40px;
}

/* BOOK PROMOTION CARD */

.about-card:last-child{
background:linear-gradient(
135deg,
#0a2342,
#163a66
);

color:white;
border-top:none;
}

.about-card:last-child h3{
color:#ffd700;
}

/* PAGE HEADING */

.programs h1{
font-size:3rem;
font-weight:800;
color:#0a2342;
margin-bottom:20px;
text-transform:uppercase;
}

.about-intro{
max-width:900px;
margin:auto;
margin-bottom:50px;
line-height:1.9;
font-size:1.05rem;
}

/* IMAGE BANNER */

.programs img{
width:100%;
max-width:900px;
display:block;
margin:30px auto;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

/* SMOOTH HOVER EFFECTS */

.about-card,
.program-card,
.book-card{
transition:all 0.3s ease;
}

/* MOBILE */

@media(max-width:768px){

.about-grid{
grid-template-columns:1fr;
}

.programs h1{
font-size:2.2rem;
}

.about-card{
padding:25px;
}

}
.filter-bar{
display:flex;
flex-wrap:wrap;
gap:12px;
justify-content:center;
margin-bottom:40px;
}

.filter-bar button{
padding:10px 18px;
border:none;
border-radius:30px;
background:white;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
font-weight:600;
}

.filter-bar button.active{
background:#0a2342;
color:white;
}

/* ENTREPRENEURSHIP HUB */

.enterprise-hero{
min-height:72vh;
display:flex;
align-items:center;
padding:120px 8%;
background:
linear-gradient(
90deg,
rgba(10,35,66,0.92),
rgba(18,60,107,0.72),
rgba(10,35,66,0.35)
),
url("../ASSETS/images/entrepreneurship-hub-hero.png");
background-size:cover;
background-position:center;
color:white;
}

.enterprise-hero-content{
max-width:850px;
}

.enterprise-eyebrow,
.enterprise-section-head span{
display:inline-flex;
padding:8px 14px;
border-radius:999px;
background:rgba(212,160,23,0.16);
color:#f6d365;
font-size:0.78rem;
font-weight:800;
letter-spacing:0.1em;
text-transform:uppercase;
margin-bottom:18px;
}

.enterprise-hero h1{
font-size:clamp(2.6rem,6vw,5.2rem);
line-height:1.06;
font-weight:800;
max-width:980px;
margin-bottom:22px;
}

.enterprise-hero p{
max-width:760px;
font-size:1.13rem;
line-height:1.85;
color:rgba(255,255,255,0.9);
}

.enterprise-actions{
display:flex;
flex-wrap:wrap;
gap:14px;
margin-top:34px;
}

.enterprise-actions a,
.enterprise-cta a,
.submission-card a{
display:inline-flex;
align-items:center;
justify-content:center;
padding:13px 22px;
border-radius:999px;
background:white;
color:#0a2342;
text-decoration:none;
font-weight:800;
box-shadow:0 14px 30px rgba(0,0,0,0.18);
transition:all 0.3s ease;
}

.enterprise-actions a:hover,
.enterprise-cta a:hover,
.submission-card a:hover{
transform:translateY(-4px);
background:#f8fbff;
}

.ecosystem-form{
display:grid;
gap:14px;
align-content:start;
}

.ecosystem-form h3{
margin-bottom:0;
}

.ecosystem-form > p{
margin-bottom:4px;
}

.ecosystem-form label{
display:grid;
gap:7px;
color:#334155;
font-size:0.74rem;
font-weight:800;
text-transform:uppercase;
letter-spacing:0.03em;
}

.ecosystem-form input,
.ecosystem-form select,
.ecosystem-form textarea{
width:100%;
border:1px solid rgba(31,93,153,0.16);
border-radius:12px;
background:#f8fbff;
color:#0a2342;
font:inherit;
font-size:0.9rem;
font-weight:600;
padding:12px 13px;
outline:3px solid transparent;
}

.ecosystem-form textarea{
resize:vertical;
min-height:105px;
}

.ecosystem-form input:focus,
.ecosystem-form select:focus,
.ecosystem-form textarea:focus{
outline-color:rgba(212,160,23,0.28);
border-color:#d4a017;
background:white;
}

.ecosystem-form button{
width:max-content;
min-height:44px;
border:0;
border-radius:999px;
background:#0a2342;
color:white;
font:inherit;
font-weight:900;
padding:0 20px;
cursor:pointer;
box-shadow:0 12px 24px rgba(10,35,66,0.18);
}

.form-two{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:12px;
}

.form-status{
min-height:20px;
color:#16a34a;
font-size:0.82rem;
font-weight:800;
}
.form-status[data-state="error"]{color:#b42318}
.form-status[data-state="success"]{color:#15803d}
.form-status[data-state="info"]{color:#315a82}
.community-post-card small a{color:inherit;font-weight:800;text-underline-offset:3px}

.enterprise-section{
padding:100px 8%;
background:linear-gradient(
135deg,
#0a2342,
#123c6b,
#1f5d99
);
}

.enterprise-section.light-section,
.submission-section{
background:#f8fbff;
}

.enterprise-section-head{
max-width:900px;
margin:0 auto 44px;
text-align:center;
}

.enterprise-section-head h2{
font-size:clamp(2rem,4vw,3.6rem);
line-height:1.1;
font-weight:800;
color:white;
text-transform:uppercase;
margin-bottom:16px;
}

.enterprise-section-head p{
color:rgba(255,255,255,0.86);
font-size:1.02rem;
line-height:1.8;
}

.light-section .enterprise-section-head h2,
.submission-section .enterprise-section-head h2{
color:#0a2342;
}

.light-section .enterprise-section-head p,
.submission-section .enterprise-section-head p{
color:#475569;
}

.enterprise-flow{
background:#f8fbff;
}

.enterprise-start{
background:#f8fbff;
}

.enterprise-flow .enterprise-section-head h2{
color:#0a2342;
}

.enterprise-flow .enterprise-section-head p,
.enterprise-start .enterprise-section-head p{
color:#475569;
}

.enterprise-start .enterprise-section-head h2{
color:#0a2342;
}

.enterprise-start-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
gap:20px;
}

.enterprise-start-grid article{
background:white;
border-radius:20px;
border-top:5px solid #d4a017;
padding:28px;
box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

.enterprise-start-grid strong{
display:inline-grid;
place-items:center;
width:42px;
height:42px;
border-radius:14px;
background:#0a2342;
color:white;
margin-bottom:18px;
}

.enterprise-start-grid h3{
color:#0a2342;
font-size:1.15rem;
margin-bottom:10px;
}

.enterprise-start-grid p{
color:#475569;
line-height:1.7;
margin-bottom:18px;
}

.enterprise-start-grid a{
display:inline-flex;
align-items:center;
min-height:38px;
border-radius:999px;
background:#0a2342;
color:white;
font-weight:800;
text-decoration:none;
padding:0 15px;
}

.flow-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:18px;
}

.flow-step{
background:white;
border-radius:18px;
padding:24px;
box-shadow:0 15px 35px rgba(0,0,0,0.1);
border-top:5px solid #1f5d99;
}

.flow-step strong{
display:block;
color:#0a2342;
font-size:1.05rem;
margin-bottom:10px;
}

.flow-step span{
color:#475569;
line-height:1.7;
}

.hub-toolbar{
max-width:1100px;
margin:0 auto 36px;
}

.hub-toolbar input{
width:100%;
padding:18px 22px;
border:none;
border-radius:16px;
font-size:1rem;
box-shadow:0 15px 35px rgba(0,0,0,0.18);
outline:3px solid transparent;
margin-bottom:18px;
}

.hub-toolbar input:focus{
outline-color:rgba(212,160,23,0.35);
}

.hub-filters,
.marketplace-categories,
.match-categories{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:12px;
}

.hub-filters button,
.marketplace-categories button,
.match-categories span{
border:none;
border-radius:999px;
padding:10px 16px;
background:white;
color:#0a2342;
font-weight:800;
box-shadow:0 10px 24px rgba(0,0,0,0.13);
}

.hub-filters button,
.marketplace-categories button{
cursor:pointer;
transition:all 0.3s ease;
}

.hub-filters button.active,
.hub-filters button:hover,
.marketplace-categories button.active,
.marketplace-categories button:hover{
background:#d4a017;
color:#0a2342;
transform:translateY(-2px);
}

.enterprise-grid,
.market-grid,
.match-grid,
.community-grid,
.submission-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:28px;
}

.enterprise-card,
.listing-card,
.match-card,
.community-grid article,
.submission-card,
.monetization-panel{
background:white;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,0.15);
transition:all 0.3s ease;
border-top:5px solid #1f5d99;
padding:30px;
}

.community-post-card{
border-top-color:#d4a017;
}

.community-post-card.partner{
border-top-color:#16a34a;
}

.community-post-card span{
display:inline-flex;
align-items:center;
height:24px;
border-radius:999px;
background:rgba(212,160,23,0.16);
color:#8a630c;
font-size:0.72rem;
font-weight:900;
padding:0 10px;
margin-bottom:13px;
}

.community-post-card small{
display:block;
margin-top:16px;
color:#64748b;
font-size:0.78rem;
font-weight:800;
}

.enterprise-card:hover,
.listing-card:hover,
.match-card:hover,
.community-grid article:hover,
.submission-card:hover{
transform:translateY(-10px);
box-shadow:0 22px 48px rgba(0,0,0,0.22);
border-top-color:#d4a017;
}

.enterprise-card[hidden]{
display:none;
}

.card-icon{
width:46px;
height:46px;
border-radius:14px;
background:linear-gradient(135deg,#0a2342,#1f5d99);
color:white;
display:inline-flex;
align-items:center;
justify-content:center;
font-weight:800;
margin-bottom:18px;
}

.enterprise-card h3,
.listing-card h3,
.match-card h3,
.community-grid h3,
.submission-card h3,
.monetization-panel h3{
color:#0a2342;
font-size:1.22rem;
margin-bottom:12px;
}

.enterprise-card p,
.listing-card p,
.match-card p,
.community-grid p,
.submission-card p,
.monetization-panel p{
color:#475569;
line-height:1.75;
}

.enterprise-card ul{
margin-top:18px;
padding-left:20px;
color:#334155;
line-height:1.9;
}

.mindset-mini-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
gap:14px;
margin-top:20px;
}

.mindset-mini-card{
background:#f8fbff;
border:1px solid rgba(31,93,153,0.12);
border-radius:16px;
padding:18px;
box-shadow:0 10px 24px rgba(10,35,66,0.08);
transition:all 0.3s ease;
}

.mindset-mini-card:hover{
transform:translateY(-6px);
box-shadow:0 16px 34px rgba(10,35,66,0.16);
border-color:rgba(212,160,23,0.55);
}

.mindset-mini-card h4{
color:#0a2342;
font-size:0.9rem;
line-height:1.35;
margin-bottom:8px;
font-weight:800;
}

.mindset-mini-card p{
color:#475569;
font-size:0.92rem;
line-height:1.7;
}

.enterprise-cta{
margin:42px auto 0;
max-width:900px;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
background:rgba(255,255,255,0.1);
border:1px solid rgba(255,255,255,0.16);
border-radius:20px;
padding:24px;
color:white;
}

.enterprise-cta p{
font-weight:700;
}

.marketplace-section{
position:relative;
}

.marketplace-visual{
max-width:1120px;
margin:0 auto 42px;
border-radius:24px;
overflow:hidden;
box-shadow:0 24px 60px rgba(0,0,0,0.32);
}

.marketplace-visual img{
display:block;
width:100%;
height:360px;
object-fit:cover;
}

.marketplace-categories,
.match-categories{
margin-bottom:34px;
}

.marketplace-search-wrap{
position:relative;
display:flex;
align-items:center;
width:min(860px,100%);
margin:0 auto 24px;
}

.marketplace-search-wrap span{
position:absolute;
left:20px;
z-index:1;
color:#57708b;
font-size:1.35rem;
pointer-events:none;
}

.marketplace-search-wrap input{
width:100%;
min-height:58px;
padding:0 22px 0 54px;
border:1px solid rgba(255,255,255,.42);
border-radius:16px;
outline:none;
background:#fff;
color:#0a2342;
font:500 1rem/1.4 inherit;
box-shadow:0 14px 34px rgba(4,23,45,.18);
transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}

.marketplace-search-wrap input::placeholder{color:#75869a}
.marketplace-search-wrap input:focus{border-color:#f2a900;box-shadow:0 0 0 4px rgba(242,169,0,.18),0 18px 40px rgba(4,23,45,.22);transform:translateY(-1px)}

.marketplace-status{
max-width:1120px;
margin:0 auto 24px;
color:#dbeafe;
font-weight:700;
text-align:center;
}

.marketplace-empty{grid-column:1 / -1;padding:48px 28px;border:1px solid rgba(255,255,255,.22);border-radius:20px;background:rgba(255,255,255,.08);text-align:center;color:#dbeafe}
.marketplace-empty h3{color:#fff;margin:0 0 8px}
.marketplace-empty p{margin:0 0 20px}
.marketplace-empty a,.marketplace-contact-note a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:999px;background:#f2a900;color:#071b33;font-weight:800;text-decoration:none}
.marketplace-contact-note{max-width:1120px;margin:28px auto 0;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(7,27,51,.34);color:#dbeafe}
.marketplace-contact-note div{display:grid;gap:4px}
.marketplace-contact-note strong{color:#fff}

.listing-category{
display:inline-flex;
padding:7px 12px;
border-radius:999px;
background:rgba(31,93,153,0.1);
color:#1f5d99;
font-size:0.78rem;
font-weight:800;
margin-bottom:14px;
}

.listing-meta{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
margin:22px 0;
color:#475569;
}

.listing-meta strong{
color:#16a34a;
white-space:nowrap;
}

.listing-actions{
display:flex;
gap:12px;
flex-wrap:wrap;
}

.listing-actions a,
.listing-actions button{
flex:1;
min-width:130px;
text-align:center;
text-decoration:none;
border-radius:999px;
padding:11px 14px;
font-weight:800;
background:#0a2342;
color:white;
transition:all 0.3s ease;
border:none;
font-family:inherit;
font-size:1rem;
cursor:pointer;
}

.listing-actions a:last-child{
background:#16a34a;
}

.listing-actions a:hover,
.listing-actions button:hover{
transform:translateY(-3px);
}

.seller-modal{
position:fixed;
inset:0;
background:rgba(7,27,51,0.72);
display:none;
align-items:center;
justify-content:center;
padding:24px;
z-index:9999;
backdrop-filter:blur(8px);
}

.seller-modal.active{
display:flex;
}

.seller-modal-panel{
width:min(760px,100%);
max-height:90vh;
overflow:auto;
background:white;
border-radius:24px;
box-shadow:0 30px 80px rgba(0,0,0,0.35);
border-top:6px solid #1f5d99;
padding:34px;
position:relative;
}

.seller-modal-close{
position:absolute;
top:18px;
right:18px;
width:42px;
height:42px;
border:none;
border-radius:50%;
background:#eef4fb;
color:#0a2342;
font-size:1.8rem;
line-height:1;
cursor:pointer;
font-weight:700;
}

.seller-modal-head{
padding-right:46px;
margin-bottom:24px;
}

.seller-modal-head span{
display:inline-flex;
padding:7px 12px;
border-radius:999px;
background:rgba(31,93,153,0.1);
color:#1f5d99;
font-size:0.78rem;
font-weight:800;
margin-bottom:12px;
}

.seller-modal-head h2{
color:#0a2342;
font-size:clamp(1.7rem,3vw,2.5rem);
line-height:1.15;
margin-bottom:12px;
}

.seller-modal-head p{
color:#475569;
line-height:1.8;
}

.seller-detail-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:16px;
margin:24px 0;
}

.seller-detail-grid div{
background:#f8fbff;
border:1px solid rgba(31,93,153,0.12);
border-radius:16px;
padding:18px;
}

.seller-detail-grid strong{
display:block;
color:#0a2342;
font-size:0.82rem;
text-transform:uppercase;
letter-spacing:0.05em;
margin-bottom:8px;
}

.seller-detail-grid p{
color:#334155;
font-weight:600;
line-height:1.6;
word-break:break-word;
}

.seller-modal-actions{
display:flex;
flex-wrap:wrap;
gap:12px;
margin-top:20px;
}

.seller-modal-actions a{
flex:1;
min-width:150px;
text-align:center;
text-decoration:none;
border-radius:999px;
padding:13px 18px;
font-weight:800;
background:#0a2342;
color:white;
transition:all 0.3s ease;
}

.seller-modal-actions a:nth-child(2){
background:#1f5d99;
}

.seller-modal-actions a:nth-child(3){
background:#16a34a;
}

.seller-modal-actions a:hover{
transform:translateY(-3px);
}

.seller-modal-actions a[hidden]{display:none}

.monetization-panel{
max-width:900px;
margin:36px auto 0;
border-top-color:#d4a017;
}

.community-section{
background:linear-gradient(135deg,#071b33,#0a2342,#123c6b);
}

.submission-card{
display:flex;
flex-direction:column;
gap:16px;
}

.submission-card a{
width:max-content;
margin-top:auto;
background:#0a2342;
color:white;
}

@media(max-width:768px){
.enterprise-hero{
padding:90px 5%;
min-height:auto;
}

.enterprise-section{
padding:70px 5%;
}

.enterprise-actions,
.enterprise-cta{
flex-direction:column;
align-items:stretch;
}

.enterprise-actions a,
.enterprise-cta a,
.submission-card a{
width:100%;
}

.marketplace-visual img{
height:240px;
}

.listing-meta{
align-items:flex-start;
flex-direction:column;
}
}

/* PROFESSIONAL ROADMAP THEME */

body{
background:
linear-gradient(
135deg,
#fff3e6,
#c2410c 45%,
#7f1d1d
);
color:#172033;
}

.navbar,
footer{
background:#071b33;
}

.programs{
padding:70px 8%;
}

.programs h1,
.programs h2,
.about-section h2{
color:#071b33;
letter-spacing:0;
}

.about-intro{
color:#25344d;
font-weight:500;
}

.program-category{
background:rgba(255,255,255,0.28);
border-top:1px solid rgba(7,27,51,0.08);
}

.program-card,
.about-card,
.book-card{
background:linear-gradient(
135deg,
#f8fafc,
#edf3f8
);
border:1px solid rgba(7,27,51,0.12);
border-top:5px solid #0f766e;
box-shadow:0 14px 30px rgba(7,27,51,0.12);
color:#172033;
}

.program-card:nth-child(1),
.program-card:nth-child(2),
.program-card:nth-child(3){
background:linear-gradient(
135deg,
#f8fafc,
#edf3f8
);
}

.program-card:hover,
.about-card:hover,
.book-card:hover{
box-shadow:0 18px 42px rgba(7,27,51,0.22);
border-top-color:#c58b20;
}

.program-card h3,
.about-card h3{
color:#071b33;
}

.program-card p,
.about-card p{
color:#334155;
}

.about-section{
background:linear-gradient(
135deg,
#eef4f8,
#e3ebf2
);
border:1px solid rgba(7,27,51,0.1);
box-shadow:0 16px 38px rgba(7,27,51,0.12);
}

.filter-bar button{
background:#f8fafc;
color:#071b33;
border:1px solid rgba(7,27,51,0.12);
box-shadow:0 8px 20px rgba(7,27,51,0.12);
}

.filter-bar button:hover{
background:#e2e8f0;
transform:translateY(-2px);
}

.filter-bar button.active{
background:#0f766e;
color:white;
border-color:#0f766e;
box-shadow:0 10px 24px rgba(15,118,110,0.25);
}

section.programs:first-of-type{
background:linear-gradient(
135deg,
#7f1d1d,
#ea580c
);
}

.program-category{
background:rgba(255,237,213,0.58);
}

.program-card,
.about-card,
.book-card{
background:linear-gradient(
135deg,
#fff7ed,
#fed7aa
);
border:1px solid rgba(154,52,18,0.22);
border-top-color:#c2410c;
box-shadow:0 14px 30px rgba(154,52,18,0.18);
}

.program-card:nth-child(1),
.program-card:nth-child(2),
.program-card:nth-child(3){
background:linear-gradient(
135deg,
#fff7ed,
#fed7aa
);
}

.program-card:hover,
.about-card:hover,
.book-card:hover{
border-top-color:#7f1d1d;
box-shadow:0 18px 42px rgba(154,52,18,0.28);
}

.filter-bar button{
background:#fff7ed;
border-color:rgba(154,52,18,0.2);
box-shadow:0 8px 20px rgba(154,52,18,0.16);
}

.filter-bar button:hover{
background:#fed7aa;
}

.filter-bar button.active{
background:#c2410c;
border-color:#c2410c;
box-shadow:0 10px 24px rgba(194,65,12,0.34);
}

.about-section{
background:linear-gradient(
135deg,
#fff7ed,
#fed7aa
);
border-color:rgba(154,52,18,0.2);
box-shadow:0 16px 38px rgba(154,52,18,0.16);
}

/* HOME HERO PHOTO */

.hero{
min-height:60vh;
height:auto;
padding:90px 20px;
background:
linear-gradient(
rgba(7,27,51,0.72),
rgba(120,53,15,0.50)
),
url("../ASSETS/images/hero-ae-connect-branded.jpg");
background-size:cover;
background-position:center 48%;
}

.hero-content{
max-width:920px;
}

.hero h1{
text-shadow:0 4px 18px rgba(0,0,0,0.35);
}

.hero p{
text-shadow:0 2px 12px rgba(0,0,0,0.35);
}

.hero-buttons button{
background:#fffaf4;
color:#071b33;
box-shadow:0 10px 24px rgba(7,27,51,0.24);
}

.hero-buttons button:hover{
background:#ffedd5;
}

/* PREMIUM A.E CONNECT BRAND SYSTEM */

:root{
--ae-primary:#0a2342;
--ae-secondary:#123c6b;
--ae-accent:#1f5d99;
--ae-success:#16a34a;
--ae-warning:#d4a017;
--ae-card:#ffffff;
--ae-warm-card:#fff7ed;
--ae-text:#132238;
}

body{
background:linear-gradient(
135deg,
#0a2342,
#123c6b,
#1f5d99
);
color:var(--ae-text);
}

.navbar,
footer{
background:rgba(10,35,66,0.98);
}

.nav-links a:hover{
color:var(--ae-warning);
}

.hero{
background:
linear-gradient(
rgba(10,35,66,0.78),
rgba(18,60,107,0.62)
),
url("../ASSETS/images/hero-ae-connect-branded.jpg");
background-size:cover;
background-position:center 48%;
}

.programs,
.books-section{
padding:100px 8%;
background:linear-gradient(
135deg,
#0a2342,
#123c6b,
#1f5d99
);
}

section.programs:first-of-type{
background:linear-gradient(
135deg,
#0a2342,
#123c6b,
#1f5d99
);
}

.programs h1,
.programs h2,
.books-section h2{
color:white;
letter-spacing:0;
}

.books-intro{
color:rgba(255,255,255,0.86);
}

.program-grid,
.about-grid,
.books-grid{
gap:32px;
}

.program-card,
.about-card,
.book-card{
background:var(--ae-card);
border:1px solid rgba(255,255,255,0.12);
border-top:5px solid var(--ae-accent);
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,0.15);
transition:all 0.3s ease;
color:var(--ae-text);
overflow:hidden;
}

.program-card:nth-child(1),
.program-card:nth-child(2),
.program-card:nth-child(3){
background:var(--ae-card);
}

.program-card:hover,
.about-card:hover,
.book-card:hover{
transform:translateY(-10px);
box-shadow:0 22px 48px rgba(0,0,0,0.24);
border-top-color:var(--ae-warning);
}

.program-card{
padding:0;
text-align:left;
display:flex;
flex-direction:column;
min-height:100%;
}

.program-card img{
width:100%;
height:230px;
object-fit:cover;
border-radius:0;
margin:0;
box-shadow:none;
transition:all 0.3s ease;
}

.program-card:hover img{
transform:scale(1.04);
}

.program-card-content{
padding:28px;
display:flex;
flex-direction:column;
gap:14px;
flex:1;
}

.program-tag{
display:inline-flex;
align-items:center;
width:max-content;
padding:7px 12px;
border-radius:999px;
background:rgba(31,93,153,0.1);
color:var(--ae-accent);
font-size:0.78rem;
font-weight:800;
letter-spacing:0.06em;
text-transform:uppercase;
}

.program-card h3,
.about-card h3,
.book-card h3{
color:var(--ae-primary);
margin-bottom:0;
}

.program-card p,
.about-card p,
.book-card p{
color:#334155;
}

.program-link-text{
margin-top:auto;
color:var(--ae-accent);
font-weight:800;
text-transform:uppercase;
font-size:0.85rem;
letter-spacing:0.04em;
}

.about-section{
padding:100px 8%;
margin:0;
border-radius:0;
background:#f8fbff;
border:none;
box-shadow:none;
}

.about-section h2{
color:var(--ae-primary);
font-size:3rem;
font-weight:800;
text-align:center;
text-transform:uppercase;
}

.about-card{
padding:35px;
}

.about-card:last-child{
background:linear-gradient(
135deg,
var(--ae-primary),
var(--ae-secondary)
);
color:white;
}

.about-card:last-child h3{
color:white;
}

.about-card:last-child p{
color:rgba(255,255,255,0.86);
}

.book-card{
background:var(--ae-warm-card);
padding:35px;
}

.filter-bar button{
background:white;
color:var(--ae-primary);
border:1px solid rgba(255,255,255,0.22);
box-shadow:0 10px 24px rgba(0,0,0,0.15);
}

.filter-bar button:hover{
background:#f8fbff;
transform:translateY(-2px);
}

.filter-bar button.active{
background:var(--ae-accent);
border-color:var(--ae-accent);
color:white;
box-shadow:0 12px 28px rgba(31,93,153,0.34);
}

.program-category{
background:rgba(255,255,255,0.08);
border-top:1px solid rgba(255,255,255,0.12);
}

.hero-buttons button{
background:white;
color:var(--ae-primary);
box-shadow:0 15px 35px rgba(0,0,0,0.18);
}

.hero-buttons button:hover{
background:#f8fbff;
transform:translateY(-4px);
}

@media(max-width:768px){
.form-two{
grid-template-columns:1fr;
}

.programs,
.about-section,
.books-section{
padding:70px 5%;
}

.programs h1,
.programs h2,
.about-section h2,
.books-section h2{
font-size:2.2rem;
}

.program-card img{
height:210px;
}
}

/* BEYOND THE LECTURE ROOM PROGRAM CARDS */

.beyond-page{
background:#fff7ed;
color:#1f2937;
}

.beyond-page .programs{
background:#fff7ed;
}

.beyond-page .programs:first-of-type{
padding:100px 8% 46px;
}

.beyond-page .programs h1{
color:#0a2342;
font-size:clamp(2.5rem,5vw,4.4rem);
letter-spacing:0;
}

.beyond-page .programs h2{
color:#0a2342;
font-size:clamp(2rem,4vw,3.4rem);
letter-spacing:0;
}

.beyond-page .about-intro{
max-width:930px;
margin:24px auto 0;
color:#475569;
line-height:1.85;
}

.beyond-page .filter-bar{
max-width:1160px;
margin:46px auto 0;
}

.beyond-page .filter-bar button{
background:white;
color:#0a2342;
border:1px solid rgba(10,35,66,0.08);
box-shadow:0 12px 28px rgba(10,35,66,0.08);
}

.beyond-page .filter-bar button.active,
.beyond-page .filter-bar button:hover{
background:#0a4a3b;
color:white;
border-color:#0a4a3b;
}

.beyond-page .program-category{
background:#fff7ed;
border-top:0;
padding:72px 8%;
}

.beyond-page .program-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:28px;
align-items:stretch;
}

.beyond-page .program-card{
position:relative;
display:flex;
flex-direction:column;
min-height:386px;
padding:0;
border:1px solid rgba(120,82,45,0.2);
border-top:0;
border-radius:14px;
background:#fffdf8;
box-shadow:0 18px 40px rgba(75,52,28,0.08);
overflow:hidden;
text-decoration:none;
color:#3f3328;
transform:none;
}

.beyond-page .program-card::before{
content:"";
position:absolute;
inset:0 0 auto;
height:186px;
background:linear-gradient(135deg,#0a4a3b,#063527);
z-index:0;
}

.beyond-page .program-card::after{
content:"";
position:absolute;
top:-28px;
right:-28px;
width:118px;
height:118px;
border-radius:50%;
background:rgba(255,255,255,0.08);
z-index:1;
}

.beyond-page .program-card[data-theme="blue"]::before{
background:linear-gradient(135deg,#16395f,#1f5d99);
}

.beyond-page .program-card[data-theme="purple"]::before{
background:linear-gradient(135deg,#3a145f,#5b237d);
}

.beyond-page .program-card[data-theme="teal"]::before{
background:linear-gradient(135deg,#073642,#0f766e);
}

.beyond-page .program-card[data-theme="brown"]::before{
background:linear-gradient(135deg,#2d1b08,#5b370c);
}

.beyond-page .program-card[data-theme="indigo"]::before{
background:linear-gradient(135deg,#172554,#4338ca);
}

.beyond-page .program-card[data-theme="slate"]::before{
background:linear-gradient(135deg,#0f172a,#334155);
}

.beyond-page .program-card[data-theme="gold"]::before{
background:linear-gradient(135deg,#5b370c,#a16207);
}

.beyond-page .program-card:hover{
transform:translateY(-8px);
box-shadow:0 24px 54px rgba(75,52,28,0.18);
border-color:rgba(10,74,59,0.35);
}

.beyond-page .program-card-icon{
position:relative;
z-index:2;
display:inline-flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
margin:36px 0 0 24px;
border-radius:12px;
background:rgba(255,255,255,0.16);
color:white;
font-size:0.82rem;
font-weight:800;
letter-spacing:0.02em;
box-shadow:inset 0 0 0 1px rgba(255,255,255,0.2);
}

.beyond-page .program-card h3{
position:relative;
z-index:2;
min-height:82px;
display:flex;
align-items:flex-end;
padding:12px 24px 22px;
margin:0;
color:white;
font-size:1.22rem;
line-height:1.35;
font-weight:800;
font-family:Georgia, "Times New Roman", serif;
text-transform:none;
}

.beyond-page .program-card p{
position:relative;
z-index:2;
padding:24px 24px 0;
margin:0;
color:#6b5a49;
line-height:1.75;
font-size:0.96rem;
}

.beyond-page .program-card-tags{
display:flex;
flex-wrap:wrap;
gap:7px;
padding:18px 24px 16px;
margin-top:auto;
border-bottom:1px solid rgba(120,82,45,0.18);
}

.beyond-page .program-card-tags span{
display:inline-flex;
align-items:center;
padding:6px 10px;
border-radius:5px;
background:#fdecc8;
color:#2c2419;
font-size:0.72rem;
font-weight:800;
font-family:Georgia, "Times New Roman", serif;
}

.beyond-page .program-card-footer{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
padding:18px 24px 20px;
color:#6b5a49;
font-size:0.82rem;
}

.beyond-page .program-card-footer strong{
color:#0a4a3b;
font-weight:800;
white-space:nowrap;
}

.beyond-page .program-card[data-theme="blue"] .program-card-footer strong{
color:#16395f;
}

.beyond-page .program-card[data-theme="purple"] .program-card-footer strong{
color:#4c1d70;
}

.beyond-page footer{
background:#0a2342;
}

@media(max-width:768px){
.beyond-page .programs:first-of-type,
.beyond-page .program-category{
padding-left:5%;
padding-right:5%;
}

.beyond-page .program-grid{
grid-template-columns:1fr;
}

.beyond-page .program-card{
min-height:360px;
}
}

/* UNIVERSAL SKILLS HUB */

.skills-hub-page{
background:#fff7ed;
color:#1f2937;
}

.skills-hero{
padding:120px 8% 70px;
text-align:center;
background:#fff7ed;
}

.skills-hero span,
.skill-section-head span{
display:inline-flex;
padding:8px 14px;
border-radius:999px;
background:#fdecc8;
color:#a16207;
font-size:0.78rem;
font-weight:800;
letter-spacing:0.08em;
}

.skills-hero h1{
max-width:1050px;
margin:22px auto;
color:#0a2342;
font-size:clamp(2.4rem,5vw,4.5rem);
line-height:1.08;
font-weight:800;
}

.skills-hero p{
max-width:980px;
margin:0 auto;
color:#475569;
line-height:1.85;
font-size:1.04rem;
}

.skills-panel{
padding:20px 8% 100px;
background:#fff7ed;
}

.skills-toolbar{
max-width:1180px;
margin:0 auto 48px;
}

.skills-toolbar input{
width:100%;
border:1px solid rgba(10,35,66,0.08);
border-radius:18px;
padding:18px 22px;
font-family:inherit;
font-weight:700;
box-shadow:0 12px 28px rgba(10,35,66,0.08);
}

.skill-filter-row{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:12px;
margin-top:18px;
}

.skill-filter-row button{
border:1px solid rgba(10,35,66,0.08);
border-radius:999px;
padding:10px 16px;
background:white;
color:#0a2342;
font-family:inherit;
font-weight:800;
cursor:pointer;
box-shadow:0 10px 24px rgba(10,35,66,0.08);
transition:all 0.3s ease;
}

.skill-filter-row button.active,
.skill-filter-row button:hover{
background:#0a4a3b;
border-color:#0a4a3b;
color:white;
transform:translateY(-2px);
}

.skills-status{
max-width:1180px;
margin:0 auto 28px;
color:#475569;
font-weight:800;
text-align:center;
}

.skill-level-section{
max-width:1220px;
margin:0 auto 78px;
}

.skill-level-section[hidden]{
display:none;
}

.skill-section-head{
text-align:center;
margin-bottom:28px;
}

.skill-section-head h2{
color:#0a2342;
font-size:clamp(2rem,4vw,3.3rem);
line-height:1.1;
font-weight:800;
margin:16px 0 12px;
}

.skill-section-head p{
color:#475569;
line-height:1.75;
}

.universal-skill-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:28px;
align-items:stretch;
}

.universal-skill-card{
position:relative;
display:flex;
flex-direction:column;
min-height:430px;
padding:0;
border:1px solid rgba(120,82,45,0.2);
border-radius:14px;
background:#fffdf8;
box-shadow:0 18px 40px rgba(75,52,28,0.08);
overflow:hidden;
text-decoration:none;
color:#3f3328;
transition:all 0.3s ease;
}

.universal-skill-card::before{
content:"";
position:absolute;
inset:0 0 auto;
height:190px;
background:linear-gradient(135deg,#0a4a3b,#063527);
z-index:0;
}

.universal-skill-card::after{
content:"";
position:absolute;
top:-28px;
right:-28px;
width:118px;
height:118px;
border-radius:50%;
background:rgba(255,255,255,0.08);
z-index:1;
}

.universal-skill-card[data-theme="blue"]::before{
background:linear-gradient(135deg,#16395f,#1f5d99);
}

.universal-skill-card[data-theme="purple"]::before{
background:linear-gradient(135deg,#3a145f,#5b237d);
}

.universal-skill-card[data-theme="teal"]::before{
background:linear-gradient(135deg,#073642,#0f766e);
}

.universal-skill-card[data-theme="brown"]::before{
background:linear-gradient(135deg,#2d1b08,#5b370c);
}

.universal-skill-card[data-theme="indigo"]::before{
background:linear-gradient(135deg,#172554,#4338ca);
}

.universal-skill-card[data-theme="slate"]::before{
background:linear-gradient(135deg,#0f172a,#334155);
}

.universal-skill-card[data-theme="gold"]::before{
background:linear-gradient(135deg,#5b370c,#a16207);
}

.universal-skill-card:hover{
transform:translateY(-8px);
box-shadow:0 24px 54px rgba(75,52,28,0.18);
border-color:rgba(10,74,59,0.35);
}

.skill-card-icon{
position:relative;
z-index:2;
display:inline-flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
margin:34px 0 0 24px;
border-radius:12px;
background:rgba(255,255,255,0.16);
color:white;
font-size:0.82rem;
font-weight:800;
box-shadow:inset 0 0 0 1px rgba(255,255,255,0.2);
}

.universal-skill-card h3{
position:relative;
z-index:2;
min-height:76px;
display:flex;
align-items:flex-end;
padding:12px 24px 20px;
margin:0;
color:white;
font-size:1.28rem;
line-height:1.35;
font-weight:800;
font-family:Georgia, "Times New Roman", serif;
}

.skill-card-origin{
position:relative;
z-index:2;
padding:22px 24px 0;
margin:0;
color:#6b5a49;
font-size:0.9rem;
font-weight:800;
line-height:1.65;
}

.universal-skill-card > p:not(.skill-card-origin){
position:relative;
z-index:2;
padding:12px 24px 0;
margin:0;
color:#6b5a49;
line-height:1.75;
font-size:0.96rem;
}

.skill-card-tags{
display:flex;
flex-wrap:wrap;
gap:7px;
padding:18px 24px 16px;
margin-top:auto;
border-bottom:1px solid rgba(120,82,45,0.18);
}

.skill-card-tags span{
display:inline-flex;
align-items:center;
padding:6px 10px;
border-radius:5px;
background:#fdecc8;
color:#2c2419;
font-size:0.72rem;
font-weight:800;
font-family:Georgia, "Times New Roman", serif;
}

.skill-card-footer{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
padding:18px 24px 20px;
color:#6b5a49;
font-size:0.82rem;
}

.skill-card-footer strong{
color:#0a4a3b;
font-weight:800;
white-space:nowrap;
}

.skills-hub-page footer{
background:#0a2342;
}

@media(max-width:768px){
.skills-hero,
.skills-panel{
padding-left:5%;
padding-right:5%;
}

.universal-skill-grid{
grid-template-columns:1fr;
}

.universal-skill-card{
min-height:400px;
}
}

/* ENTREPRENEURSHIP STAGE PAGES */

.enterprise-card-clickable{
cursor:pointer;
text-decoration:none;
display:block;
}

.enterprise-card-clickable:focus{
outline:4px solid rgba(212,160,23,0.55);
outline-offset:4px;
}

.open-stage-link{
display:inline-flex;
width:max-content;
margin:18px 0 4px;
padding:10px 15px;
border-radius:999px;
background:#0a2342;
color:white;
font-weight:800;
font-size:0.84rem;
text-transform:uppercase;
letter-spacing:0.04em;
}

.mindset-hero{
min-height:70vh;
display:flex;
align-items:center;
padding:120px 8%;
background:
linear-gradient(
90deg,
rgba(10,35,66,0.94),
rgba(18,60,107,0.72),
rgba(31,93,153,0.28)
),
url("../ASSETS/images/entrepreneurship-hub-hero.png");
background-size:cover;
background-position:center;
color:white;
}

.mindset-hero-content{
max-width:900px;
}

.mindset-hero h1{
font-size:clamp(2.5rem,6vw,5rem);
line-height:1.06;
font-weight:800;
margin-bottom:22px;
}

.mindset-hero p{
max-width:820px;
font-size:1.12rem;
line-height:1.85;
color:rgba(255,255,255,0.9);
}

.mindset-intro{
padding:90px 8%;
background:#f8fbff;
}

.mindset-intro .enterprise-section-head h2{
color:#0a2342;
}

.mindset-intro .enterprise-section-head p{
color:#475569;
}

.mindset-journey{
padding:100px 8%;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
}

.mindset-stage{
max-width:1050px;
margin:0 auto;
display:grid;
grid-template-columns:110px 1fr;
gap:28px;
align-items:start;
background:white;
border-radius:24px;
padding:34px;
box-shadow:0 20px 50px rgba(0,0,0,0.22);
border-top:6px solid #d4a017;
}

.stage-number{
width:86px;
height:86px;
border-radius:24px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#0a2342,#1f5d99);
color:white;
font-size:2.4rem;
font-weight:800;
box-shadow:0 12px 28px rgba(10,35,66,0.24);
}

.stage-content span,
.mindset-action span{
display:inline-flex;
padding:7px 12px;
border-radius:999px;
background:rgba(31,93,153,0.1);
color:#1f5d99;
font-size:0.78rem;
font-weight:800;
letter-spacing:0.08em;
text-transform:uppercase;
margin-bottom:12px;
}

.stage-content h2{
color:#0a2342;
font-size:clamp(1.7rem,3vw,2.5rem);
line-height:1.15;
margin-bottom:16px;
}

.stage-content p{
color:#334155;
line-height:1.9;
margin-bottom:14px;
}

.stage-note{
margin-top:20px;
padding:18px;
border-radius:16px;
background:#fff7ed;
color:#334155;
border-left:5px solid #d4a017;
line-height:1.8;
}

.stage-note strong{
color:#0a2342;
}

.journey-arrow{
max-width:1050px;
margin:22px auto;
text-align:center;
color:white;
font-weight:800;
letter-spacing:0.08em;
text-transform:uppercase;
position:relative;
}

.journey-arrow::after{
content:"";
display:block;
width:2px;
height:44px;
margin:12px auto 0;
background:#d4a017;
}

.mindset-action{
padding:70px 8%;
display:flex;
align-items:center;
justify-content:space-between;
gap:28px;
background:#f8fbff;
}

.mindset-action div{
max-width:820px;
}

.mindset-action h2{
color:#0a2342;
font-size:clamp(1.8rem,3.5vw,3rem);
line-height:1.12;
margin-bottom:14px;
}

.mindset-action p{
color:#475569;
line-height:1.85;
}

.mindset-action a{
display:inline-flex;
align-items:center;
justify-content:center;
padding:14px 22px;
border-radius:999px;
background:#0a2342;
color:white;
text-decoration:none;
font-weight:800;
white-space:nowrap;
box-shadow:0 15px 35px rgba(10,35,66,0.18);
transition:all 0.3s ease;
}

.mindset-action a:hover{
transform:translateY(-4px);
background:#123c6b;
}

@media(max-width:768px){
.mindset-hero,
.mindset-intro,
.mindset-journey,
.mindset-action{
padding:70px 5%;
}

.mindset-stage{
grid-template-columns:1fr;
padding:26px;
}

.stage-number{
width:70px;
height:70px;
font-size:2rem;
}

.mindset-action{
flex-direction:column;
align-items:flex-start;
}

.mindset-action a{
width:100%;
}
}

/* A.E CONNECT NETWORK */

.network-hero{
min-height:74vh;
display:flex;
align-items:center;
padding:120px 8%;
background:
linear-gradient(
90deg,
rgba(10,35,66,0.94),
rgba(18,60,107,0.74),
rgba(31,93,153,0.30)
),
url("../ASSETS/images/ae-connect-network-hero.png");
background-size:cover;
background-position:center;
color:white;
}

.network-hero-content{
max-width:940px;
}

.network-hero-content span,
.network-section-head span{
display:inline-flex;
padding:8px 14px;
border-radius:999px;
background:rgba(212,160,23,0.17);
color:#f6d365;
font-size:0.78rem;
font-weight:800;
letter-spacing:0.1em;
text-transform:uppercase;
margin-bottom:18px;
}

.network-hero h1{
font-size:clamp(2.7rem,6vw,5.4rem);
line-height:1.05;
font-weight:800;
margin-bottom:22px;
}

.network-hero p{
max-width:800px;
font-size:1.12rem;
line-height:1.85;
color:rgba(255,255,255,0.9);
}

.network-actions{
display:flex;
flex-wrap:wrap;
gap:14px;
margin-top:34px;
}

.network-actions a,
.profile-card a,
.collab-card a,
.opportunity-grid a,
.intake-grid a{
display:inline-flex;
align-items:center;
justify-content:center;
padding:12px 18px;
border-radius:999px;
background:white;
color:#0a2342;
text-decoration:none;
font-weight:800;
box-shadow:0 14px 30px rgba(0,0,0,0.18);
transition:all 0.3s ease;
}

.network-actions a:hover,
.profile-card a:hover,
.collab-card a:hover,
.opportunity-grid a:hover,
.intake-grid a:hover{
transform:translateY(-4px);
background:#f8fbff;
}

.network-section{
padding:100px 8%;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
}

.light-network,
.network-flow{
background:#f8fbff;
}

.network-section-head{
max-width:940px;
margin:0 auto 44px;
text-align:center;
}

.network-section-head h2{
font-size:clamp(2rem,4vw,3.6rem);
line-height:1.1;
font-weight:800;
color:white;
text-transform:uppercase;
margin-bottom:16px;
}

.network-section-head p{
color:rgba(255,255,255,0.86);
font-size:1.02rem;
line-height:1.8;
}

.light-network .network-section-head h2,
.network-flow .network-section-head h2{
color:#0a2342;
}

.light-network .network-section-head p,
.network-flow .network-section-head p{
color:#475569;
}

.network-flow-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
gap:16px;
}

.network-flow-grid div{
background:white;
border-radius:18px;
padding:22px;
text-align:center;
font-weight:800;
color:#0a2342;
box-shadow:0 15px 35px rgba(10,35,66,0.1);
border-top:5px solid #1f5d99;
}

.network-toolbar{
max-width:1120px;
margin:0 auto 38px;
}

.network-toolbar input{
width:100%;
padding:18px 22px;
border:none;
border-radius:16px;
font-size:1rem;
box-shadow:0 15px 35px rgba(0,0,0,0.18);
outline:3px solid transparent;
margin-bottom:18px;
}

.network-toolbar input:focus{
outline-color:rgba(212,160,23,0.35);
}

.network-filters{
display:flex;
flex-wrap:wrap;
gap:12px;
justify-content:center;
}

.network-filters button{
border:none;
border-radius:999px;
padding:10px 16px;
background:white;
color:#0a2342;
font-weight:800;
box-shadow:0 10px 24px rgba(0,0,0,0.13);
cursor:pointer;
transition:all 0.3s ease;
}

.network-filters button.active,
.network-filters button:hover{
background:#d4a017;
transform:translateY(-2px);
}

.network-grid,
.profile-grid,
.listing-grid,
.opportunity-grid,
.intake-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:28px;
}

.network-card,
.profile-card,
.collab-card,
.opportunity-grid article,
.intake-grid article{
background:white;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,0.15);
transition:all 0.3s ease;
border-top:5px solid #1f5d99;
padding:30px;
}

.network-card:hover,
.profile-card:hover,
.collab-card:hover,
.opportunity-grid article:hover,
.intake-grid article:hover{
transform:translateY(-10px);
box-shadow:0 22px 48px rgba(0,0,0,0.22);
border-top-color:#d4a017;
}

.network-card[hidden]{
display:none;
}

.network-card-link{
display:block;
text-decoration:none;
color:inherit;
}

.network-card-link:focus{
outline:4px solid rgba(212,160,23,0.55);
outline-offset:4px;
}

.phase-grid{
align-items:stretch;
}

.phase-card{
display:flex;
flex-direction:column;
gap:12px;
}

.phase-card-link{
display:inline-flex;
align-items:center;
justify-content:center;
width:max-content;
margin-top:auto;
border-radius:999px;
padding:11px 16px;
background:#0a2342;
color:white;
text-decoration:none;
font-weight:800;
}

.network-feed-shell{
display:grid;
grid-template-columns:240px minmax(0,1fr) 260px;
gap:24px;
max-width:1220px;
margin:0 auto;
}

.feed-side-card,
.network-post-composer,
.network-post-card,
.user-profile-card,
.user-profile-details,
.study-group-grid article,
.mentor-card{
background:white;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,0.13);
padding:24px;
border-top:5px solid #1f5d99;
}

.feed-side-card{
height:max-content;
}

.feed-side-card h3,
.network-post-card h3,
.user-profile-card h3,
.user-profile-details h3,
.study-group-grid h3,
.mentor-card h3{
color:#0a2342;
}

.feed-side-card p,
.network-post-card p,
.user-profile-card p,
.user-profile-details p,
.study-group-grid p,
.mentor-card p{
color:#475569;
line-height:1.7;
}

.feed-side-card a{
display:inline-flex;
margin-top:14px;
text-decoration:none;
font-weight:800;
color:#1f5d99;
}

.network-feed-main{
display:grid;
gap:18px;
min-width:0;
}

.network-post-composer textarea{
width:100%;
border:1px solid rgba(31,93,153,0.16);
border-radius:18px;
padding:16px;
font-family:inherit;
font-weight:600;
line-height:1.6;
resize:vertical;
}

.network-post-composer div,
.post-actions,
.profile-actions,
.mentor-card div,
.opportunity-categories{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:14px;
}

.network-post-composer button,
.post-actions button,
.profile-actions button,
.profile-actions a,
.mentor-card button,
.mentor-card a,
.opportunity-categories button,
.network-comment-area button{
border:none;
border-radius:999px;
padding:10px 14px;
font-family:inherit;
font-weight:800;
cursor:pointer;
background:#eef4fb;
color:#0a2342;
text-decoration:none;
transition:all 0.3s ease;
}

#networkPublishPost,
.profile-actions a,
.mentor-card a,
.network-comment-area button{
background:#0a2342;
color:white;
}

.network-post-composer button:hover,
.post-actions button:hover,
.profile-actions button:hover,
.profile-actions a:hover,
.mentor-card button:hover,
.mentor-card a:hover,
.opportunity-categories button:hover,
.opportunity-categories button.active{
background:#d4a017;
color:#0a2342;
transform:translateY(-2px);
}

.network-post-card span{
display:inline-flex;
padding:7px 11px;
border-radius:999px;
background:rgba(31,93,153,0.1);
color:#1f5d99;
font-size:0.78rem;
font-weight:800;
margin-bottom:10px;
}

.network-comment-area{
margin-top:14px;
padding:14px;
border-radius:16px;
background:#f8fbff;
}

.network-comment-area p{
background:white;
border-radius:12px;
padding:10px 12px;
margin-bottom:8px;
}

.network-comment-area div{
display:flex;
gap:10px;
}

.network-comment-area input{
flex:1;
min-width:0;
border:1px solid rgba(31,93,153,0.16);
border-radius:999px;
padding:12px 14px;
font-family:inherit;
font-weight:600;
}

.professional-profile .profile-actions{
margin-top:auto;
}

.profile-actions a,
.profile-actions button{
flex:1;
justify-content:center;
text-align:center;
}

.study-group-grid,
.mentor-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:24px;
}

.study-group-grid article,
.mentor-card{
display:flex;
flex-direction:column;
gap:12px;
}

.study-group-grid span,
.mentor-card strong{
color:#0a2342;
font-weight:800;
line-height:1.6;
}

.study-group-grid a{
width:max-content;
margin-top:auto;
border-radius:999px;
padding:11px 16px;
background:#0a2342;
color:white;
text-decoration:none;
font-weight:800;
}

.opportunity-categories{
justify-content:center;
margin:0 auto 30px;
max-width:1120px;
}

.opportunity-grid article[hidden]{
display:none;
}

.user-profile-shell{
max-width:1120px;
margin:0 auto;
display:grid;
grid-template-columns:320px minmax(0,1fr);
gap:24px;
}

.large-avatar{
width:86px;
height:86px;
font-size:1.4rem;
border-radius:24px;
margin-bottom:16px;
}

.profile-stats{
display:grid;
gap:12px;
margin-top:18px;
}

.profile-stats span{
padding:12px;
border-radius:14px;
background:#f8fbff;
color:#475569;
}

.profile-stats strong{
display:block;
color:#0a2342;
font-size:1.3rem;
}

.network-icon,
.profile-avatar{
width:52px;
height:52px;
border-radius:16px;
display:inline-flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#0a2342,#1f5d99);
color:white;
font-weight:800;
margin-bottom:18px;
}

/* A.E CONNECT CHAT */

.chat-app{
min-height:100vh;
display:grid;
grid-template-columns:300px minmax(0,1fr) 360px;
gap:24px;
padding:110px 4% 50px;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
}

.chat-sidebar,
.chat-feed,
.chat-panel{
background:#f8fbff;
border-radius:24px;
box-shadow:0 18px 45px rgba(0,0,0,0.18);
border:1px solid rgba(255,255,255,0.45);
}

.chat-sidebar{
padding:22px;
height:calc(100vh - 160px);
position:sticky;
top:100px;
overflow:auto;
}

.chat-back-link{
display:inline-flex;
text-decoration:none;
font-weight:800;
color:#1f5d99;
margin-bottom:18px;
}

.chat-profile-card{
display:flex;
align-items:center;
gap:14px;
margin-bottom:22px;
}

.chat-avatar{
width:52px;
height:52px;
border-radius:16px;
background:#0a2342;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-weight:800;
flex:0 0 auto;
}

.chat-profile-card h2{
font-size:1.15rem;
color:#0a2342;
line-height:1.25;
}

.chat-profile-card p,
.chat-mini-panel p{
color:#475569;
font-size:0.9rem;
font-weight:600;
}

.chat-search input{
width:100%;
border:1px solid rgba(31,93,153,0.16);
border-radius:16px;
padding:14px 16px;
font-family:inherit;
font-weight:600;
margin-bottom:18px;
}

.chat-room-list{
display:grid;
gap:10px;
}

.chat-room-list button{
border:none;
border-radius:16px;
padding:14px;
background:white;
color:#0a2342;
font-family:inherit;
font-weight:800;
text-align:left;
cursor:pointer;
box-shadow:0 8px 20px rgba(10,35,66,0.08);
transition:all 0.3s ease;
}

.chat-room-list button span{
display:block;
font-size:0.78rem;
color:#64748b;
margin-top:4px;
}

.chat-room-list button.active,
.chat-room-list button:hover{
background:#d4a017;
transform:translateY(-2px);
}

.chat-mini-panel{
margin-top:22px;
padding:18px;
background:white;
border-radius:18px;
}

.chat-mini-panel h3{
font-size:0.9rem;
color:#0a2342;
margin-bottom:12px;
}

.chat-feed{
padding:26px;
min-width:0;
}

.chat-feed-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:18px;
margin-bottom:22px;
}

.chat-feed-head span,
.chat-panel-head span{
display:inline-flex;
padding:7px 12px;
border-radius:999px;
background:rgba(212,160,23,0.18);
color:#d4a017;
font-size:0.78rem;
font-weight:800;
margin-bottom:10px;
}

.chat-feed-head h1,
.chat-panel-head h2{
color:#0a2342;
font-size:clamp(1.6rem,3vw,2.5rem);
line-height:1.12;
}

.chat-feed-head p{
color:#475569;
line-height:1.7;
}

.chat-feed-head a{
white-space:nowrap;
text-decoration:none;
border-radius:999px;
padding:12px 16px;
background:#0a2342;
color:white;
font-weight:800;
}

.post-composer,
.social-post{
background:white;
border-radius:22px;
padding:20px;
box-shadow:0 14px 32px rgba(10,35,66,0.1);
margin-bottom:18px;
}

.composer-top{
display:flex;
gap:14px;
align-items:flex-start;
}

.composer-top textarea{
width:100%;
resize:vertical;
min-height:96px;
border:1px solid rgba(31,93,153,0.16);
border-radius:18px;
padding:16px;
font-family:inherit;
font-weight:600;
line-height:1.6;
}

.composer-actions,
.feed-filter-bar,
.post-actions{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:14px;
}

.composer-actions button,
.feed-filter-bar button,
.post-actions button,
.message-box button,
.comment-input-row button{
border:none;
border-radius:999px;
padding:10px 14px;
background:#eef4fb;
color:#0a2342;
font-family:inherit;
font-weight:800;
cursor:pointer;
transition:all 0.3s ease;
}

#publishPost,
.message-box button,
.comment-input-row button{
background:#0a2342;
color:white;
}

.feed-filter-bar button.active,
.feed-filter-bar button:hover,
.composer-actions button:hover,
.post-actions button:hover{
background:#d4a017;
transform:translateY(-2px);
}

.feed-list{
margin-top:18px;
}

.post-author{
display:flex;
align-items:center;
gap:14px;
margin-bottom:14px;
}

.post-author h3{
color:#0a2342;
font-size:1.05rem;
}

.post-author p,
.post-stats{
color:#64748b;
font-size:0.9rem;
}

.post-type{
display:inline-flex;
padding:7px 11px;
border-radius:999px;
background:rgba(31,93,153,0.1);
color:#1f5d99;
font-size:0.78rem;
font-weight:800;
margin-bottom:12px;
}

.post-text{
color:#334155;
line-height:1.8;
font-weight:500;
}

.post-stats{
display:flex;
gap:16px;
border-top:1px solid rgba(31,93,153,0.1);
padding-top:12px;
margin-top:14px;
}

.comment-box{
margin-top:14px;
padding:14px;
border-radius:16px;
background:#f8fbff;
}

.comment-list p{
background:white;
border-radius:12px;
padding:10px 12px;
color:#475569;
margin-bottom:8px;
}

.comment-input-row,
.message-box{
display:flex;
gap:10px;
margin-top:10px;
}

.comment-input-row input,
.message-box input{
flex:1;
border:1px solid rgba(31,93,153,0.16);
border-radius:999px;
padding:12px 14px;
font-family:inherit;
font-weight:600;
min-width:0;
}

.chat-panel{
padding:22px;
height:calc(100vh - 160px);
position:sticky;
top:100px;
display:flex;
flex-direction:column;
}

.chat-panel-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:12px;
margin-bottom:16px;
}

.chat-panel-head small{
color:#64748b;
font-weight:700;
}

.message-list{
flex:1;
overflow:auto;
display:flex;
flex-direction:column;
gap:10px;
padding-right:4px;
}

.message-item{
max-width:88%;
align-self:flex-start;
background:white;
border-radius:18px 18px 18px 4px;
padding:12px 14px;
color:#334155;
font-weight:600;
line-height:1.55;
box-shadow:0 8px 18px rgba(10,35,66,0.08);
}

.message-own{
align-self:flex-end;
background:#0a2342;
color:white;
border-radius:18px 18px 4px 18px;
}

@media(max-width:1100px){
.chat-app{
grid-template-columns:280px minmax(0,1fr);
}

.chat-panel{
grid-column:1 / -1;
height:auto;
position:static;
}
}

@media(max-width:820px){
.chat-app{
grid-template-columns:1fr;
padding:90px 5% 40px;
}

.chat-sidebar,
.chat-panel{
height:auto;
position:static;
}

.chat-feed-head{
flex-direction:column;
}

.chat-feed-head a{
white-space:normal;
}
}

.network-card h3,
.profile-card h3,
.collab-card h3,
.opportunity-grid h3,
.intake-grid h3{
color:#0a2342;
font-size:1.22rem;
margin-bottom:12px;
}

.network-card p,
.profile-card p,
.collab-card p,
.opportunity-grid p,
.intake-grid p{
color:#475569;
line-height:1.75;
}

.network-tags{
display:flex;
flex-wrap:wrap;
gap:8px;
margin-top:18px;
}

.network-tags span,
.collab-card span,
.opportunity-grid span{
display:inline-flex;
padding:7px 11px;
border-radius:999px;
background:rgba(31,93,153,0.1);
color:#1f5d99;
font-size:0.78rem;
font-weight:800;
}

.profile-card ul{
padding-left:18px;
margin:16px 0 20px;
color:#334155;
line-height:1.8;
}

.collab-card strong{
display:block;
margin:18px 0;
color:#0a2342;
line-height:1.7;
}

.opportunity-grid article,
.intake-grid article,
.profile-card,
.collab-card{
display:flex;
flex-direction:column;
gap:12px;
}

.opportunity-grid a,
.intake-grid a,
.profile-card a,
.collab-card a{
width:max-content;
margin-top:auto;
background:#0a2342;
color:white;
}

@media(max-width:768px){
.network-hero,
.network-section{
padding:70px 5%;
}

.network-actions{
flex-direction:column;
}

.network-actions a,
.opportunity-grid a,
.intake-grid a,
.profile-card a,
.collab-card a{
width:100%;
}
}

/* STORIES & EVENTS */
.stories-page{
background:#edf4fb;
color:#0a2342;
font-family:'Poppins', Arial, sans-serif;
}

.stories-hero{
display:grid;
grid-template-columns:minmax(0,1.1fr) minmax(320px,0.9fr);
gap:34px;
padding:100px 8%;
background:
linear-gradient(135deg, rgba(10,35,66,0.96), rgba(18,60,107,0.92), rgba(31,93,153,0.88)),
url("../ASSETS/images/program-beyond-lecture.png") center/cover;
color:white;
align-items:center;
}

.stories-hero-copy h1,
.board-head h2,
.stories-guidelines h2,
.story-composer h2{
font-size:clamp(2.3rem,5vw,4.8rem);
line-height:1.05;
letter-spacing:0;
margin:14px 0 20px;
font-weight:800;
}

.stories-hero-copy p{
max-width:760px;
font-size:1.12rem;
line-height:1.85;
color:rgba(255,255,255,0.9);
}

.section-kicker{
display:inline-flex;
width:max-content;
padding:8px 13px;
border-radius:999px;
background:rgba(212,160,23,0.18);
color:#d4a017;
font-size:0.78rem;
font-weight:800;
letter-spacing:1px;
}

.stories-hero-actions{
display:flex;
flex-wrap:wrap;
gap:14px;
margin-top:32px;
}

.stories-hero-actions a,
.story-composer button,
.story-actions button,
.story-comment-row button{
border:0;
border-radius:999px;
padding:14px 22px;
font-family:inherit;
font-weight:800;
cursor:pointer;
text-decoration:none;
transition:all 0.3s ease;
}

.stories-hero-actions a:first-child,
.story-composer button{
background:#d4a017;
color:#071d35;
box-shadow:0 15px 35px rgba(0,0,0,0.18);
}

.stories-hero-actions a:last-child{
background:white;
color:#0a2342;
}

.stories-hero-actions a:hover,
.story-composer button:hover,
.story-card:hover{
transform:translateY(-8px);
}

.stories-hero-panel,
.story-composer,
.story-preview-card,
.story-card,
.stories-guidelines article,
.story-stats article{
background:white;
border-radius:24px;
box-shadow:0 18px 45px rgba(10,35,66,0.15);
}

.stories-hero-panel{
padding:28px;
color:#0a2342;
}

.stories-hero-panel h2{
font-size:1.45rem;
margin-bottom:18px;
}

.story-mini-grid{
display:grid;
gap:14px;
}

.story-mini-grid article{
padding:17px;
border-radius:18px;
background:#f4f8fc;
border:1px solid rgba(31,93,153,0.12);
}

.story-mini-grid strong{
display:block;
margin-bottom:8px;
font-size:0.92rem;
}

.story-mini-grid span{
display:block;
color:#475569;
line-height:1.65;
font-size:0.94rem;
}

.stories-dashboard{
display:grid;
grid-template-columns:minmax(0,1.45fr) minmax(300px,0.55fr);
gap:28px;
padding:90px 8% 70px;
background:#edf4fb;
align-items:start;
}

.story-composer{
padding:32px;
}

.story-composer-head,
.board-head{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:24px;
margin-bottom:26px;
}

.story-composer h2,
.board-head h2,
.stories-guidelines h2{
font-size:clamp(1.9rem,3.5vw,3.5rem);
color:#0a2342;
}

.post-status{
display:inline-flex;
white-space:nowrap;
padding:9px 13px;
border-radius:999px;
background:rgba(22,163,74,0.12);
color:#16a34a;
font-weight:800;
font-size:0.78rem;
}

.form-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:16px;
}

.story-composer label{
display:flex;
flex-direction:column;
gap:8px;
margin-bottom:16px;
color:#0a2342;
font-size:0.78rem;
font-weight:800;
letter-spacing:0.4px;
}

.story-composer input,
.story-composer select,
.story-composer textarea,
.board-tools input,
.board-tools select{
width:100%;
border:1px solid rgba(31,93,153,0.18);
border-radius:16px;
padding:14px 15px;
font-family:inherit;
font-size:0.95rem;
font-weight:600;
color:#0a2342;
background:#f8fbff;
outline:none;
}

.story-composer textarea{
resize:vertical;
min-height:130px;
}

.story-composer input:focus,
.story-composer select:focus,
.story-composer textarea:focus,
.board-tools input:focus,
.board-tools select:focus{
border-color:#1f5d99;
box-shadow:0 0 0 4px rgba(31,93,153,0.12);
}

.story-preview-card{
padding:28px;
position:sticky;
top:96px;
border-top:6px solid #1f5d99;
}

.story-preview-image{
width:100%;
height:190px;
object-fit:cover;
border-radius:18px;
margin-bottom:18px;
background:#dceafa;
}

.story-preview-card span,
.story-type{
display:inline-flex;
width:max-content;
padding:8px 12px;
border-radius:999px;
background:#e8f1fa;
color:#1f5d99;
font-size:0.75rem;
font-weight:800;
margin-bottom:14px;
}

.story-preview-card h3,
.story-card h3{
font-size:1.28rem;
line-height:1.35;
margin-bottom:12px;
color:#0a2342;
}

.story-preview-card p,
.story-card p,
.board-head p,
.stories-guidelines p{
color:#475569;
line-height:1.8;
font-weight:500;
}

.story-meta,
.story-info{
display:flex;
flex-direction:column;
gap:4px;
margin-top:20px;
}

.story-meta small,
.story-info span,
.story-info small{
color:#64748b;
font-weight:600;
}

.stories-board{
padding:100px 8%;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
}

.board-head h2,
.board-head p{
color:white;
}

.board-tools{
display:grid;
grid-template-columns:minmax(220px,1fr) 190px;
gap:12px;
min-width:min(100%,520px);
}

.story-stats{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:16px;
margin:20px 0 34px;
}

.story-stats article{
padding:22px;
border-radius:20px;
}

.story-stats strong{
display:block;
font-size:2rem;
color:#0a2342;
}

.story-stats span{
color:#64748b;
font-weight:700;
}

.stories-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:26px;
}

.story-card{
overflow:hidden;
transition:all 0.3s ease;
border:1px solid rgba(255,255,255,0.18);
}

.story-card-image{
width:100%;
height:210px;
object-fit:cover;
display:block;
background:#dceafa;
}

.story-card-placeholder{
display:flex;
align-items:center;
justify-content:center;
background:
radial-gradient(circle at 80% 20%, rgba(212,160,23,0.28), transparent 30%),
linear-gradient(135deg,#123c6b,#1f5d99);
}

.story-card-placeholder span{
color:white;
font-size:1.25rem;
font-weight:800;
letter-spacing:1px;
}

.story-card-body{
padding:26px;
}

.story-actions{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:20px;
border-top:1px solid rgba(31,93,153,0.12);
padding-top:16px;
}

.story-actions button,
.story-comment-row button{
background:#0a2342;
color:white;
padding:11px 16px;
font-size:0.86rem;
}

.story-actions button:hover,
.story-comment-row button:hover{
background:#1f5d99;
}

.story-comments{
margin-top:16px;
padding:14px;
border-radius:18px;
background:#f4f8fc;
}

.story-comment-list p{
background:white;
padding:10px 12px;
border-radius:12px;
margin-bottom:8px;
font-size:0.92rem;
}

.story-comment-row{
display:flex;
gap:10px;
}

.story-comment-row input{
flex:1;
min-width:0;
border:1px solid rgba(31,93,153,0.16);
border-radius:999px;
padding:11px 13px;
font-family:inherit;
}

.stories-guidelines{
padding:90px 8%;
background:#edf4fb;
}

.guideline-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:22px;
margin-top:24px;
}

.stories-guidelines article{
padding:26px;
border-top:5px solid #1f5d99;
}

.stories-guidelines h3{
color:#0a2342;
margin-bottom:12px;
}

@media(max-width:1050px){
.stories-hero,
.stories-dashboard,
.stories-grid,
.guideline-grid{
grid-template-columns:1fr;
}

.story-preview-card{
position:static;
}

.story-stats{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media(max-width:720px){
.stories-hero,
.stories-dashboard,
.stories-board,
.stories-guidelines{
padding:70px 5%;
}

.story-composer-head,
.board-head{
flex-direction:column;
}

.form-grid,
.board-tools,
.story-stats{
grid-template-columns:1fr;
}

.stories-hero-actions a,
.story-composer button{
width:100%;
text-align:center;
}
}

/* RESOURCES HUB */
.resources-page{
background:#edf4fb;
color:#0a2342;
font-family:'Poppins', Arial, sans-serif;
}

.resources-hero{
padding:100px 8% 70px;
text-align:center;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
color:white;
}

.resources-hero h1,
.resource-detail-page h1{
font-size:clamp(2.8rem,6vw,5.5rem);
line-height:1.05;
letter-spacing:0;
margin:16px 0 18px;
font-weight:800;
}

.resources-hero p,
.resource-detail-intro{
max-width:860px;
margin:0 auto;
font-size:1.08rem;
line-height:1.85;
color:rgba(255,255,255,0.88);
}

.resource-card-section{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:28px;
padding:90px 8% 110px;
background:#edf4fb;
}

.resource-path-card{
position:relative;
overflow:hidden;
display:flex;
flex-direction:column;
min-height:430px;
padding:34px;
border-radius:24px;
background:white;
box-shadow:0 18px 45px rgba(10,35,66,0.14);
text-decoration:none;
color:#0a2342;
transition:all 0.3s ease;
border:1px solid rgba(31,93,153,0.12);
}

.resource-path-card::after{
content:"";
position:absolute;
right:-40px;
top:-45px;
width:150px;
height:150px;
border-radius:50%;
background:rgba(31,93,153,0.12);
}

.resource-path-card:hover{
transform:translateY(-10px);
box-shadow:0 24px 60px rgba(10,35,66,0.2);
}

.resource-card-icon{
display:flex;
align-items:center;
justify-content:center;
width:64px;
height:64px;
border-radius:18px;
background:#0a2342;
color:white;
font-weight:800;
font-size:1.1rem;
margin-bottom:28px;
}

.resource-path-card span{
font-size:0.78rem;
font-weight:800;
color:#1f5d99;
letter-spacing:1px;
}

.resource-path-card h2{
font-size:2rem;
margin:12px 0 16px;
color:#0a2342;
}

.resource-path-card p{
color:#475569;
line-height:1.75;
font-weight:500;
}

.resource-path-card ul{
margin:22px 0;
padding-left:20px;
color:#334155;
line-height:1.9;
font-weight:600;
}

.resource-path-card strong{
width:max-content;
margin-top:auto;
padding:13px 18px;
border-radius:999px;
background:#0a2342;
color:white;
}

.ai-card{
border-top:6px solid #1f5d99;
}

.material-card{
border-top:6px solid #d4a017;
}

.internship-card{
border-top:6px solid #16a34a;
}

.material-card .resource-card-icon{
background:#d4a017;
color:#0a2342;
}

.internship-card .resource-card-icon{
background:#16a34a;
}

.resource-detail-page{
min-height:calc(100vh - 160px);
padding:90px 8% 110px;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
color:white;
}

.back-link{
display:inline-flex;
width:max-content;
margin-bottom:28px;
padding:12px 18px;
border-radius:999px;
background:white;
color:#0a2342;
font-weight:800;
text-decoration:none;
}

.resource-detail-intro{
margin:0 0 34px;
}

.resource-detail-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:24px;
}

.resource-detail-grid article{
padding:28px;
border-radius:22px;
background:white;
color:#0a2342;
box-shadow:0 18px 45px rgba(0,0,0,0.14);
}

.resource-detail-grid h2{
font-size:1.35rem;
margin-bottom:12px;
color:#0a2342;
}

.resource-detail-grid p{
color:#475569;
line-height:1.8;
margin-bottom:18px;
}

.resource-detail-grid a{
display:inline-flex;
padding:12px 16px;
border-radius:999px;
background:#0a2342;
color:white;
font-weight:800;
text-decoration:none;
}

@media(max-width:980px){
.resource-card-section,
.resource-detail-grid{
grid-template-columns:1fr;
}
}

.resource-live-section{
width:min(1180px,calc(100% - 40px));
margin:0 auto 80px;
padding:30px;
border:1px solid rgba(10,35,66,0.12);
border-radius:18px;
background:#ffffff;
box-shadow:0 18px 46px rgba(10,35,66,0.08);
}

.resource-live-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:18px;
margin-bottom:20px;
}

.resource-live-head h2{
margin:6px 0 0;
color:#0a2342;
font-size:clamp(1.6rem,3vw,2.4rem);
}

.resource-live-head p{
margin:0;
color:#64748b;
font-weight:800;
}

.resource-live-controls{
display:grid;
grid-template-columns:minmax(240px,1fr) 190px 190px;
gap:12px;
margin-bottom:18px;
}

.resource-live-controls input,
.resource-live-controls select{
width:100%;
min-height:44px;
padding:0 14px;
border:1px solid rgba(10,35,66,0.14);
border-radius:12px;
background:#ffffff;
color:#172033;
font:inherit;
font-weight:700;
}

.resource-live-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:16px;
}

.resource-live-card{
display:grid;
gap:10px;
padding:18px;
border:1px solid rgba(10,35,66,0.12);
border-radius:16px;
background:#fbfcfe;
}

.resource-live-card span,
.resource-detail-panel span{
color:#64748b;
font-size:0.76rem;
font-weight:900;
text-transform:uppercase;
}

.resource-live-card h3,
.resource-detail-panel h3{
margin:0;
color:#172033;
}

.resource-live-card p,
.resource-detail-panel p{
margin:0;
color:#64748b;
font-weight:700;
line-height:1.6;
}

.resource-live-card button,
.resource-detail-panel a{
display:inline-flex;
align-items:center;
justify-content:center;
width:max-content;
min-height:38px;
padding:0 14px;
border:1px solid rgba(10,35,66,0.14);
border-radius:999px;
background:#0a2342;
color:#ffffff;
font-weight:900;
text-decoration:none;
cursor:pointer;
}

.resource-detail-panel{
margin-top:18px;
padding:18px;
border:1px dashed rgba(10,35,66,0.16);
border-radius:16px;
background:#fbfcfe;
}

@media(max-width:900px){
.resource-live-head,
.resource-live-controls{
grid-template-columns:1fr;
display:grid;
}

.resource-live-grid{
grid-template-columns:1fr;
}
}

@media(max-width:640px){
.resources-hero,
.resource-card-section,
.resource-detail-page{
padding-left:5%;
padding-right:5%;
}

.resource-path-card{
min-height:auto;
}
}

/* AI TOOLS DIRECTORY */
.ai-tools-page{
background:#edf4fb;
}

.ai-tools-hero{
padding:90px 8% 70px;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
color:white;
}

.ai-tools-hero h1{
font-size:clamp(3rem,6vw,6rem);
line-height:1;
letter-spacing:0;
margin:16px 0 18px;
font-weight:800;
}

.ai-tools-hero p{
max-width:900px;
font-size:1.08rem;
line-height:1.85;
color:rgba(255,255,255,0.88);
}

.ai-tools-directory{
padding:80px 8% 110px;
background:#edf4fb;
}

.ai-tools-control-panel{
padding:28px;
border-radius:24px;
background:white;
box-shadow:0 18px 45px rgba(10,35,66,0.12);
margin-bottom:34px;
}

.ai-tools-control-panel h2{
font-size:clamp(1.8rem,4vw,3.2rem);
color:#0a2342;
margin:14px 0 20px;
}

.ai-tools-search-row{
display:grid;
grid-template-columns:minmax(240px,1fr) auto;
gap:14px;
align-items:center;
margin-bottom:22px;
}

.ai-tools-search-row input{
width:100%;
border:1px solid rgba(31,93,153,0.18);
border-radius:999px;
padding:15px 18px;
font-family:inherit;
font-weight:700;
color:#0a2342;
background:#f8fbff;
outline:none;
}

.ai-tools-search-row input:focus{
border-color:#1f5d99;
box-shadow:0 0 0 4px rgba(31,93,153,0.12);
}

.ai-tools-search-row span{
color:#475569;
font-weight:800;
white-space:nowrap;
}

.ai-tool-filters{
display:flex;
flex-wrap:wrap;
gap:12px;
}

.ai-tool-filters button{
border:0;
border-radius:999px;
padding:12px 17px;
background:#edf4fb;
color:#0a2342;
font-family:inherit;
font-weight:800;
cursor:pointer;
box-shadow:0 10px 24px rgba(10,35,66,0.08);
transition:all 0.25s ease;
}

.ai-tool-filters button:hover,
.ai-tool-filters button.active{
background:#0a2342;
color:white;
transform:translateY(-3px);
}

.ai-tools-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:22px;
}

.ai-tool-card{
display:flex;
flex-direction:column;
min-height:280px;
padding:24px;
border-radius:22px;
background:white;
box-shadow:0 16px 36px rgba(10,35,66,0.12);
border:1px solid rgba(31,93,153,0.1);
transition:all 0.3s ease;
}

.ai-tool-card:hover{
transform:translateY(-8px);
box-shadow:0 22px 50px rgba(10,35,66,0.18);
}

.ai-tool-card span{
width:max-content;
padding:7px 11px;
border-radius:999px;
background:#e8f1fa;
color:#1f5d99;
font-size:0.74rem;
font-weight:800;
margin-bottom:18px;
}

.ai-tool-card h2{
font-size:1.22rem;
line-height:1.35;
color:#0a2342;
margin-bottom:12px;
}

.ai-tool-card p{
color:#475569;
line-height:1.7;
font-size:0.94rem;
font-weight:500;
}

.ai-tool-card a{
width:max-content;
margin-top:auto;
padding:11px 15px;
border-radius:999px;
background:#0a2342;
color:white;
font-weight:800;
text-decoration:none;
}

.ai-tool-card a:hover{
background:#1f5d99;
}

@media(max-width:1180px){
.ai-tools-grid{
grid-template-columns:repeat(3,minmax(0,1fr));
}
}

@media(max-width:860px){
.ai-tools-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.ai-tools-search-row{
grid-template-columns:1fr;
}

.ai-tools-search-row span{
white-space:normal;
}
}

@media(max-width:580px){
.ai-tools-hero,
.ai-tools-directory{
padding-left:5%;
padding-right:5%;
}

.ai-tools-grid{
grid-template-columns:1fr;
}
}

/* AI TOOL DETAIL PAGE */
.ai-tool-detail-page{
background:#edf4fb;
min-height:100vh;
}

.ai-tool-detail-page .back-link{
margin:32px 8% 0;
}

.ai-tool-detail-hero{
padding:55px 8% 70px;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
color:white;
}

.ai-tool-detail-hero h1{
font-size:clamp(2.6rem,6vw,5.8rem);
line-height:1;
letter-spacing:0;
margin:16px 0 18px;
font-weight:800;
}

.ai-tool-detail-hero p{
max-width:900px;
font-size:1.08rem;
line-height:1.85;
color:rgba(255,255,255,0.9);
}

.ai-tool-detail-layout{
display:grid;
grid-template-columns:minmax(0,1.35fr) minmax(280px,0.65fr);
gap:26px;
padding:80px 8% 40px;
}

.ai-tool-main-card,
.ai-tool-side-card,
.ai-tool-learning-section,
.ai-tool-link-section{
background:white;
border-radius:24px;
box-shadow:0 18px 45px rgba(10,35,66,0.13);
}

.ai-tool-main-card,
.ai-tool-side-card{
padding:30px;
}

.ai-tool-main-card h2,
.ai-tool-side-card h2,
.ai-tool-learning-section h2,
.ai-tool-link-section h2{
color:#0a2342;
font-size:1.65rem;
margin-bottom:16px;
}

.ai-tool-main-card p,
.ai-tool-link-section p{
color:#475569;
line-height:1.85;
font-weight:500;
}

.detail-info-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:14px;
margin-top:28px;
}

.detail-info-grid div{
padding:18px;
border-radius:18px;
background:#f4f8fc;
border:1px solid rgba(31,93,153,0.12);
}

.detail-info-grid strong{
display:block;
color:#1f5d99;
font-size:0.72rem;
margin-bottom:8px;
letter-spacing:0.8px;
}

.detail-info-grid span{
color:#0a2342;
font-weight:800;
line-height:1.5;
}

.ai-tool-side-card ul{
padding-left:20px;
color:#334155;
line-height:1.85;
font-weight:600;
}

.ai-tool-side-card li{
margin-bottom:10px;
}

.ai-tool-learning-section{
margin:30px 8% 0;
padding:32px;
}

.ai-tool-steps{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:18px;
margin-top:24px;
}

.ai-tool-steps article{
padding:22px;
border-radius:20px;
background:#f4f8fc;
border:1px solid rgba(31,93,153,0.12);
}

.ai-tool-steps strong{
display:flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
border-radius:14px;
background:#0a2342;
color:white;
margin-bottom:16px;
}

.ai-tool-steps p{
color:#475569;
line-height:1.75;
font-weight:600;
}

.ai-tool-link-section{
display:flex;
justify-content:space-between;
align-items:center;
gap:28px;
margin:30px 8% 90px;
padding:32px;
border-top:6px solid #16a34a;
}

.ai-tool-link-section div{
max-width:760px;
}

.ai-tool-link-section a{
display:inline-flex;
width:max-content;
padding:15px 22px;
border-radius:999px;
background:#16a34a;
color:white;
font-weight:800;
text-decoration:none;
white-space:nowrap;
}

.ai-tool-link-section a:hover{
background:#0f7a37;
}

@media(max-width:1050px){
.ai-tool-detail-layout,
.detail-info-grid,
.ai-tool-steps{
grid-template-columns:1fr;
}

.ai-tool-link-section{
align-items:flex-start;
flex-direction:column;
}
}

@media(max-width:620px){
.ai-tool-detail-page .back-link,
.ai-tool-learning-section,
.ai-tool-link-section{
margin-left:5%;
margin-right:5%;
}

.ai-tool-detail-hero,
.ai-tool-detail-layout{
padding-left:5%;
padding-right:5%;
}

.ai-tool-link-section a{
width:100%;
justify-content:center;
white-space:normal;
text-align:center;
}
}

/* MATERIALS BOOKS */
.materials-page{
background:#edf4fb;
}

.materials-hero{
padding:90px 8% 70px;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
color:white;
}

.materials-hero h1,
.book-hero h1{
font-size:clamp(2.6rem,6vw,5.8rem);
line-height:1.05;
letter-spacing:0;
margin:16px 0 18px;
font-weight:800;
}

.materials-hero p,
.book-hero p{
max-width:920px;
font-size:1.08rem;
line-height:1.85;
color:rgba(255,255,255,0.9);
}

.materials-books-section{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:28px;
padding:90px 8% 110px;
background:#edf4fb;
}

.material-book-card{
position:relative;
overflow:hidden;
display:flex;
flex-direction:column;
min-height:420px;
padding:34px;
border-radius:24px;
background:white;
color:#0a2342;
text-decoration:none;
box-shadow:0 18px 45px rgba(10,35,66,0.14);
border-top:6px solid #d4a017;
transition:all 0.3s ease;
}

.material-book-card::after{
content:"";
position:absolute;
right:-45px;
top:-55px;
width:155px;
height:155px;
border-radius:50%;
background:rgba(212,160,23,0.16);
}

.material-book-card:hover{
transform:translateY(-10px);
box-shadow:0 24px 60px rgba(10,35,66,0.22);
}

.material-book-card span{
color:#1f5d99;
font-size:0.78rem;
font-weight:800;
letter-spacing:1px;
}

.material-book-card h2{
font-size:1.65rem;
line-height:1.25;
margin:18px 0 16px;
color:#0a2342;
}

.material-book-card p{
color:#475569;
line-height:1.8;
font-weight:500;
}

.material-book-card strong{
width:max-content;
margin-top:auto;
padding:13px 18px;
border-radius:999px;
background:#0a2342;
color:white;
}

.book-detail-page{
background:#edf4fb;
min-height:100vh;
}

.book-detail-page .back-link{
margin:32px 8% 0;
}

.book-hero{
padding:55px 8% 70px;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
color:white;
}

.book-detail-layout{
display:grid;
grid-template-columns:1.15fr 0.85fr;
gap:26px;
padding:80px 8% 30px;
}

.book-ad-card,
.book-help-section,
.book-preview-section,
.book-order-section{
background:white;
border-radius:24px;
box-shadow:0 18px 45px rgba(10,35,66,0.13);
}

.book-ad-card{
padding:30px;
}

.book-ad-card h2,
.book-help-section h2,
.book-preview-section h2,
.book-order-section h2{
color:#0a2342;
font-size:1.6rem;
margin-bottom:16px;
}

.book-ad-card p,
.book-preview-section p,
.book-order-section p{
color:#475569;
line-height:1.85;
font-weight:500;
margin-bottom:14px;
}

.book-ad-card ul{
padding-left:20px;
color:#334155;
line-height:1.9;
font-weight:600;
}

.book-help-section,
.book-preview-section,
.book-order-section{
margin:30px 8% 0;
padding:32px;
}

.book-help-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:18px;
margin-top:24px;
}

.book-help-grid article{
padding:22px;
border-radius:20px;
background:#f4f8fc;
border:1px solid rgba(31,93,153,0.12);
}

.book-help-grid strong{
display:flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
border-radius:14px;
background:#0a2342;
color:white;
margin-bottom:16px;
}

.book-help-grid p{
color:#475569;
line-height:1.75;
font-weight:600;
}

.book-preview-section iframe{
width:100%;
height:760px;
border:1px solid rgba(31,93,153,0.18);
border-radius:18px;
background:#f4f8fc;
margin-top:20px;
}

.book-docx-preview{
display:grid;
grid-template-columns:minmax(0,0.8fr) minmax(280px,1.2fr);
gap:24px;
align-items:start;
}

.docx-preview-card{
padding:28px;
border-radius:20px;
background:#f4f8fc;
border:1px solid rgba(31,93,153,0.12);
}

.docx-preview-card h3{
color:#0a2342;
font-size:1.25rem;
margin-bottom:12px;
}

.docx-preview-card p{
color:#475569;
line-height:1.8;
}

.locked-book-preview{
margin-top:20px;
padding:28px;
border-radius:20px;
background:#f4f8fc;
border:1px solid rgba(31,93,153,0.12);
}

.locked-book-preview h3{
color:#0a2342;
font-size:1.25rem;
margin-bottom:14px;
}

.locked-book-preview ul{
padding-left:20px;
color:#334155;
line-height:1.9;
font-weight:600;
}

.book-order-section{
margin-bottom:90px;
border-top:6px solid #16a34a;
display:flex;
justify-content:space-between;
align-items:center;
gap:24px;
}

.book-order-section p{
margin:0;
font-weight:800;
color:#0a2342;
}

.book-order-section a,
.docx-preview-card a{
display:inline-flex;
width:max-content;
padding:14px 20px;
border-radius:999px;
background:#0a2342;
color:white;
font-weight:800;
text-decoration:none;
}

.book-order-section p a{
padding:0;
border-radius:0;
background:transparent;
color:#1f5d99;
}

.book-order-section > a{
background:#16a34a;
}

@media(max-width:1050px){
.materials-books-section,
.book-detail-layout,
.book-help-grid,
.book-docx-preview{
grid-template-columns:1fr;
}

.book-order-section{
align-items:flex-start;
flex-direction:column;
}
}

@media(max-width:620px){
.materials-hero,
.materials-books-section,
.book-hero,
.book-detail-layout{
padding-left:5%;
padding-right:5%;
}

.book-detail-page .back-link,
.book-help-section,
.book-preview-section,
.book-order-section{
margin-left:5%;
margin-right:5%;
}

.book-preview-section iframe{
height:560px;
}

.book-order-section > a,
.docx-preview-card a{
width:100%;
justify-content:center;
text-align:center;
}
}

/* A.E CONNECT AUTH */
.nav-auth-link{
display:inline-flex;
padding:9px 14px;
border-radius:999px;
background:#d4a017;
color:#0a2342 !important;
font-weight:800;
}

.auth-page{
background:#edf4fb;
font-family:'Poppins', Arial, sans-serif;
color:#0a2342;
}

.auth-shell{
display:grid;
grid-template-columns:minmax(0,1fr) minmax(360px,0.82fr);
gap:34px;
min-height:calc(100vh - 80px);
padding:90px 8%;
background:
linear-gradient(135deg, rgba(10,35,66,0.95), rgba(18,60,107,0.9), rgba(31,93,153,0.86)),
url("../ASSETS/images/program-beyond-lecture.png") center/cover;
}

.auth-brand-panel{
color:white;
align-self:center;
}

.auth-brand-panel h1{
font-size:clamp(2.8rem,6vw,5.7rem);
line-height:1.05;
letter-spacing:0;
margin:16px 0 20px;
font-weight:800;
}

.auth-brand-panel p{
max-width:720px;
color:rgba(255,255,255,0.9);
font-size:1.08rem;
line-height:1.85;
}

.auth-benefits{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:14px;
margin-top:34px;
}

.auth-benefits article{
padding:18px;
border-radius:18px;
background:rgba(255,255,255,0.12);
border:1px solid rgba(255,255,255,0.18);
backdrop-filter:blur(10px);
}

.auth-benefits strong{
display:block;
color:#d4a017;
margin-bottom:8px;
}

.auth-benefits span{
display:block;
color:white;
font-weight:700;
line-height:1.5;
}

.auth-card{
background:white;
border-radius:26px;
padding:30px;
box-shadow:0 24px 70px rgba(0,0,0,0.24);
align-self:center;
}

.auth-tabs{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
padding:8px;
border-radius:999px;
background:#edf4fb;
margin-bottom:26px;
}

.auth-tabs button{
border:0;
border-radius:999px;
padding:13px 14px;
background:transparent;
color:#0a2342;
font-family:inherit;
font-weight:800;
cursor:pointer;
}

.auth-tabs button.active{
background:#0a2342;
color:white;
box-shadow:0 10px 24px rgba(10,35,66,0.18);
}

.auth-form h2,
.member-panel h2{
font-size:2rem;
color:#0a2342;
margin-bottom:20px;
}

.auth-form label{
display:flex;
flex-direction:column;
gap:8px;
margin-bottom:15px;
color:#0a2342;
font-size:0.78rem;
font-weight:800;
letter-spacing:0.5px;
}

.auth-form input{
width:100%;
border:1px solid rgba(31,93,153,0.18);
border-radius:16px;
padding:14px 15px;
font-family:inherit;
font-size:0.95rem;
font-weight:600;
color:#0a2342;
background:#f8fbff;
outline:none;
}

.auth-form input:focus{
border-color:#1f5d99;
box-shadow:0 0 0 4px rgba(31,93,153,0.12);
}

.password-field{
position:relative;
display:block;
width:100%;
}

.password-field input{
padding-right:76px;
}

.auth-form .password-toggle{
position:absolute;
right:8px;
top:50%;
transform:translateY(-50%);
width:auto;
min-width:58px;
height:34px;
padding:0 12px;
border-radius:999px;
background:#e8eef6;
color:#0a2342;
font-size:0.76rem;
box-shadow:none;
}

.auth-form .password-toggle:hover{
background:#dce7f3;
transform:translateY(-50%);
box-shadow:none;
}

.auth-form button,
.member-actions a,
.member-actions button{
border:0;
display:inline-flex;
align-items:center;
justify-content:center;
width:100%;
border-radius:999px;
padding:15px 18px;
background:#0a2342;
color:white;
font-family:inherit;
font-weight:800;
text-decoration:none;
cursor:pointer;
}

.auth-form button:hover,
.member-actions a:hover,
.member-actions button:hover{
background:#1f5d99;
}

.auth-note{
margin-top:14px;
color:#64748b;
font-size:0.86rem;
line-height:1.6;
font-weight:600;
}

.auth-message{
min-height:24px;
margin-top:18px;
font-weight:800;
color:#16a34a;
line-height:1.5;
}

.auth-message[data-type="error"]{
color:#b91c1c;
}

.member-panel{
padding:26px;
border-radius:22px;
background:#f8fbff;
border:1px solid rgba(31,93,153,0.14);
}

.member-panel span{
display:inline-flex;
padding:8px 12px;
border-radius:999px;
background:rgba(22,163,74,0.12);
color:#16a34a;
font-size:0.75rem;
font-weight:800;
margin-bottom:16px;
}

.member-panel p{
color:#475569;
line-height:1.75;
font-weight:600;
}

.member-actions{
display:grid;
gap:12px;
margin-top:22px;
}

.member-actions button{
background:#d4a017;
color:#0a2342;
}

@media(max-width:980px){
.auth-shell,
.auth-benefits{
grid-template-columns:1fr;
}
}

@media(max-width:620px){
.auth-shell{
padding:70px 5%;
}

.auth-card{
padding:22px;
}
}

/* HOME FOUNDERS SECTION */
.founders-section{
padding:100px 8%;
background:linear-gradient(135deg,#0a2342,#123c6b,#1f5d99);
text-align:center;
}

.founders-section h2{
font-size:clamp(2.4rem,5vw,4.5rem);
line-height:1.05;
letter-spacing:0;
margin:16px 0 42px;
color:white;
font-weight:800;
}

.founders-grid{
display:grid;
grid-template-columns:1.2fr repeat(3,1fr);
gap:22px;
align-items:stretch;
}

.founder-card{
position:relative;
overflow:hidden;
display:flex;
flex-direction:column;
justify-content:flex-start;
min-height:260px;
padding:30px;
border-radius:24px;
background:white;
box-shadow:0 18px 45px rgba(0,0,0,0.18);
border-top:6px solid #1f5d99;
text-align:left;
}

.founder-photo{
position:relative;
z-index:1;
width:100%;
aspect-ratio:4 / 3;
object-fit:cover;
object-position:center 18%;
border-radius:18px;
margin-bottom:22px;
box-shadow:0 14px 30px rgba(10,35,66,0.16);
}

.founder-photo-button{
position:relative;
z-index:1;
display:block;
width:100%;
border:0;
padding:0;
margin:0 0 22px;
background:transparent;
cursor:pointer;
border-radius:18px;
}

.founder-photo-button .founder-photo{
margin-bottom:0;
transition:all 0.3s ease;
}

.founder-photo-button:hover .founder-photo{
transform:scale(1.02);
box-shadow:0 18px 38px rgba(10,35,66,0.22);
}

.founder-card::after{
content:"";
position:absolute;
right:-38px;
top:-42px;
width:130px;
height:130px;
border-radius:50%;
background:rgba(31,93,153,0.12);
}

.main-founder{
border-top-color:#d4a017;
background:#fffaf0;
}

.founder-card span{
position:relative;
z-index:1;
width:max-content;
padding:8px 12px;
border-radius:999px;
background:#e8f1fa;
color:#1f5d99;
font-size:0.75rem;
font-weight:800;
letter-spacing:1px;
margin-bottom:18px;
}

.main-founder span{
background:rgba(212,160,23,0.18);
color:#9b6b00;
}

.founder-card h3{
position:relative;
z-index:1;
color:#0a2342;
font-size:clamp(1.35rem,2vw,2rem);
line-height:1.25;
margin-bottom:12px;
}

.founder-card p{
position:relative;
z-index:1;
color:#475569;
font-weight:800;
letter-spacing:1px;
margin-bottom:12px;
}

.founder-card a{
position:relative;
z-index:1;
width:max-content;
padding:12px 16px;
border-radius:999px;
background:#0a2342;
color:white;
font-weight:800;
text-decoration:none;
}

.photo-modal{
position:fixed;
inset:0;
z-index:9999;
display:flex;
align-items:center;
justify-content:center;
padding:28px;
background:rgba(5,18,34,0.88);
backdrop-filter:blur(8px);
}

.photo-modal[hidden]{
display:none;
}

.photo-modal img{
max-width:min(92vw,760px);
max-height:88vh;
object-fit:contain;
border-radius:24px;
box-shadow:0 28px 80px rgba(0,0,0,0.45);
background:white;
}

.photo-modal-close{
position:absolute;
top:22px;
right:22px;
border:0;
border-radius:999px;
padding:12px 18px;
background:white;
color:#0a2342;
font-family:inherit;
font-weight:800;
cursor:pointer;
}

body.modal-open{
overflow:hidden;
}

@media(max-width:1100px){
.founders-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media(max-width:640px){
.founders-section{
padding:80px 5%;
}

.founders-grid{
grid-template-columns:1fr;
}

.founder-card{
min-height:210px;
}
}

/* UNIFIED SITE NAVBAR */

body:not(.home-page):not(.about-page) .navbar{
min-height:56px;
padding:0 24px;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
background:white !important;
color:#25263a;
position:sticky;
top:0;
z-index:50;
box-shadow:0 1px 0 rgba(0,0,0,0.06),0 10px 30px rgba(34,28,25,0.08);
flex-wrap:nowrap;
}

body:not(.home-page):not(.about-page) .navbar .logo{
display:inline-flex;
align-items:center;
gap:9px;
color:#25263a;
font-weight:900;
font-size:0.82rem;
white-space:nowrap;
}

body:not(.home-page):not(.about-page) .navbar .logo img{
width:30px;
height:30px;
border-radius:7px;
object-fit:cover;
background:white;
padding:0;
}

body:not(.home-page):not(.about-page) .navbar .nav-links{
display:flex;
align-items:center;
justify-content:flex-end;
gap:16px;
list-style:none;
flex-wrap:wrap;
}

body:not(.home-page):not(.about-page) .navbar .nav-links a{
color:#38394b;
font-size:0.78rem;
font-weight:800;
text-decoration:none;
transition:color 0.2s ease,background 0.2s ease;
}

body:not(.home-page):not(.about-page) .navbar .nav-links a:hover{
color:#ff7058;
}

body:not(.home-page):not(.about-page) .navbar .nav-links a.active{
color:#ff7058;
}

body:not(.home-page):not(.about-page) .navbar .nav-links a[href="auth.html"],
body:not(.home-page):not(.about-page) .navbar .nav-auth-link{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:32px;
padding:0 14px;
border-radius:999px;
background:#17182d;
color:white !important;
font-size:0.76rem;
font-weight:900;
}

@media(max-width:980px){
body:not(.home-page):not(.about-page) .navbar{
align-items:flex-start;
padding:12px 20px;
flex-wrap:wrap;
}

body:not(.home-page):not(.about-page) .navbar .nav-links{
width:100%;
justify-content:flex-start;
gap:14px 20px;
}
}

@media(max-width:640px){
body:not(.home-page):not(.about-page) .navbar{
position:relative;
top:auto;
}
}

/* PROGRAMS PAGE CLEANUP */

.programs-page{
background:#fffaf6;
}

.programs-page .hero{
min-height:330px;
height:330px;
padding:54px 20px;
background:
linear-gradient(rgba(10,35,66,0.72),rgba(10,35,66,0.72)),
url("../ASSETS/images/hero.jpg");
background-size:cover;
background-position:center 58%;
}

.programs-page .hero-content{
max-width:860px;
}

.programs-page .hero h1{
font-size:clamp(2.1rem,4vw,3.4rem);
line-height:1.25;
margin-bottom:18px;
}

.programs-page .hero p{
font-size:1rem;
max-width:760px;
margin:0 auto;
}

.programs-page .programs{
padding:54px 8% 70px;
background:#fffaf6;
}

.programs-page .programs h2,
.programs-page .about-section h2{
color:#25263a;
}

.programs-page .about-intro{
max-width:980px;
margin:0 auto 44px;
color:#6f7082;
font-weight:600;
}

.programs-page .program-card{
padding:0;
border-radius:10px;
border-top:0;
overflow:hidden;
background:white;
}

.programs-page .program-card img{
height:180px;
max-width:none;
margin:0;
border-radius:0;
box-shadow:none;
}

.programs-page .program-card h3,
.programs-page .program-card p{
padding-left:24px;
padding-right:24px;
}

.programs-page .program-card h3{
margin-top:22px;
}

.programs-page .program-card p{
padding-bottom:26px;
}

.programs-page .about-section{
margin:0;
border-radius:0;
box-shadow:none;
background:white;
padding:62px 8%;
}

@media(max-width:768px){
.programs-page .hero{
height:auto;
min-height:300px;
padding:50px 18px;
}

.programs-page .programs{
padding:44px 5% 58px;
}
}

@media(max-width:980px){
.events-layout{
grid-template-columns:1fr;
}

.post-event-panel{
position:static;
}

.featured-events-grid{
grid-template-columns:1fr;
}

.featured-opportunity-grid{
grid-template-columns:1fr 1fr;
}

.opportunity-row{
grid-template-columns:42px minmax(0,1fr);
}

.opportunity-action{
grid-column:2;
justify-items:start;
}

.scholarship-layout{
grid-template-columns:1fr;
}

.scholarship-guide{
position:static;
}

.scholarship-step-grid{
grid-template-columns:1fr 1fr;
}

.reply-form{
grid-template-columns:1fr;
}

.academic-community-grid{
grid-template-columns:1fr 1fr;
}

.success-stats-grid,
.story-video-grid,
.case-study-grid{
grid-template-columns:1fr 1fr;
}

.case-study-grid{
gap:40px 28px;
}
}

@media(max-width:640px){
.events-hero{
padding:68px 0 76px;
}

.events-hero h1{
font-size:2.55rem;
}

.events-tools{
align-items:stretch;
}

.event-search{
width:100%;
}

.event-row{
grid-template-columns:1fr;
gap:18px;
padding:22px;
}

.event-register{
width:max-content;
}

.form-two{
grid-template-columns:1fr;
}

.featured-opportunity-grid{
grid-template-columns:1fr;
}

.opportunities-hero{
padding:68px 0 74px;
}

.opportunities-hero h1{
font-size:2.5rem;
}

.opportunities-tools{
align-items:stretch;
}

.opportunity-row{
grid-template-columns:1fr;
gap:16px;
padding:22px;
}

.opportunity-action{
grid-column:auto;
}

.scholarships-hero{
padding:68px 0 74px;
}

.scholarships-hero h1{
font-size:2.45rem;
}

.scholarship-tools,
.scholarship-alert{
align-items:stretch;
flex-direction:column;
}

.scholarship-card-head,
.scholarship-card footer{
flex-direction:column;
align-items:flex-start;
}

.scholarship-step-grid{
grid-template-columns:1fr;
}

.community-hero{
padding:70px 0 78px;
}

.community-hero h1{
font-size:2.65rem;
}

.community-tools{
align-items:stretch;
}

.community-filters{
gap:8px;
}

.discussion-card{
grid-template-columns:1fr;
padding:24px 20px;
}

.academic-communities-section{
padding:50px 0 58px;
}

.academic-community-head h2{
font-size:2.35rem;
}

.create-group-button{
width:100%;
max-width:260px;
}

.academic-community-grid{
grid-template-columns:1fr;
}

.academic-community-card{
min-height:0;
padding:26px 24px;
}

.group-chat-modal{
padding:0;
z-index:20000;
}

.group-chat-panel{
width:100vw;
height:100vh;
height:100dvh;
height:var(--community-chat-height,100dvh);
border-radius:0;
grid-template-columns:1fr;
}

.group-chat-sidebar{
display:none;
}

.group-chat-header{
gap:8px;
padding:10px 10px 10px max(10px,env(safe-area-inset-left));
min-height:68px;
max-width:100vw;
overflow:hidden;
}

.group-call-actions{
gap:6px;
margin-left:0;
flex:0 0 auto;
}

.group-call-actions button{
width:34px;
height:34px;
padding:0;
font-size:0;
}

.group-chat-profile{
flex:1 1 auto;
min-width:0;
gap:8px;
}

#groupChatAvatar{
width:36px;
height:36px;
flex:0 0 auto;
}

.group-chat-header h2{
max-width:34vw;
font-size:0.92rem;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.group-chat-header p{
font-size:0.68rem;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.group-chat-close{
display:none;
}

.group-chat-back{
width:34px;
height:34px;
flex:0 0 auto;
}

.group-chat-messages{
padding:14px max(14px,env(safe-area-inset-right)) 14px max(14px,env(safe-area-inset-left));
gap:10px;
width:100%;
max-width:100vw;
overflow-x:hidden;
}

.chat-bubble{
max-width:78%;
padding:10px 12px 7px;
border-radius:14px;
font-size:0.9rem;
}

.chat-bubble p{
font-size:0.9rem;
line-height:1.42;
}

.group-chat-compose{
grid-template-columns:36px minmax(0,1fr) 38px 42px;
gap:6px;
width:100%;
max-width:100vw;
padding:9px max(10px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));
position:sticky;
bottom:0;
overflow:hidden;
}

.voice-button{
grid-column:auto;
width:38px;
height:40px;
}

.group-chat-compose button[type="submit"]{
grid-column:auto;
width:42px;
height:40px;
min-width:42px;
}

.attach-button{
width:36px;
height:40px;
}

.group-chat-compose input[type="text"]{
height:40px;
min-width:0;
font-size:16px;
padding:0 12px;
}

.community-modal-panel{
padding:24px 20px;
}

.success-stories-hero{
padding:64px 0 72px;
}

.success-stories-hero h1{
font-size:2.5rem;
}

.success-stats-grid,
.story-video-grid,
.case-study-grid{
grid-template-columns:1fr;
}

.success-stats-grid{
gap:30px;
}

.story-video-section,
.case-studies-section,
.story-next-section{
padding:70px 0;
}

.story-video-grid,
.case-study-grid{
margin-top:42px;
}

.case-profile{
padding-right:0;
}

.case-profile b{
position:static;
grid-column:1 / -1;
max-width:none;
justify-content:flex-start;
width:max-content;
}

.story-modal{
padding:18px 0 0;
}

.story-modal-panel{
max-height:96vh;
border-radius:10px 10px 0 0;
}

.story-modal-hero{
min-height:330px;
padding:28px 22px;
}

.story-modal-person h2{
font-size:1.45rem;
}

.story-modal-body{
padding:28px 22px;
}

.story-modal-body blockquote{
font-size:1.08rem;
}

.story-modal-body footer{
align-items:flex-start;
flex-direction:column;
}
}

/* SITE-WIDE MOTION POLISH */

:root{
--motion-fast:0.18s;
--motion-med:0.32s;
--motion-slow:0.72s;
--motion-ease:cubic-bezier(0.22,1,0.36,1);
}

@keyframes aePageFade{
from{opacity:0;}
to{opacity:1;}
}

@keyframes aeRiseIn{
from{opacity:0;transform:translateY(22px);}
to{opacity:1;transform:translateY(0);}
}

@keyframes aeSoftScale{
from{opacity:0;transform:scale(0.96);}
to{opacity:1;transform:scale(1);}
}

@keyframes aeSlideDown{
from{opacity:0;transform:translateY(-12px);}
to{opacity:1;transform:translateY(0);}
}

@keyframes aePulseGlow{
0%,100%{box-shadow:0 0 0 rgba(255,105,85,0);}
50%{box-shadow:0 0 0 8px rgba(255,105,85,0.08);}
}

body{
animation:aePageFade var(--motion-slow) ease both;
}

:where(.home-footer-nav,.about-bottom-nav,.navbar){
animation:aeSlideDown 0.5s var(--motion-ease) both;
}

:where(main section,.home-hero,.about-story-hero,.community-hero,.success-stories-hero){
animation:aeRiseIn 0.72s var(--motion-ease) both;
}

:where(
.program-card,
.skill-card,
.opportunity-card,
.scholarship-card,
.event-card,
.resource-card,
.story-card,
.academic-community-card,
.discussion-card,
.about-value-card,
.about-team-card,
.about-wings-grid article,
.about-assist-list article,
.case-study-card,
.story-video-card,
.success-stat-card
){
transition:transform var(--motion-med) var(--motion-ease),box-shadow var(--motion-med) var(--motion-ease),border-color var(--motion-med) ease,background var(--motion-med) ease;
}

:where(
.program-card,
.skill-card,
.opportunity-card,
.scholarship-card,
.event-card,
.resource-card,
.story-card,
.academic-community-card,
.discussion-card,
.about-value-card,
.about-team-card,
.about-wings-grid article,
.about-assist-list article,
.case-study-card,
.story-video-card,
.success-stat-card
):hover{
transform:translateY(-6px);
box-shadow:0 22px 58px rgba(16,40,69,0.12);
}

:where(button,a,.home-btn,.nav-cta,.about-nav-cta,.start-discussion-button,.create-group-button){
transition:transform var(--motion-fast) var(--motion-ease),box-shadow var(--motion-fast) var(--motion-ease),background var(--motion-fast) ease,color var(--motion-fast) ease,border-color var(--motion-fast) ease;
}

:where(button,a,.home-btn,.nav-cta,.about-nav-cta,.start-discussion-button,.create-group-button):where(:hover,:focus-visible){
transform:translateY(-2px);
}

:where(button,a,.home-btn,.nav-cta,.about-nav-cta,.start-discussion-button,.create-group-button):focus-visible{
outline:3px solid rgba(255,105,85,0.34);
outline-offset:3px;
}

:where(.home-nav-links a,.about-bottom-nav a,.navbar a){
position:relative;
}

:where(.home-nav-links a:not(.nav-cta),.about-bottom-nav a:not(.about-nav-cta),.navbar a:not(.nav-cta))::after{
content:"";
position:absolute;
left:0;
right:0;
bottom:-6px;
height:2px;
background:currentColor;
transform:scaleX(0);
transform-origin:left;
transition:transform var(--motion-med) var(--motion-ease);
}

:where(.home-nav-links a:not(.nav-cta),.about-bottom-nav a:not(.about-nav-cta),.navbar a:not(.nav-cta)):where(:hover,:focus-visible)::after{
transform:scaleX(1);
}

:where(.community-modal:not([hidden]),.group-chat-modal:not([hidden]),.about-photo-modal:not([hidden]),.story-modal:not([hidden])){
animation:aePageFade var(--motion-med) ease both;
}

:where(.community-modal-panel,.group-chat-panel,.story-modal-panel,.about-photo-stage img){
animation:aeSoftScale var(--motion-med) var(--motion-ease) both;
}

:where(img,.group-avatar,.group-list-avatar,#groupChatAvatar,.about-photo-button){
transition:transform var(--motion-med) var(--motion-ease),filter var(--motion-med) ease;
}

:where(.program-card,.resource-card,.story-card,.about-team-card,.academic-community-card):hover img{
transform:scale(1.04);
}

:where(.nav-cta,.home-btn.primary,.create-group-button,.start-discussion-button,.about-nav-cta){
animation:aePulseGlow 3.6s ease-in-out infinite;
}

@media(prefers-reduced-motion:reduce){
*,
*::before,
*::after{
animation-duration:0.001ms !important;
animation-iteration-count:1 !important;
scroll-behavior:auto !important;
transition-duration:0.001ms !important;
}

:where(button,a,.home-btn,.nav-cta,.about-nav-cta,.start-discussion-button,.create-group-button):where(:hover,:focus-visible),
:where(
.program-card,
.skill-card,
.opportunity-card,
.scholarship-card,
.event-card,
.resource-card,
.story-card,
.academic-community-card,
.discussion-card,
.about-value-card,
.about-team-card,
.about-wings-grid article,
.about-assist-list article,
.case-study-card,
.story-video-card,
.success-stat-card
):hover{
transform:none;
}
}

/* A.E CONNECT HOMEPAGE ECOSYSTEM REDESIGN */

.ecosystem-home{
--ae-navy:#17182d;
--ae-ink:#23243a;
--ae-muted:#6f7186;
--ae-coral:#ff7058;
--ae-coral-dark:#e85d48;
--ae-cream:#fff7f1;
--ae-soft:#fbefe7;
--ae-green:#2f7757;
--ae-gold:#f2a722;
--ae-blue:#4e94dd;
--ae-line:#efe4dc;
--ae-white:#ffffff;
background:#fffaf6;
color:var(--ae-ink);
}

.ecosystem-home .home-footer-nav{
background:rgba(255,255,255,0.92);
backdrop-filter:blur(18px);
}

.ecosystem-home .home-nav-links a{
font-size:0.73rem;
}

.ecosystem-home .nav-cta{
background:var(--ae-navy);
color:white;
}

.ecosystem-container{
width:min(1180px,calc(100% - 40px));
margin:0 auto;
}

.ecosystem-kicker{
display:inline-flex;
align-items:center;
gap:8px;
width:max-content;
max-width:100%;
padding:7px 12px;
border-radius:999px;
background:#fff0e7;
color:var(--ae-coral-dark);
font-size:0.68rem;
line-height:1;
font-weight:900;
text-transform:uppercase;
letter-spacing:0.02em;
}

.ecosystem-kicker::before{
content:"";
width:7px;
height:7px;
border-radius:999px;
background:var(--ae-coral);
box-shadow:0 0 0 5px rgba(255,112,88,0.12);
}

.ecosystem-hero{
position:relative;
overflow:hidden;
padding:92px 0 74px;
background:
radial-gradient(circle at 80% 18%,rgba(255,112,88,0.16),transparent 30%),
linear-gradient(135deg,#fffaf6 0%,#fff4ec 48%,#edf5ff 100%);
}

.ecosystem-hero::after{
content:"";
position:absolute;
inset:auto 0 0;
height:1px;
background:linear-gradient(90deg,transparent,var(--ae-line),transparent);
}

.ecosystem-hero-grid{
display:grid;
grid-template-columns:minmax(0,1fr) minmax(360px,0.88fr);
gap:60px;
align-items:center;
}

.ecosystem-hero-copy h1{
max-width:760px;
margin:18px 0 20px;
font-size:clamp(3.3rem,6.6vw,6.9rem);
line-height:0.94;
letter-spacing:0;
font-weight:900;
color:var(--ae-navy);
}

.ecosystem-hero-copy p{
max-width:690px;
margin:0 0 30px;
font-size:1.08rem;
line-height:1.85;
font-weight:600;
color:#55576d;
}

.ecosystem-actions{
display:flex;
align-items:center;
gap:14px;
flex-wrap:wrap;
}

.ecosystem-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:48px;
padding:0 22px;
border-radius:999px;
font-size:0.82rem;
font-weight:900;
text-decoration:none;
white-space:nowrap;
transition:transform 0.22s ease,box-shadow 0.22s ease,background 0.22s ease,color 0.22s ease;
}

.ecosystem-btn:hover{
transform:translateY(-2px);
}

.ecosystem-btn-primary{
background:var(--ae-coral);
color:white;
box-shadow:0 18px 36px rgba(255,112,88,0.28);
}

.ecosystem-btn-primary:hover{
background:var(--ae-coral-dark);
box-shadow:0 22px 42px rgba(255,112,88,0.34);
}

.ecosystem-btn-secondary{
background:white;
color:var(--ae-navy);
box-shadow:inset 0 0 0 1px rgba(23,24,45,0.13),0 14px 30px rgba(48,36,30,0.08);
}

.ecosystem-btn-secondary.dark{
background:var(--ae-navy);
color:white;
box-shadow:0 18px 36px rgba(23,24,45,0.18);
}

.ecosystem-hero-visual{
position:relative;
min-height:540px;
border-radius:28px;
overflow:hidden;
background:var(--ae-navy);
box-shadow:0 34px 90px rgba(31,24,22,0.18);
isolation:isolate;
}

.ecosystem-hero-visual::before{
content:"";
position:absolute;
inset:0;
z-index:1;
background:linear-gradient(180deg,rgba(23,24,45,0.08),rgba(23,24,45,0.72));
}

.ecosystem-hero-visual img{
width:100%;
height:100%;
min-height:540px;
object-fit:cover;
object-position:center;
filter:saturate(1.04) contrast(1.02);
}

.growth-card{
position:absolute;
z-index:2;
width:min(245px,72%);
padding:18px;
border-radius:16px;
background:rgba(255,255,255,0.92);
backdrop-filter:blur(16px);
box-shadow:0 22px 48px rgba(0,0,0,0.18);
}

.growth-card-top{
top:24px;
left:24px;
}

.growth-card-bottom{
right:24px;
bottom:24px;
}

.growth-card span{
display:inline-flex;
align-items:center;
justify-content:center;
width:34px;
height:34px;
border-radius:10px;
background:#fff0e7;
color:var(--ae-coral);
font-weight:900;
font-size:0.72rem;
margin-bottom:14px;
}

.growth-card strong,
.growth-card small{
display:block;
}

.growth-card strong{
color:var(--ae-navy);
font-size:0.94rem;
line-height:1.25;
}

.growth-card small{
margin-top:6px;
color:var(--ae-muted);
font-size:0.72rem;
font-weight:700;
}

.ecosystem-trust{
padding:34px 0;
background:var(--ae-navy);
color:white;
}

.trust-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:18px;
}

.trust-grid article{
padding:22px 18px;
border-left:1px solid rgba(255,255,255,0.12);
}

.trust-grid article:first-child{
border-left:0;
}

.trust-grid strong,
.trust-grid span,
.trust-grid small{
display:block;
}

.trust-grid strong{
font-size:clamp(1.9rem,3vw,3rem);
line-height:1;
font-weight:900;
}

.trust-grid span{
margin-top:9px;
font-size:0.82rem;
font-weight:900;
}

.trust-grid small{
max-width:210px;
margin-top:8px;
color:rgba(255,255,255,0.58);
font-size:0.7rem;
line-height:1.55;
font-weight:600;
}

.student-gap-section,
.why-connect-section,
.ecosystem-map-section,
.student-success-section,
.founder-story-section,
.final-action-section{
padding:96px 0;
}

.student-gap-section,
.works-section,
.student-success-section{
background:white;
}

.why-connect-section,
.featured-roadmaps-section,
.community-join-section{
padding:96px 0;
background:var(--ae-cream);
}

.founder-story-section{
background:var(--ae-cream);
}

.section-intro{
max-width:700px;
}

.section-intro.centered{
text-align:center;
margin:0 auto;
}

.section-intro.centered .ecosystem-kicker{
margin-left:auto;
margin-right:auto;
}

.section-intro h2,
.final-action-panel h2{
margin:16px 0 14px;
font-size:clamp(2.15rem,4.8vw,4.1rem);
line-height:1.02;
letter-spacing:0;
font-weight:900;
color:var(--ae-navy);
}

.section-intro p,
.final-action-panel p{
color:var(--ae-muted);
font-size:1rem;
line-height:1.8;
font-weight:600;
}

.split-section{
display:grid;
grid-template-columns:minmax(0,0.9fr) minmax(420px,1fr);
gap:68px;
align-items:start;
}

.solution-list{
display:grid;
gap:14px;
}

.solution-list article{
padding:22px 24px;
border-radius:14px;
background:#fffaf6;
border:1px solid var(--ae-line);
box-shadow:0 16px 34px rgba(54,39,31,0.04);
}

.solution-list b{
display:block;
margin-bottom:8px;
color:var(--ae-navy);
font-size:0.98rem;
}

.solution-list p{
margin:0;
color:var(--ae-muted);
font-size:0.86rem;
line-height:1.65;
font-weight:600;
}

.journey-line{
display:grid;
grid-template-columns:repeat(5,minmax(0,1fr));
gap:16px;
margin-top:58px;
}

.journey-line article{
position:relative;
padding:26px 22px;
min-height:235px;
border-radius:16px;
background:white;
border:1px solid rgba(239,228,220,0.9);
box-shadow:0 18px 40px rgba(54,39,31,0.05);
}

.journey-line article::after{
content:"";
position:absolute;
top:45px;
right:22px;
width:34px;
height:2px;
background:var(--ae-coral);
opacity:0.22;
}

.journey-line article:last-child::after{
display:none;
}

.journey-line span{
display:grid;
place-items:center;
width:40px;
height:40px;
border-radius:12px;
background:var(--ae-navy);
color:white;
font-weight:900;
font-size:0.8rem;
margin-bottom:32px;
}

.journey-line h3{
font-size:1rem;
line-height:1.25;
color:var(--ae-navy);
margin-bottom:10px;
}

.journey-line p{
color:var(--ae-muted);
font-size:0.82rem;
line-height:1.6;
font-weight:600;
}

.ecosystem-row{
align-items:flex-end;
margin-bottom:34px;
}

.ecosystem-row > p{
max-width:360px;
margin:0;
color:var(--ae-muted);
font-size:0.9rem;
line-height:1.7;
font-weight:600;
}

.ecosystem-card-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:18px;
}

.ecosystem-card{
min-height:238px;
display:flex;
flex-direction:column;
padding:26px;
border-radius:16px;
background:white;
border:1px solid var(--ae-line);
box-shadow:0 18px 42px rgba(54,39,31,0.05);
color:inherit;
text-decoration:none;
}

.ecosystem-card span{
display:grid;
place-items:center;
width:44px;
height:44px;
border-radius:12px;
background:#fff0e7;
color:var(--ae-coral);
font-size:0.74rem;
font-weight:900;
margin-bottom:34px;
}

.ecosystem-card h3{
font-size:1.05rem;
line-height:1.25;
color:var(--ae-navy);
margin-bottom:10px;
}

.ecosystem-card p{
margin:0;
color:var(--ae-muted);
font-size:0.84rem;
line-height:1.65;
font-weight:600;
}

.why-card-grid .ecosystem-card{
min-height:220px;
}

.why-card-grid .ecosystem-card span{
background:var(--ae-navy);
color:white;
}

.ecosystem-card:hover,
.featured-roadmap-card:hover,
.community-choice-grid article:hover{
transform:translateY(-6px);
box-shadow:0 26px 64px rgba(54,39,31,0.1);
}

.ecosystem-text-link{
display:inline-flex;
align-items:center;
color:var(--ae-coral);
font-size:0.82rem;
font-weight:900;
text-decoration:none;
white-space:nowrap;
}

.ecosystem-text-link::after{
content:" +";
}

.roadmap-all-btn{
min-width:178px;
}

.featured-roadmap-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:18px;
margin-top:34px;
}

.featured-roadmap-card{
overflow:hidden;
border-radius:18px;
background:white;
color:inherit;
text-decoration:none;
border:1px solid var(--ae-line);
box-shadow:0 18px 42px rgba(54,39,31,0.05);
transition:transform 0.28s ease,box-shadow 0.28s ease;
}

.featured-roadmap-card img{
width:100%;
height:170px;
object-fit:cover;
}

.featured-roadmap-card div{
padding:22px;
}

.featured-roadmap-card small{
display:inline-flex;
margin-bottom:12px;
color:var(--ae-coral);
font-size:0.7rem;
font-weight:900;
text-transform:uppercase;
}

.featured-roadmap-card h3{
min-height:92px;
font-size:0.96rem;
line-height:1.45;
color:var(--ae-navy);
margin-bottom:18px;
}

.featured-roadmap-card span{
display:inline-flex;
color:var(--ae-green);
font-size:0.78rem;
font-weight:900;
}

.success-grid{
display:grid;
grid-template-columns:minmax(0,0.95fr) minmax(380px,0.85fr);
gap:64px;
align-items:start;
}

.success-copy > p{
max-width:620px;
color:var(--ae-muted);
font-weight:600;
line-height:1.8;
}

.proof-media-note{
max-width:640px;
margin-top:28px;
padding:22px 24px;
border-radius:16px;
background:#fffaf6;
border:1px solid var(--ae-line);
}

.proof-media-note b,
.proof-media-note span{
display:block;
}

.proof-media-note b{
color:var(--ae-navy);
font-size:0.82rem;
margin-bottom:8px;
}

.proof-media-note span{
color:var(--ae-muted);
font-size:0.82rem;
line-height:1.7;
font-weight:600;
}

.mission-vision-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:14px;
margin-top:34px;
}

.mission-vision-grid article{
padding:20px;
border-radius:14px;
background:#fffaf6;
border:1px solid var(--ae-line);
}

.mission-vision-grid b,
.mission-vision-grid span{
display:block;
}

.mission-vision-grid b{
color:var(--ae-navy);
font-size:0.82rem;
margin-bottom:10px;
}

.mission-vision-grid span{
color:var(--ae-muted);
font-size:0.78rem;
line-height:1.6;
font-weight:600;
}

.success-stack{
display:grid;
gap:16px;
}

.success-stack blockquote,
.founder-note{
margin:0;
padding:26px;
border-radius:18px;
background:var(--ae-navy);
color:white;
box-shadow:0 24px 62px rgba(23,24,45,0.16);
}

.success-stack blockquote:nth-child(2){
background:var(--ae-green);
}

.success-stack blockquote p,
.founder-note p{
margin:0;
font-size:0.98rem;
line-height:1.75;
font-weight:700;
}

.sample-label{
display:inline-flex;
width:max-content;
max-width:100%;
margin-bottom:14px;
padding:6px 10px;
border-radius:999px;
background:rgba(255,255,255,0.12);
color:rgba(255,255,255,0.72);
font-size:0.66rem;
line-height:1;
font-weight:900;
text-transform:uppercase;
}

.success-stack footer{
display:flex;
align-items:center;
gap:12px;
margin-top:24px;
padding:0;
background:transparent;
text-align:left;
}

.success-stack footer span{
width:38px;
height:38px;
display:grid;
place-items:center;
border-radius:50%;
background:rgba(255,255,255,0.16);
font-weight:900;
}

.success-stack footer b,
.success-stack footer small{
display:block;
}

.success-stack footer b{
font-size:0.84rem;
}

.success-stack footer small{
opacity:0.66;
font-size:0.72rem;
font-weight:700;
}

/* Published homepage stories are loaded from Firestore; no local student identities. */
.success-stack blockquote p,
.success-stack blockquote footer b{
color:#fff!important;
}

.success-stack blockquote footer small{
color:#d6dce5!important;
opacity:1;
}

.home-story-loading,
.home-story-empty{
min-height:150px;
padding:26px;
border:1px solid #d9e2ec;
border-radius:18px;
background:#fff;
box-shadow:0 18px 45px rgba(13,48,84,0.08);
}

.home-story-loading{
display:grid;
align-content:center;
gap:14px;
}

.story-loading-line{
display:block;
height:14px;
border-radius:999px;
background:linear-gradient(90deg,#e8eef5 25%,#f8fafc 50%,#e8eef5 75%);
background-size:200% 100%;
animation:story-shimmer 1.2s ease-in-out infinite;
}

.story-loading-line-short{width:62%}

.home-story-empty h3{
margin:0 0 8px;
font-size:1rem;
color:var(--ae-navy);
}

.home-story-empty p{
margin:0;
font-size:0.88rem;
color:#405064!important;
}

@keyframes story-shimmer{to{background-position:-200% 0}}

@media (prefers-reduced-motion:reduce){.story-loading-line{animation:none}}

/* Student dashboard — premium refinement (structure and data hooks preserved). */
.student-dashboard-page{
--dash-bg:#f4f7fb;
--dash-card:#ffffff;
--dash-ink:#10233f;
--dash-muted:#64748b;
--dash-line:#dfe7f0;
grid-template-columns:248px minmax(0,1fr);
background:
radial-gradient(circle at 82% 4%,rgba(77,137,191,.08),transparent 24rem),
var(--dash-bg);
}

.student-dashboard-page .dashboard-sidebar{
gap:24px;
padding:26px 18px;
background:#0b294a;
border-right:1px solid rgba(255,255,255,.07);
box-shadow:12px 0 42px rgba(10,35,66,.08);
}

.student-dashboard-page .dashboard-brand{
padding:0 10px 14px;
color:#fff;
font-size:.78rem;
font-weight:600;
letter-spacing:.01em;
}

.student-dashboard-page .dashboard-brand img{
width:38px;
height:38px;
border:1px solid rgba(255,255,255,.12);
border-radius:9px;
}

.student-dashboard-page .dashboard-sidebar nav{gap:5px}

.student-dashboard-page .dashboard-sidebar nav a{
position:relative;
min-height:43px;
padding:0 12px;
border-radius:10px;
color:#c9d5e3;
font-size:.77rem;
font-weight:500!important;
}

.student-dashboard-page .dashboard-sidebar nav a span{
width:27px;
height:27px;
border-radius:8px;
background:rgba(255,255,255,.08)!important;
color:#d9e5f2!important;
font-size:.59rem;
font-weight:600;
}

.student-dashboard-page .dashboard-sidebar nav a.active,
.student-dashboard-page .dashboard-sidebar nav a:hover{
background:rgba(93,155,209,.18);
color:#fff;
transform:translateX(2px);
}

.student-dashboard-page .dashboard-sidebar-card{
padding:17px;
border:1px solid rgba(255,255,255,.09);
border-radius:14px;
background:rgba(255,255,255,.07);
box-shadow:none;
}

.student-dashboard-page .dashboard-sidebar-card strong{font-size:.84rem;font-weight:600}
.student-dashboard-page .dashboard-sidebar-card p{font-size:.71rem;font-weight:400;line-height:1.65}
.student-dashboard-page .dashboard-sidebar-card a{color:#bcd9f2;font-size:.72rem;font-weight:600}

.student-dashboard-page .dashboard-main{
width:min(100%,1360px);
padding:34px clamp(24px,3vw,44px) 64px;
}

.student-dashboard-page .dashboard-topbar{margin-bottom:28px}
.student-dashboard-page .dashboard-topbar>div>p{color:#698097;font-size:.65rem;font-weight:500;letter-spacing:.09em}
.student-dashboard-page .dashboard-topbar h1{
margin-top:7px;
font-size:clamp(1.75rem,2.4vw,2.3rem)!important;
font-weight:600!important;
letter-spacing:-.04em;
color:#10233f;
}
.student-dashboard-page .dashboard-topbar h1 [data-user-field="fullName"]{text-transform:capitalize}

.student-dashboard-page .dashboard-top-actions{gap:9px}
.student-dashboard-page .dashboard-top-actions button{
min-width:auto;
min-height:40px;
padding:0 17px;
border-color:#d8e2ec;
background:rgba(255,255,255,.82);
color:#263b55;
font-size:.72rem;
font-weight:600;
box-shadow:0 4px 12px rgba(10,35,66,.035);
}
.student-dashboard-page .dashboard-top-actions button:hover{
border-color:#a9bfd3;
background:#fff;
transform:translateY(-1px);
box-shadow:0 8px 20px rgba(10,35,66,.08);
}

.student-dashboard-page .dashboard-welcome{
position:relative;
overflow:hidden;
padding:30px 32px;
border:1px solid rgba(255,255,255,.12);
border-radius:22px;
background:linear-gradient(125deg,#0b294a 0%,#174d7d 58%,#2d70a9 100%);
box-shadow:0 24px 54px rgba(10,35,66,.16);
}
.student-dashboard-page .dashboard-welcome::after{
content:"";
position:absolute;
right:-80px;
bottom:-150px;
width:340px;
height:340px;
border:1px solid rgba(255,255,255,.1);
border-radius:50%;
box-shadow:0 0 0 50px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.018);
pointer-events:none;
}
.student-dashboard-page .dashboard-welcome>div{position:relative;z-index:1}
.student-dashboard-page .dashboard-welcome>div:first-child{max-width:680px}
.student-dashboard-page .dashboard-welcome>div:first-child>span{
display:inline-block;
margin-bottom:9px;
color:#c9dced!important;
font-size:.65rem;
font-weight:500;
letter-spacing:.07em;
}
.student-dashboard-page .dashboard-welcome h2{font-size:clamp(1.45rem,2.2vw,2rem);font-weight:600;letter-spacing:-.035em}
.student-dashboard-page .dashboard-welcome p{max-width:640px;margin:5px 0 0;color:#d7e3ef!important;font-size:.78rem;line-height:1.65}
.student-dashboard-page .dashboard-streak-card{
min-width:260px;
max-width:330px;
padding:20px 22px;
border:1px solid rgba(255,255,255,.13);
border-radius:16px;
background:rgba(255,255,255,.09);
box-shadow:inset 0 1px rgba(255,255,255,.05);
backdrop-filter:blur(14px);
}
.student-dashboard-page .dashboard-streak-card strong{margin:8px 0 10px;font-size:1.28rem;font-weight:600}
.student-dashboard-page .dashboard-streak-card span{font-size:.68rem;font-weight:400;line-height:1.55}

.student-dashboard-page .dashboard-summary-grid{gap:16px;margin:18px 0}
.student-dashboard-page .dashboard-panel,
.student-dashboard-page .quick-actions a{
border-color:#dfe7ef;
border-radius:18px;
background:rgba(255,255,255,.94);
box-shadow:0 8px 24px rgba(10,35,66,.055)!important;
}
.student-dashboard-page .dashboard-panel{padding:22px}
.student-dashboard-page .dashboard-panel:hover{border-color:#cbd9e6;box-shadow:0 13px 32px rgba(10,35,66,.075)!important}
.student-dashboard-page .panel-heading{align-items:flex-start}
.student-dashboard-page .panel-heading span{color:#74869a;font-size:.62rem;font-weight:500!important;letter-spacing:.075em}
.student-dashboard-page .panel-heading h3{margin-top:6px;color:#142943;font-size:1rem;font-weight:600}
.student-dashboard-page .panel-heading a,
.student-dashboard-page .panel-heading b{white-space:normal;text-align:right;color:#28689f;font-size:.68rem;font-weight:600}
.student-dashboard-page .progress-track{height:7px;margin:20px 0 18px;border-radius:999px;background:#e8eef4}
.student-dashboard-page .progress-track span{border-radius:inherit}
.student-dashboard-page .progress-metrics{gap:14px}
.student-dashboard-page .progress-metrics span{color:#718196;font-size:.64rem;text-transform:none}
.student-dashboard-page .progress-metrics b{margin-bottom:3px;color:#17304f;font-size:1.1rem;font-weight:600}

.student-dashboard-page .quick-actions{
grid-template-columns:repeat(3,minmax(0,1fr));
gap:14px;
margin-bottom:22px;
}
.student-dashboard-page .quick-actions a{
position:relative;
min-height:112px;
padding:17px 18px 16px 62px;
}
.student-dashboard-page .quick-actions span{
position:absolute;
top:18px;
left:17px;
width:31px;
height:31px;
border-radius:9px;
font-size:.62rem;
}
.student-dashboard-page .quick-actions h3{
margin:1px 0 7px;
color:#152a44;
font-size:.88rem;
font-weight:600;
line-height:1.35;
overflow-wrap:normal;
}
.student-dashboard-page .quick-actions p{color:#6b7e93;font-size:.69rem;line-height:1.55}
.student-dashboard-page .quick-actions a:hover{transform:translateY(-3px);border-color:#b9cddd;box-shadow:0 16px 34px rgba(10,35,66,.1)!important}

.student-dashboard-page .dashboard-content-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px}
.student-dashboard-page .dashboard-left-column,
.student-dashboard-page .dashboard-right-column{gap:18px}
.student-dashboard-page .skill-list a,
.student-dashboard-page .opportunity-list article,
.student-dashboard-page .notification-list p,
.student-dashboard-page .saved-grid article{
border-color:#e2e9f0;
background:#f8fafc;
box-shadow:none;
}
.student-dashboard-page .skill-list a:hover{border-color:#bdd0e1;background:#f3f8fc}
.student-dashboard-page .continue-meta{gap:10px;align-items:flex-end}
.student-dashboard-page .continue-meta span{font-size:.61rem;line-height:1.45}

@media(max-width:1100px){
.student-dashboard-page .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.student-dashboard-page .dashboard-content-grid{grid-template-columns:1fr}
.student-dashboard-page .dashboard-right-column{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:768px){
.student-dashboard-page{display:block}
.student-dashboard-page .dashboard-main{padding:24px 16px 48px}
.student-dashboard-page .dashboard-topbar{align-items:flex-start}
.student-dashboard-page .dashboard-top-actions{width:auto}
.student-dashboard-page .dashboard-top-actions button{min-height:38px;padding:0 12px}
.student-dashboard-page .dashboard-welcome{padding:24px;gap:20px}
.student-dashboard-page .dashboard-streak-card{min-width:0;max-width:none}
.student-dashboard-page .dashboard-summary-grid{grid-template-columns:1fr}
.student-dashboard-page .quick-actions{grid-template-columns:1fr}
.student-dashboard-page .quick-actions a{min-height:96px}
.student-dashboard-page .dashboard-right-column{grid-template-columns:1fr}
}

@media(max-width:520px){
.student-dashboard-page .dashboard-topbar{display:grid;gap:18px}
.student-dashboard-page .dashboard-top-actions{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}
.student-dashboard-page .dashboard-top-actions button{width:100%}
.student-dashboard-page .progress-metrics{align-items:flex-start}
}

.founder-note{
background:#fff7f1;
color:var(--ae-navy);
box-shadow:none;
border:1px solid var(--ae-line);
}

.founder-note b{
display:block;
margin-bottom:12px;
color:var(--ae-coral);
font-size:0.78rem;
text-transform:uppercase;
}

.founder-note p{
color:#52546a;
font-size:0.92rem;
font-weight:700;
}

.founder-story-panel{
display:grid;
grid-template-columns:minmax(0,0.85fr) minmax(420px,1fr);
gap:62px;
align-items:start;
padding:44px;
border-radius:24px;
background:white;
border:1px solid var(--ae-line);
box-shadow:0 24px 70px rgba(54,39,31,0.07);
}

.founder-story-panel h2{
margin:16px 0 0;
font-size:clamp(2rem,4vw,3.35rem);
line-height:1.06;
letter-spacing:0;
font-weight:900;
color:var(--ae-navy);
}

.founder-story-copy{
display:grid;
gap:18px;
}

.founder-story-copy p{
margin:0;
color:#54566c;
font-size:1rem;
line-height:1.85;
font-weight:650;
}

.community-choice-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:18px;
margin-top:50px;
}

.community-choice-grid article{
display:flex;
flex-direction:column;
min-height:320px;
padding:30px;
border-radius:18px;
background:white;
border:1px solid var(--ae-line);
box-shadow:0 18px 42px rgba(54,39,31,0.05);
transition:transform 0.28s ease,box-shadow 0.28s ease;
}

.community-choice-grid article > span{
display:inline-flex;
width:max-content;
padding:8px 12px;
border-radius:999px;
background:#e9f1ff;
color:#356eb5;
font-size:0.72rem;
font-weight:900;
margin-bottom:28px;
}

.community-choice-grid article:nth-child(2) > span{
background:#fff3df;
color:#b27400;
}

.community-choice-grid article:nth-child(3) > span{
background:#e7f5e8;
color:var(--ae-green);
}

.community-choice-grid h3{
color:var(--ae-navy);
font-size:1.2rem;
margin-bottom:12px;
}

.community-choice-grid p{
color:var(--ae-muted);
font-size:0.88rem;
line-height:1.7;
font-weight:600;
margin-bottom:28px;
}

.community-choice-grid .ecosystem-btn{
width:100%;
margin-top:auto;
}

.final-action-section{
background:white;
}

.final-action-panel{
display:grid;
grid-template-columns:minmax(0,1fr) auto;
gap:32px;
align-items:center;
padding:44px;
border-radius:24px;
background:
linear-gradient(135deg,rgba(23,24,45,0.96),rgba(47,119,87,0.88)),
url("../ASSETS/images/program-beyond-lecture.png") center/cover;
color:white;
box-shadow:0 30px 80px rgba(23,24,45,0.18);
}

.final-action-panel .ecosystem-kicker{
background:rgba(255,255,255,0.12);
color:white;
}

.final-action-panel h2,
.final-action-panel p{
color:white;
}

.final-action-panel p{
max-width:660px;
opacity:0.75;
}

.ecosystem-footer{
background:#fff8f2;
}

.ecosystem-newsletter{
border-radius:18px;
}

.ecosystem-home .ecosystem-hero{
min-height:620px;
display:grid;
place-items:center;
padding:104px 0 72px;
text-align:center;
background:
linear-gradient(180deg,rgba(18,16,19,0.48),rgba(18,16,19,0.76)),
url("../ASSETS/images/beyond-lecture-room.jpg") center/cover no-repeat;
}

.ecosystem-home .ecosystem-hero-grid{
display:block;
}

.ecosystem-home .ecosystem-hero-copy{
max-width:980px;
margin:0 auto;
color:white;
}

.ecosystem-home .ecosystem-hero-copy h1{
max-width:980px;
margin:0 auto 24px;
color:white;
font-size:clamp(2.9rem,5.8vw,5.9rem);
line-height:0.95;
text-shadow:0 14px 42px rgba(0,0,0,0.45);
}

.ecosystem-home .ecosystem-hero-copy h1 em{
display:block;
font-family:Georgia,serif;
font-style:italic;
font-weight:800;
}

.ecosystem-home .ecosystem-hero-copy p{
max-width:850px;
margin:0 auto 32px;
color:rgba(255,255,255,0.92);
font-size:1.16rem;
line-height:1.7;
font-weight:600;
}

.ecosystem-home .ecosystem-actions{
justify-content:center;
}

.ecosystem-home .ecosystem-btn-secondary{
background:var(--ae-coral);
color:white;
box-shadow:0 18px 36px rgba(255,112,88,0.28);
}

.ecosystem-card,
.solution-list article,
.journey-line article,
.featured-roadmap-card,
.community-choice-grid article{
transition:transform 0.28s cubic-bezier(0.22,1,0.36,1),box-shadow 0.28s cubic-bezier(0.22,1,0.36,1),border-color 0.28s ease;
}

.ecosystem-card:hover,
.solution-list article:hover,
.journey-line article:hover{
border-color:rgba(255,112,88,0.26);
}

@media(max-width:1100px){
.ecosystem-hero-grid,
.split-section,
.success-grid{
grid-template-columns:1fr;
}

.ecosystem-hero-visual{
min-height:430px;
}

.ecosystem-hero-visual img{
min-height:430px;
}

.journey-line,
.featured-roadmap-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.journey-line article::after{
display:none;
}

.ecosystem-card-grid,
.community-choice-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media(max-width:760px){
.ecosystem-container{
width:min(100% - 28px,1180px);
}

.ecosystem-hero{
padding:58px 0 44px;
}

.ecosystem-hero-grid{
gap:34px;
}

.ecosystem-hero-copy h1{
font-size:clamp(2.45rem,14vw,3.4rem);
line-height:1.02;
}

.ecosystem-hero-copy p{
font-size:0.98rem;
line-height:1.75;
}

.ecosystem-actions{
width:100%;
display:grid;
grid-template-columns:1fr;
}

.ecosystem-btn{
width:100%;
white-space:normal;
text-align:center;
padding:0 18px;
}

.ecosystem-hero-visual{
min-height:340px;
border-radius:18px;
}

.ecosystem-hero-visual img{
min-height:340px;
}

.growth-card{
position:relative;
left:auto;
right:auto;
top:auto;
bottom:auto;
width:auto;
margin:12px;
}

.growth-card-top{
position:absolute;
top:0;
left:0;
width:calc(100% - 24px);
}

.growth-card-bottom{
position:absolute;
right:0;
bottom:0;
width:calc(100% - 24px);
}

.trust-grid,
.journey-line,
.ecosystem-card-grid,
.featured-roadmap-grid,
.mission-vision-grid,
.community-choice-grid{
grid-template-columns:1fr;
}

.trust-grid article{
border-left:0;
border-top:1px solid rgba(255,255,255,0.12);
padding-left:0;
padding-right:0;
}

.trust-grid article:first-child{
border-top:0;
}

.student-gap-section,
.why-connect-section,
.works-section,
.ecosystem-map-section,
.featured-roadmaps-section,
.student-success-section,
.community-join-section,
.founder-story-section,
.final-action-section{
padding:58px 0;
}

.section-intro h2,
.final-action-panel h2{
font-size:clamp(1.95rem,10vw,2.65rem);
line-height:1.08;
}

.split-section,
.success-grid{
gap:34px;
}

.ecosystem-row,
.section-row{
display:grid;
grid-template-columns:1fr;
align-items:start;
}

.ecosystem-row > p{
max-width:none;
}

.journey-line article,
.ecosystem-card,
.community-choice-grid article{
min-height:0;
}

.featured-roadmap-card h3{
min-height:0;
}

.final-action-panel{
grid-template-columns:1fr;
padding:28px 22px;
border-radius:18px;
}

.founder-story-panel{
grid-template-columns:1fr;
gap:28px;
padding:28px 22px;
border-radius:18px;
}

.ecosystem-newsletter{
padding:24px 20px;
}
}

@media(max-width:420px){
.ecosystem-container{
width:min(100% - 22px,1180px);
}

.growth-card{
padding:14px;
}

.growth-card span{
margin-bottom:10px;
}

.solution-list article,
.journey-line article,
.ecosystem-card,
.featured-roadmap-card div,
.community-choice-grid article,
.success-stack blockquote,
.founder-note,
.proof-media-note{
padding:20px;
}
}

/* KEEP PRIMARY NAVIGATION AVAILABLE WHILE SCROLLING */
.home-footer-nav,
body:not(.home-page):not(.about-page) .navbar{
position:fixed !important;
top:0 !important;
left:0 !important;
right:0 !important;
width:100% !important;
z-index:1000 !important;
}

.home-footer-nav + main,
body:not(.home-page):not(.about-page) .navbar + main,
body:not(.home-page):not(.about-page) .navbar + .hero,
body:not(.home-page):not(.about-page) .navbar + section{
margin-top:56px;
}

@media(max-width:768px){
.home-footer-nav,
body:not(.home-page):not(.about-page) .navbar{
position:fixed !important;
top:0 !important;
}

.home-footer-nav + main,
body:not(.home-page):not(.about-page) .navbar + main,
body:not(.home-page):not(.about-page) .navbar + .hero,
body:not(.home-page):not(.about-page) .navbar + section{
margin-top:62px;
}

.home-footer-nav .home-nav-links{
top:calc(100% + 8px);
}
}

/* STUDENT DASHBOARD */

.student-dashboard-page{
--dash-ink:#17182d;
--dash-muted:#6f7186;
--dash-coral:#ff7058;
--dash-green:#2f7757;
--dash-gold:#f2a722;
--dash-blue:#4e94dd;
--dash-line:#ece5df;
--dash-bg:#fff8f2;
--dash-card:#ffffff;
min-height:100vh;
display:grid;
grid-template-columns:280px minmax(0,1fr);
background:var(--dash-bg);
color:var(--dash-ink);
}

.dashboard-sidebar{
position:sticky;
top:0;
height:100vh;
display:flex;
flex-direction:column;
gap:28px;
padding:22px;
background:rgba(255,255,255,0.86);
border-right:1px solid var(--dash-line);
backdrop-filter:blur(16px);
}

.dashboard-brand{
display:flex;
align-items:center;
gap:10px;
color:var(--dash-ink);
font-size:0.86rem;
font-weight:900;
text-decoration:none;
}

.dashboard-brand img{
width:34px;
height:34px;
border-radius:10px;
object-fit:cover;
}

.dashboard-sidebar nav{
display:grid;
gap:6px;
}

.dashboard-sidebar nav a{
display:flex;
align-items:center;
gap:12px;
min-height:44px;
padding:0 12px;
border-radius:12px;
color:#45465a;
font-size:0.82rem;
font-weight:800;
text-decoration:none;
}

.dashboard-sidebar nav a span{
display:grid;
place-items:center;
width:28px;
height:28px;
border-radius:9px;
background:#fff0e7;
color:var(--dash-coral);
font-size:0.66rem;
font-weight:900;
}

.dashboard-sidebar nav a.active,
.dashboard-sidebar nav a:hover{
background:#17182d;
color:white;
}

.dashboard-sidebar-card{
margin-top:auto;
padding:18px;
border-radius:16px;
background:#17182d;
color:white;
}

.dashboard-sidebar-card strong,
.dashboard-sidebar-card p,
.dashboard-sidebar-card a{
display:block;
}

.dashboard-sidebar-card p{
margin:8px 0 16px;
color:rgba(255,255,255,0.68);
font-size:0.78rem;
line-height:1.55;
}

.dashboard-sidebar-card a{
color:white;
font-size:0.78rem;
font-weight:900;
text-decoration:none;
}

.dashboard-main{
width:min(100%,1440px);
margin:0 auto;
padding:28px;
}

.dashboard-topbar,
.dashboard-welcome,
.panel-heading,
.dashboard-top-actions,
.progress-metrics,
.continue-meta{
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
}

.dashboard-topbar{
margin-bottom:24px;
}

.dashboard-top-actions{
position:relative;
}

.dashboard-topbar p,
.dashboard-panel span,
.dashboard-welcome span,
.dashboard-streak-card small{
color:var(--dash-muted);
font-size:0.74rem;
font-weight:900;
letter-spacing:0.02em;
text-transform:uppercase;
}

.dashboard-topbar h1{
margin:4px 0 0;
font-size:clamp(1.9rem,3vw,3rem);
line-height:1;
}

.dashboard-top-actions button,
.dashboard-top-actions a{
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 auto;
min-height:42px;
min-width:92px;
padding:0 16px;
border:1px solid var(--dash-line);
border-radius:999px;
background:white;
color:var(--dash-ink);
font-size:0.8rem;
font-weight:900;
line-height:1;
text-decoration:none;
text-align:center;
white-space:nowrap;
}

.dashboard-search-panel{
position:absolute;
top:calc(100% + 10px);
right:0;
z-index:20;
width:min(360px,calc(100vw - 36px));
padding:12px;
border:1px solid var(--dash-line);
border-radius:18px;
background:#ffffff;
box-shadow:0 18px 46px rgba(12,28,52,0.16);
}

.dashboard-search-panel input{
width:100%;
min-height:42px;
padding:0 14px;
border:1px solid var(--dash-line);
border-radius:999px;
background:#f8fafc;
color:var(--dash-ink);
font-size:0.9rem;
font-weight:700;
outline:none;
}

.dashboard-search-panel input:focus{
border-color:var(--dash-accent);
box-shadow:0 0 0 3px rgba(242,167,34,0.18);
}

.dashboard-search-results{
display:grid;
gap:8px;
margin-top:10px;
max-height:280px;
overflow:auto;
}

.dashboard-search-results button{
display:grid;
gap:3px;
justify-content:flex-start;
width:100%;
min-width:0;
min-height:auto;
padding:11px 12px;
border-radius:12px;
text-align:left;
white-space:normal;
}

.dashboard-search-results button span,
.dashboard-search-results p{
margin:0;
color:var(--dash-muted);
font-size:0.78rem;
font-weight:800;
line-height:1.35;
}

.dashboard-profile-modal[hidden]{
display:none;
}

.dashboard-profile-modal{
position:fixed;
inset:0;
z-index:1000;
display:grid;
place-items:center;
padding:20px;
}

.dashboard-profile-backdrop{
position:absolute;
inset:0;
border:0;
background:rgba(9,20,38,0.48);
}

.dashboard-profile-panel{
position:relative;
z-index:1;
width:min(560px,100%);
max-height:min(760px,calc(100vh - 40px));
overflow:auto;
padding:26px;
border:1px solid var(--dash-line);
border-radius:20px;
background:#fff;
box-shadow:0 28px 80px rgba(9,20,38,0.24);
}

.dashboard-profile-close{
position:absolute;
top:16px;
right:16px;
width:42px;
height:42px;
border:1px solid var(--dash-line);
border-radius:50%;
background:#fff7ef;
color:var(--dash-coral);
font-size:1.2rem;
font-weight:900;
cursor:pointer;
}

.dashboard-profile-panel > span{
display:block;
color:var(--dash-muted);
font-size:0.74rem;
font-weight:900;
text-transform:uppercase;
}

.dashboard-profile-panel h2{
margin:6px 0 18px;
font-size:1.8rem;
line-height:1;
}

.dashboard-profile-panel form{
display:grid;
gap:12px;
}

.dashboard-profile-panel label{
display:grid;
gap:7px;
color:var(--dash-muted);
font-size:0.74rem;
font-weight:900;
text-transform:uppercase;
}

.dashboard-profile-panel input{
width:100%;
min-height:44px;
padding:0 14px;
border:1px solid var(--dash-line);
border-radius:12px;
background:#f8fafc;
color:var(--dash-ink);
font:inherit;
font-size:0.92rem;
font-weight:700;
outline:none;
text-transform:none;
}

.dashboard-profile-panel input:focus{
border-color:var(--dash-accent);
box-shadow:0 0 0 3px rgba(242,167,34,0.18);
}

.dashboard-profile-panel input[readonly]{
color:var(--dash-muted);
background:#f1f5f9;
}

.dashboard-profile-panel form > button{
min-height:46px;
border:0;
border-radius:999px;
background:var(--dash-ink);
color:white;
font-weight:900;
cursor:pointer;
}

.dashboard-profile-panel form > button:disabled{
opacity:0.65;
cursor:not-allowed;
}

#dashboardProfileMessage{
min-height:20px;
margin:2px 0 0;
color:#197653;
font-size:0.82rem;
font-weight:800;
}

#dashboardProfileMessage[data-type="error"]{
color:#b42318;
}

body.dashboard-profile-open{
overflow:hidden;
}

.dashboard-welcome{
align-items:stretch;
padding:30px;
border-radius:24px;
background:
linear-gradient(135deg,rgba(23,24,45,0.96),rgba(47,119,87,0.86)),
url("../ASSETS/images/ae-connect-network-hero.png") center/cover;
color:white;
box-shadow:0 28px 70px rgba(23,24,45,0.16);
}

.dashboard-welcome h2{
max-width:760px;
margin:8px 0 10px;
font-size:clamp(2rem,4vw,4rem);
line-height:1.02;
}

.dashboard-welcome p{
max-width:650px;
margin:0;
color:rgba(255,255,255,0.72);
font-weight:600;
}

.dashboard-welcome span,
.dashboard-streak-card small,
.dashboard-streak-card span{
color:rgba(255,255,255,0.72);
}

.dashboard-streak-card{
min-width:190px;
padding:22px;
border-radius:18px;
background:rgba(255,255,255,0.12);
backdrop-filter:blur(10px);
}

.dashboard-streak-card strong{
display:block;
margin:8px 0;
font-size:2rem;
line-height:1;
}

.dashboard-streak-card span{
display:block;
font-size:0.76rem;
font-weight:700;
}

.dashboard-grid,
.dashboard-content-grid,
.quick-actions,
.saved-grid,
.badge-grid{
display:grid;
gap:18px;
}

.dashboard-summary-grid{
grid-template-columns:1.35fr 1fr 0.85fr;
margin:22px 0;
}

.dashboard-content-grid{
grid-template-columns:minmax(0,1fr) 360px;
align-items:start;
}

.dashboard-left-column,
.dashboard-right-column{
display:grid;
gap:18px;
}

.dashboard-panel,
.quick-actions a{
border:1px solid var(--dash-line);
border-radius:18px;
background:var(--dash-card);
box-shadow:0 18px 42px rgba(54,39,31,0.05);
}

.dashboard-panel{
padding:22px;
}

.panel-heading{
align-items:flex-start;
margin-bottom:18px;
}

.panel-heading h3{
margin:4px 0 0;
font-size:1.2rem;
line-height:1.2;
}

.panel-heading a,
.panel-heading b{
color:var(--dash-coral);
font-size:0.78rem;
font-weight:900;
text-decoration:none;
}

.progress-track{
height:12px;
overflow:hidden;
border-radius:999px;
background:#f5eee9;
}

.progress-track span{
display:block;
height:100%;
border-radius:inherit;
background:linear-gradient(90deg,var(--dash-coral),var(--dash-gold));
}

.progress-metrics{
margin-top:18px;
align-items:flex-start;
}

.progress-metrics span{
display:grid;
gap:4px;
text-transform:none;
letter-spacing:0;
}

.progress-metrics b{
color:var(--dash-ink);
font-size:1.25rem;
}

.continue-panel p,
.streak-panel p,
.notification-list p,
.activity-list,
.opportunity-list p{
margin:0;
color:var(--dash-muted);
font-size:0.84rem;
line-height:1.65;
font-weight:600;
}

.continue-meta{
margin-top:20px;
}

.quick-actions{
grid-template-columns:repeat(6,minmax(0,1fr));
margin-bottom:22px;
}

.quick-actions a{
min-height:148px;
padding:20px;
color:inherit;
text-decoration:none;
transition:transform 0.22s ease,box-shadow 0.22s ease;
}

.quick-actions a:hover{
transform:translateY(-4px);
box-shadow:0 24px 60px rgba(54,39,31,0.1);
}

.quick-actions span{
display:grid;
place-items:center;
width:36px;
height:36px;
border-radius:11px;
background:#fff0e7;
color:var(--dash-coral);
font-size:0.7rem;
font-weight:900;
}

.quick-actions h3{
margin:26px 0 8px;
font-size:0.98rem;
}

.quick-actions p,
.skill-list span,
.skill-list small,
.deadline-list span{
margin:0;
color:var(--dash-muted);
font-size:0.78rem;
font-weight:700;
}

.skill-list,
.opportunity-list,
.notification-list,
.activity-list,
.deadline-list{
display:grid;
gap:12px;
}

.skill-list a{
display:grid;
grid-template-columns:1fr auto;
gap:4px 14px;
padding:14px;
border:1px solid var(--dash-line);
border-radius:14px;
color:inherit;
text-decoration:none;
}

.skill-list b{
font-size:0.9rem;
}

.skill-list span{
grid-column:1;
}

.skill-list small{
align-self:center;
padding:6px 9px;
border-radius:999px;
background:#f6f0eb;
}

.opportunity-list article{
position:relative;
padding:16px 16px 16px 20px;
border-radius:14px;
background:#fffaf6;
border:1px solid var(--dash-line);
}

.opportunity-list article::before{
content:"";
position:absolute;
left:0;
top:14px;
bottom:14px;
width:4px;
border-radius:999px;
background:var(--dash-green);
}

.opportunity-list span{
display:inline-flex;
margin-top:8px;
color:var(--dash-coral);
font-size:0.74rem;
font-weight:900;
}

.saved-grid{
grid-template-columns:repeat(3,minmax(0,1fr));
}

.saved-grid article{
padding:16px;
border-radius:14px;
background:#fffaf6;
border:1px solid var(--dash-line);
}

.saved-grid b{
display:block;
margin-top:8px;
font-size:0.9rem;
}

.deadline-list{
list-style:none;
padding:0;
margin:0;
}

.deadline-list li{
display:flex;
gap:12px;
align-items:center;
padding:12px 0;
border-bottom:1px solid var(--dash-line);
}

.deadline-list li:last-child{
border-bottom:0;
}

.deadline-list b{
min-width:58px;
color:var(--dash-coral);
font-size:0.78rem;
}

.notification-list p{
padding:12px;
border-radius:12px;
background:#fffaf6;
}

.badge-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.badge-grid span{
display:grid;
place-items:center;
min-height:76px;
padding:12px;
border-radius:14px;
background:#17182d;
color:white;
text-align:center;
font-size:0.74rem;
font-weight:900;
}

.activity-list{
padding-left:18px;
}

.activity-list li{
padding:4px 0;
}

@media(max-width:1180px){
.student-dashboard-page{
grid-template-columns:1fr;
}

.dashboard-sidebar{
position:relative;
height:auto;
display:block;
padding:16px;
}

.dashboard-sidebar nav{
display:flex;
gap:8px;
overflow-x:auto;
padding:12px 0 2px;
}

.dashboard-sidebar nav a{
white-space:nowrap;
}

.dashboard-sidebar-card{
display:none;
}

.dashboard-summary-grid,
.dashboard-content-grid{
grid-template-columns:1fr;
}

.quick-actions{
grid-template-columns:repeat(3,minmax(0,1fr));
}
}

@media(max-width:720px){
.dashboard-main{
padding:18px;
}

.dashboard-topbar,
.dashboard-welcome,
.panel-heading,
.progress-metrics{
display:grid;
grid-template-columns:1fr;
}

.dashboard-top-actions{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
width:100%;
gap:10px;
}

.dashboard-top-actions button,
.dashboard-top-actions a{
width:100%;
min-width:0;
padding:0 12px;
white-space:nowrap;
}

.dashboard-search-panel{
left:0;
right:0;
width:100%;
}

.dashboard-welcome{
padding:24px;
}

.dashboard-welcome h2{
font-size:2.15rem;
}

.quick-actions,
.saved-grid,
.badge-grid{
grid-template-columns:1fr;
}

.quick-actions a{
min-height:120px;
}
}

/* A.E CONNECT BRAND IDENTITY SYSTEM */
:root{
--ae-brand-gold:#f2a722;
--ae-brand-gold-deep:#bd7800;
--ae-brand-gold-soft:#fff4d8;
--ae-brand-gold-quiet:#fffaf0;
--ae-brand-blue:#0a2342;
--ae-brand-blue-mid:#1f5d99;
--ae-brand-blue-soft:#eaf3ff;
--ae-brand-blue-quiet:#f5f9ff;
--ae-brand-white:#ffffff;
--ae-brand-gray:#f6f8fb;
--ae-brand-line:#dfe7f2;
--ae-brand-text:#172033;
--ae-brand-muted:#657184;
--ae-brand-footer:#07172b;
--ae-brand-shadow:0 22px 55px rgba(10,35,66,.09);
}

.home-page,
.ecosystem-home,
.student-dashboard-page{
--home-ink:var(--ae-brand-text);
--home-muted:var(--ae-brand-muted);
--home-navy:var(--ae-brand-blue);
--home-coral:var(--ae-brand-gold);
--home-cream:var(--ae-brand-gold-quiet);
--home-soft:var(--ae-brand-blue-soft);
--home-green:var(--ae-brand-blue-mid);
--home-line:var(--ae-brand-line);
--ae-navy:var(--ae-brand-blue);
--ae-ink:var(--ae-brand-text);
--ae-muted:var(--ae-brand-muted);
--ae-coral:var(--ae-brand-gold);
--ae-coral-dark:var(--ae-brand-gold-deep);
--ae-cream:var(--ae-brand-gold-quiet);
--ae-soft:var(--ae-brand-blue-soft);
--ae-green:var(--ae-brand-blue-mid);
--ae-gold:var(--ae-brand-gold);
--ae-blue:var(--ae-brand-blue-mid);
--ae-line:var(--ae-brand-line);
--dash-ink:var(--ae-brand-text);
--dash-muted:var(--ae-brand-muted);
--dash-coral:var(--ae-brand-gold);
--dash-green:var(--ae-brand-blue-mid);
--dash-gold:var(--ae-brand-gold);
--dash-blue:var(--ae-brand-blue-mid);
--dash-line:var(--ae-brand-line);
--dash-bg:linear-gradient(180deg,var(--ae-brand-gold-quiet),var(--ae-brand-blue-quiet));
--dash-card:var(--ae-brand-white);
color:var(--ae-brand-text);
}

.home-page a,
.ecosystem-home a,
.student-dashboard-page a{
color:inherit;
}

.home-footer-nav,
.nav,
.navbar{
background:rgba(255,255,255,.96);
border-bottom:1px solid var(--ae-brand-line);
box-shadow:0 10px 28px rgba(10,35,66,.06);
}

.home-footer-nav::before,
.nav::before,
.navbar::before{
background:linear-gradient(90deg,var(--ae-brand-gold),var(--ae-brand-blue-mid));
}

.home-footer-nav a:hover,
.home-footer-nav a.active,
.nav a:hover,
.nav a.active,
.navbar a:hover,
.navbar a.active{
color:var(--ae-brand-gold);
}

.home-nav-cta,
.nav-cta,
.navbar .btn,
.home-btn-primary,
.ecosystem-btn-primary,
.newsletter button,
.subscribe-form button,
.dashboard-top-actions a:first-child{
background:var(--ae-brand-gold);
color:var(--ae-brand-blue);
border-color:var(--ae-brand-gold);
box-shadow:0 16px 36px rgba(242,167,34,.24);
}

.home-nav-cta:hover,
.nav-cta:hover,
.navbar .btn:hover,
.home-btn-primary:hover,
.ecosystem-btn-primary:hover,
.newsletter button:hover,
.subscribe-form button:hover,
.dashboard-top-actions a:first-child:hover{
background:#ffc657;
color:var(--ae-brand-blue);
}

.home-btn-secondary,
.ecosystem-btn-secondary,
.dashboard-top-actions a:last-child,
.enterprise-actions a:nth-child(2){
background:var(--ae-brand-blue);
color:#fff;
border-color:var(--ae-brand-blue);
}

.home-btn-secondary:hover,
.ecosystem-btn-secondary:hover,
.dashboard-top-actions a:last-child:hover,
.enterprise-actions a:nth-child(2):hover{
background:#12365e;
color:#fff;
}

.ecosystem-home .ecosystem-hero{
background:
linear-gradient(90deg,rgba(10,35,66,.72),rgba(10,35,66,.34)),
linear-gradient(180deg,rgba(242,167,34,.18),rgba(10,35,66,.72)),
url("../ASSETS/images/beyond-lecture-room.jpg") center/cover no-repeat;
}

.ecosystem-eyebrow,
.section-eyebrow,
.home-section-eyebrow,
.dashboard-eyebrow{
color:var(--ae-brand-gold-deep);
background:var(--ae-brand-gold-soft);
border-color:rgba(242,167,34,.28);
}

.ecosystem-trust,
.home-stats,
.stats-strip{
background:var(--ae-brand-blue);
color:#fff;
}

.ecosystem-trust strong,
.home-stats strong,
.stats-strip strong{
color:var(--ae-brand-gold);
}

.student-gap-section,
.why-connect-section,
.featured-roadmaps-section,
.community-join-section,
.student-success-section,
.founder-story-section,
.program-roadmaps-section,
.programs,
.skills-page,
.opportunities-page,
.entrepreneurship-page,
.community-page{
background:
linear-gradient(180deg,rgba(255,250,240,.96),rgba(245,249,255,.96));
}

.works-section,
.resource-section,
.events-section{
background:var(--ae-brand-white);
}

.home-card,
.ecosystem-card,
.program-card,
.featured-roadmap-card,
.roadmap-card,
.skill-card,
.opportunity-card,
.opportunity-row,
.scholarship-card,
.enterprise-card,
.community-card,
.story-card,
.resource-card,
.dashboard-panel,
.quick-actions a,
.saved-card,
.deadline-item,
.activity-item,
.notification-item{
background:var(--ae-brand-white);
border:1px solid var(--ae-brand-line);
box-shadow:var(--ae-brand-shadow);
}

.home-card,
.ecosystem-card,
.program-card,
.featured-roadmap-card,
.roadmap-card,
.skill-card,
.opportunity-card,
.opportunity-row,
.scholarship-card,
.enterprise-card,
.community-card,
.story-card,
.resource-card{
border-top:4px solid var(--ae-brand-gold);
}

.home-card:hover,
.ecosystem-card:hover,
.program-card:hover,
.featured-roadmap-card:hover,
.roadmap-card:hover,
.skill-card:hover,
.opportunity-card:hover,
.enterprise-card:hover,
.quick-actions a:hover{
border-color:rgba(31,93,153,.35);
box-shadow:0 28px 64px rgba(10,35,66,.13);
}

.home-card span,
.ecosystem-card span,
.program-icon,
.roadmap-icon,
.skill-icon,
.opportunity-icon,
.enterprise-icon,
.community-icon,
.dashboard-icon,
.quick-actions span,
.badge-icon,
.saved-icon{
background:var(--ae-brand-gold-soft);
color:var(--ae-brand-blue);
}

.program-card:nth-child(3n+2) .program-icon,
.roadmap-card:nth-child(3n+2) .roadmap-icon,
.skill-card:nth-child(3n+2) .skill-icon,
.quick-actions a:nth-child(3n+2) span{
background:var(--ae-brand-blue-soft);
color:var(--ae-brand-blue-mid);
}

.program-card:nth-child(3n+3) .program-icon,
.roadmap-card:nth-child(3n+3) .roadmap-icon,
.skill-card:nth-child(3n+3) .skill-icon,
.quick-actions a:nth-child(3n+3) span{
background:linear-gradient(135deg,var(--ae-brand-gold-soft),var(--ae-brand-blue-soft));
color:var(--ae-brand-blue);
}

.program-card a,
.featured-roadmap-card a,
.roadmap-card a,
.skill-card a,
.opportunity-card a,
.opportunity-row a,
.scholarship-card a,
.enterprise-card a,
.resource-card a,
.story-card a{
color:var(--ae-brand-gold-deep);
}

.program-card a:hover,
.featured-roadmap-card a:hover,
.roadmap-card a:hover,
.skill-card a:hover,
.opportunity-card a:hover,
.opportunity-row a:hover,
.scholarship-card a:hover,
.enterprise-card a:hover,
.resource-card a:hover,
.story-card a:hover{
color:var(--ae-brand-blue-mid);
}

.testimonial-card,
.student-story-card,
.success-card{
background:linear-gradient(180deg,#fff,var(--ae-brand-blue-quiet));
border:1px solid var(--ae-brand-line);
border-left:4px solid var(--ae-brand-gold);
}

.community-choice-grid article,
.community-panel,
.join-community-card{
background:linear-gradient(180deg,#fff,var(--ae-brand-gold-quiet));
border:1px solid var(--ae-brand-line);
}

.progress-fill,
.dashboard-progress-bar span,
.learning-progress span,
.completion-bar span{
background:linear-gradient(90deg,var(--ae-brand-gold),var(--ae-brand-blue-mid));
}

.dashboard-sidebar{
background:var(--ae-brand-blue);
color:#fff;
}

.dashboard-sidebar nav a{
color:rgba(255,255,255,.78);
}

.dashboard-sidebar nav a.active,
.dashboard-sidebar nav a:hover{
background:rgba(242,167,34,.16);
color:#fff;
}

.dashboard-sidebar nav a.active::before{
background:var(--ae-brand-gold);
}

.dashboard-welcome{
background:
linear-gradient(135deg,rgba(10,35,66,.96),rgba(31,93,153,.92)),
linear-gradient(45deg,rgba(242,167,34,.18),transparent);
color:#fff;
}

.dashboard-welcome .dashboard-eyebrow{
background:rgba(242,167,34,.18);
color:#ffe5a8;
border-color:rgba(242,167,34,.28);
}

.achievement-badges span,
.badge-grid span,
.streak-card,
.dashboard-stat{
background:var(--ae-brand-gold-soft);
color:var(--ae-brand-blue);
border-color:rgba(242,167,34,.26);
}

.notification-item.unread,
.deadline-item.urgent{
background:var(--ae-brand-blue-soft);
border-color:rgba(31,93,153,.22);
}

.home-newsletter,
.newsletter,
.footer-newsletter{
background:var(--ae-brand-blue);
color:#fff;
}

.home-footer,
.ecosystem-footer,
.site-footer,
footer{
background:var(--ae-brand-footer);
color:rgba(255,255,255,.78);
}

.home-footer h3,
.home-footer h4,
.ecosystem-footer h3,
.ecosystem-footer h4,
.site-footer h3,
.site-footer h4,
footer h3,
footer h4{
color:#fff;
}

.home-footer a,
.ecosystem-footer a,
.site-footer a,
footer a{
color:rgba(255,255,255,.74);
}

.home-footer a:hover,
.ecosystem-footer a:hover,
.site-footer a:hover,
footer a:hover{
color:var(--ae-brand-gold);
}

.footer-bottom,
.home-footer-bottom,
.site-footer-bottom{
border-top-color:rgba(255,255,255,.12);
}

.beyond-page,
.skills-hub-page,
.enterprise-hero,
.enterprise-section{
--ae-navy:var(--ae-brand-blue);
--ae-ink:var(--ae-brand-text);
--ae-muted:var(--ae-brand-muted);
--ae-coral:var(--ae-brand-gold);
--ae-coral-dark:var(--ae-brand-gold-deep);
--ae-cream:var(--ae-brand-gold-quiet);
--ae-soft:var(--ae-brand-blue-soft);
--ae-green:var(--ae-brand-blue-mid);
--ae-gold:var(--ae-brand-gold);
--ae-blue:var(--ae-brand-blue-mid);
--ae-line:var(--ae-brand-line);
}

.beyond-page,
.beyond-page .programs,
.beyond-page .program-category{
background:linear-gradient(180deg,var(--ae-brand-gold-quiet),var(--ae-brand-blue-quiet));
color:var(--ae-brand-text);
}

.beyond-page .filter-bar button.active,
.beyond-page .filter-bar button:hover{
background:var(--ae-brand-blue);
border-color:var(--ae-brand-blue);
color:#fff;
}

.beyond-page .program-card{
border:1px solid var(--ae-brand-line);
background:#fff;
box-shadow:var(--ae-brand-shadow);
color:var(--ae-brand-text);
}

.beyond-page .program-card::before,
.beyond-page .program-card[data-theme="blue"]::before,
.beyond-page .program-card[data-theme="purple"]::before,
.beyond-page .program-card[data-theme="teal"]::before,
.beyond-page .program-card[data-theme="brown"]::before,
.beyond-page .program-card[data-theme="indigo"]::before,
.beyond-page .program-card[data-theme="slate"]::before,
.beyond-page .program-card[data-theme="gold"]::before{
background:
linear-gradient(135deg,rgba(10,35,66,.98),rgba(31,93,153,.92)),
linear-gradient(45deg,rgba(242,167,34,.22),transparent);
}

.beyond-page .program-card-icon{
background:var(--ae-brand-gold-soft);
color:var(--ae-brand-blue);
}

.beyond-page .program-card-footer strong,
.beyond-page .program-card[data-theme="blue"] .program-card-footer strong,
.beyond-page .program-card[data-theme="purple"] .program-card-footer strong{
color:var(--ae-brand-gold-deep);
}

.enterprise-hero{
background:
linear-gradient(90deg,rgba(10,35,66,.94),rgba(31,93,153,.68),rgba(10,35,66,.38)),
linear-gradient(180deg,rgba(242,167,34,.16),rgba(10,35,66,.72)),
url("../ASSETS/images/entrepreneurship-hub-hero.png") center/cover no-repeat;
}

.enterprise-eyebrow,
.enterprise-section-head span{
background:var(--ae-brand-gold-soft);
color:var(--ae-brand-gold-deep);
}

.enterprise-section{
background:linear-gradient(135deg,var(--ae-brand-blue),#12365e,var(--ae-brand-blue-mid));
}

.enterprise-flow,
.enterprise-start,
.enterprise-section.light-section,
.submission-section{
background:linear-gradient(180deg,var(--ae-brand-blue-quiet),var(--ae-brand-gold-quiet));
}

.enterprise-start-grid article,
.flow-step,
.listing-card,
.match-card,
.community-grid article,
.submission-card,
.monetization-panel{
border-top-color:var(--ae-brand-gold);
border-color:var(--ae-brand-line);
box-shadow:var(--ae-brand-shadow);
}

.enterprise-start-grid strong{
background:var(--ae-brand-blue);
color:#fff;
}

.enterprise-start-grid a,
.enterprise-cta a,
.submission-card a,
.ecosystem-form button{
background:var(--ae-brand-gold);
color:var(--ae-brand-blue);
box-shadow:0 14px 30px rgba(242,167,34,.22);
}

.enterprise-actions a:first-child,
.enterprise-actions a:nth-child(3){
background:var(--ae-brand-gold);
color:var(--ae-brand-blue);
}

.hub-toolbar input{
border:1px solid var(--ae-brand-line);
box-shadow:var(--ae-brand-shadow);
}

.hub-filters button,
.marketplace-categories button,
.match-categories span{
border:1px solid var(--ae-brand-line);
box-shadow:0 10px 24px rgba(10,35,66,.08);
}

.hub-filters button.active,
.hub-filters button:hover,
.marketplace-categories button.active,
.marketplace-categories button:hover{
background:var(--ae-brand-gold);
color:var(--ae-brand-blue);
}

/* New A.E CONNECT logo proportions */
.logo img,
body:not(.home-page):not(.about-page) .navbar .logo img,
.mini-brand img,
.about-brand img,
.dashboard-brand img{
width:96px;
height:34px;
border-radius:6px;
object-fit:contain;
object-position:center;
background:var(--ae-brand-blue,#0a2342);
padding:0;
}

body:not(.home-page):not(.about-page) .navbar .logo img,
.mini-brand img,
.dashboard-brand img{
width:84px;
height:30px;
}

.about-brand img{
width:96px;
height:34px;
}

/* Professional navbar alignment */
.home-footer-nav,
.navbar,
.about-bottom-nav{
min-height:58px;
padding-left:18px;
padding-right:18px;
gap:14px;
align-items:center;
flex-wrap:nowrap;
overflow:visible;
}

.home-nav-links,
.nav-links,
.about-bottom-nav ul{
display:flex;
align-items:center;
justify-content:flex-end;
gap:clamp(9px,1vw,16px);
flex-wrap:nowrap;
min-width:0;
}

.home-nav-links li,
.nav-links li,
.about-bottom-nav li{
display:flex;
align-items:center;
flex:0 0 auto;
min-width:max-content;
}

.home-nav-links a,
.nav-links a,
.about-bottom-nav a,
.home-nav-cta,
.nav-cta,
.about-nav-cta{
display:inline-flex;
align-items:center;
justify-content:center;
white-space:nowrap;
word-break:normal;
overflow-wrap:normal;
line-height:1.05;
font-size:clamp(.66rem,.72vw,.78rem);
letter-spacing:0;
text-align:center;
}

.mini-brand,
.logo,
.about-brand,
.dashboard-brand{
flex:0 0 auto;
white-space:nowrap;
min-width:max-content;
}

.mini-brand span,
.logo span,
.about-brand span,
.dashboard-brand span{
white-space:nowrap;
word-break:normal;
overflow-wrap:normal;
line-height:1;
}

.home-nav-links .nav-cta,
.about-nav-cta,
.nav-cta{
min-height:38px;
padding:0 16px;
}

@media(max-width:1180px){
.home-footer-nav,
.navbar,
.about-bottom-nav{
overflow-x:auto;
scrollbar-width:none;
}

.home-footer-nav::-webkit-scrollbar,
.navbar::-webkit-scrollbar,
.about-bottom-nav::-webkit-scrollbar{
display:none;
}
}

/* A.E CONNECT Admin Dashboard */
.ae-admin-page{
--admin-navy:#0a2342;
--admin-ink:#172033;
--admin-muted:#657184;
--admin-gold:#f2a722;
--admin-bg:#f6f8fb;
--admin-line:#dfe7f2;
--admin-card:#ffffff;
min-height:100vh;
display:grid;
grid-template-columns:280px minmax(0,1fr);
background:var(--admin-bg);
color:var(--admin-ink);
font-family:'Poppins',sans-serif;
}

.admin-sidebar{
position:sticky;
top:0;
height:100vh;
display:flex;
flex-direction:column;
gap:22px;
padding:24px 20px;
background:var(--admin-navy);
color:#ffffff;
overflow:auto;
}

.admin-brand{
display:flex;
align-items:center;
gap:12px;
color:#ffffff;
font-weight:900;
text-decoration:none;
}

.admin-brand img{
width:42px;
height:42px;
object-fit:contain;
}

.admin-sidebar nav{
display:grid;
gap:8px;
}

.admin-sidebar nav a{
display:flex;
align-items:center;
gap:12px;
min-height:42px;
padding:9px 12px;
border-radius:10px;
color:#dce8f6;
font-size:0.86rem;
font-weight:800;
text-decoration:none;
}

.admin-sidebar nav a span{
display:inline-grid;
place-items:center;
flex:0 0 auto;
width:30px;
height:30px;
border-radius:8px;
background:#fff4d8;
color:var(--admin-navy);
font-size:0.72rem;
font-weight:900;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover{
background:rgba(255,255,255,0.12);
color:#ffffff;
}

.admin-sidebar-card{
margin-top:auto;
padding:16px;
border-radius:14px;
background:#15142a;
}

.admin-sidebar-card strong,
.admin-sidebar-card p,
.admin-sidebar-card a{
display:block;
margin:0 0 8px;
color:#ffffff;
font-size:0.82rem;
font-weight:800;
text-decoration:none;
}

.admin-sidebar-card p{
color:#c9d5e4;
font-weight:600;
overflow-wrap:anywhere;
}

.admin-main{
width:min(100%,1480px);
padding:28px;
}

.admin-topbar,
.admin-section-head,
.admin-top-actions{
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
}

.admin-topbar{
margin-bottom:22px;
}

.admin-topbar p,
.admin-section-head span,
.admin-table th,
.admin-profile-panel span{
margin:0;
color:var(--admin-muted);
font-size:0.74rem;
font-weight:900;
letter-spacing:0.02em;
text-transform:uppercase;
}

.admin-topbar h1,
.admin-section-head h2{
margin:4px 0 0;
line-height:1.05;
}

.admin-topbar h1{
font-size:clamp(2rem,4vw,3.5rem);
}

.admin-section-head h2{
font-size:clamp(1.45rem,2.4vw,2.3rem);
}

.admin-top-actions a,
.admin-top-actions button,
.admin-action-grid button,
.admin-form button,
.admin-table button{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:40px;
padding:0 16px;
border:1px solid var(--admin-line);
border-radius:999px;
background:#ffffff;
color:var(--admin-ink);
font-size:0.82rem;
font-weight:900;
text-decoration:none;
white-space:nowrap;
cursor:pointer;
}

.admin-top-actions button,
.admin-form button{
background:var(--admin-navy);
color:#ffffff;
border-color:var(--admin-navy);
}

.admin-access-banner,
.admin-section,
.admin-action-grid article,
.admin-profile-panel{
border:1px solid var(--admin-line);
border-radius:18px;
background:var(--admin-card);
box-shadow:0 18px 48px rgba(10,35,66,0.08);
}

.admin-access-banner{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
margin-bottom:20px;
padding:14px 16px;
}

.admin-access-banner strong{
font-size:0.95rem;
}

.admin-access-banner span,
.admin-section-head p,
.admin-action-grid p,
.admin-empty-state,
.admin-profile-panel p,
.admin-profile-panel dd{
color:var(--admin-muted);
font-size:0.9rem;
font-weight:700;
line-height:1.55;
}

.admin-access-banner[data-tone="success"]{
border-color:rgba(47,125,80,0.28);
background:#f2fbf5;
}

.admin-access-banner[data-tone="error"]{
border-color:rgba(178,52,52,0.26);
background:#fff4f4;
}

.admin-section{
display:none;
padding:22px;
}

.admin-section.is-active{
display:block;
}

.admin-metric-grid,
.admin-action-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:16px;
margin-top:20px;
}

.admin-student-summary{
display:grid;
grid-template-columns:minmax(0,1fr);
margin-top:18px;
}

.admin-student-summary article{
padding:18px;
border:1px solid var(--admin-line);
border-radius:16px;
background:#fbfcfe;
}

.admin-student-summary span,
.admin-student-summary small{
display:block;
color:var(--admin-muted);
font-size:0.76rem;
font-weight:900;
text-transform:uppercase;
}

.admin-student-summary strong{
display:block;
margin:8px 0;
font-size:2.4rem;
line-height:1;
}

.admin-metric-grid article{
padding:18px;
border:1px solid var(--admin-line);
border-radius:16px;
background:#fbfcfe;
}

.admin-metric-grid span,
.admin-metric-grid small{
display:block;
color:var(--admin-muted);
font-size:0.76rem;
font-weight:900;
text-transform:uppercase;
}

.admin-metric-grid strong{
display:block;
margin:8px 0;
font-size:2.4rem;
line-height:1;
}

.admin-action-grid article{
padding:18px;
box-shadow:none;
}

.admin-action-grid h3{
margin:0 0 8px;
}

.admin-empty-state{
margin-top:18px;
padding:16px;
border:1px dashed var(--admin-line);
border-radius:14px;
background:#fbfcfe;
}

.admin-toolbar{
display:grid;
grid-template-columns:minmax(240px,1.4fr) repeat(4,minmax(150px,1fr));
gap:12px;
margin:18px 0;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-form input,
.admin-form select,
.admin-form textarea{
width:100%;
min-height:44px;
padding:0 14px;
border:1px solid var(--admin-line);
border-radius:12px;
background:#ffffff;
color:var(--admin-ink);
font:inherit;
font-size:0.9rem;
font-weight:700;
}

.admin-form textarea{
padding-top:12px;
resize:vertical;
}

.admin-form-actions{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.admin-data-grid{
display:grid;
grid-template-columns:minmax(0,1fr) 320px;
gap:18px;
}

.admin-table-wrap{
overflow:auto;
border:1px solid var(--admin-line);
border-radius:16px;
background:#ffffff;
}

.admin-table{
width:100%;
min-width:1180px;
border-collapse:collapse;
}

.admin-table th,
.admin-table td{
padding:13px 14px;
border-bottom:1px solid var(--admin-line);
text-align:left;
font-size:0.86rem;
}

.admin-table td{
font-weight:700;
}

.admin-table-actions{
display:flex;
align-items:center;
gap:8px;
white-space:nowrap;
}

.admin-table-actions button:disabled{
opacity:0.45;
cursor:not-allowed;
}

.admin-profile-panel{
padding:18px;
box-shadow:none;
}

.admin-profile-panel h3{
margin:8px 0;
}

.admin-profile-panel dl{
display:grid;
gap:10px;
margin:16px 0 0;
}

.admin-profile-panel div{
padding:10px;
border-radius:12px;
background:#f8fafc;
}

.admin-profile-panel dt{
color:var(--admin-muted);
font-size:0.72rem;
font-weight:900;
text-transform:uppercase;
}

.admin-profile-panel dd{
margin:4px 0 0;
color:var(--admin-ink);
}

.admin-form{
display:grid;
gap:14px;
max-width:760px;
margin-top:18px;
}

.admin-form label{
display:grid;
gap:8px;
color:var(--admin-muted);
font-size:0.78rem;
font-weight:900;
text-transform:uppercase;
}

@media(max-width:1050px){
.ae-admin-page{
grid-template-columns:1fr;
}

.admin-sidebar{
position:static;
height:auto;
}

.admin-sidebar nav{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.admin-main{
padding:22px;
}

.admin-data-grid,
.admin-metric-grid,
.admin-action-grid{
grid-template-columns:1fr;
}
}

@media(max-width:680px){
.admin-topbar,
.admin-section-head,
.admin-top-actions,
.admin-access-banner{
display:grid;
grid-template-columns:1fr;
align-items:stretch;
}

.admin-top-actions{
grid-template-columns:repeat(3,minmax(0,1fr));
}

.admin-top-actions a,
.admin-top-actions button{
width:100%;
min-width:0;
padding:0 10px;
}

.admin-sidebar nav,
.admin-toolbar{
grid-template-columns:1fr;
}

.admin-main{
padding:16px;
}
}

/* Final premium title scale — intentionally last in the desktop cascade. */
body h1{
font-size:clamp(1.9rem,3.4vw,3.2rem) !important;
line-height:1.12 !important;
letter-spacing:-0.035em !important;
font-weight:700 !important;
}

body h2,
.about-section h2,
.programs h2,
.books-section h2{
font-size:clamp(1.25rem,2vw,1.75rem) !important;
line-height:1.22 !important;
letter-spacing:-0.022em !important;
font-weight:600 !important;
}

body h3{
font-size:clamp(1rem,1.35vw,1.18rem) !important;
line-height:1.32 !important;
letter-spacing:-0.012em !important;
font-weight:600 !important;
}

.about-section > h1{
margin-bottom:clamp(28px,4vw,48px) !important;
}

.about-section > h2{
max-width:38ch;
margin:clamp(34px,4vw,52px) auto 14px !important;
text-wrap:balance;
}

.about-section > h3{
margin-top:22px;
margin-bottom:4px;
}

:where(.home-hero,.hero,.enterprise-hero,.network-hero,.events-hero,.opportunities-hero,.scholarships-hero,.community-hero,.resources-hero,.skills-hero,.materials-hero,.book-hero,.tertiary-hero,.about-story-hero) h1{
font-size:clamp(2.15rem,4.2vw,3.65rem) !important;
}

@media(max-width:768px){
body h1{font-size:clamp(1.75rem,8vw,2.35rem) !important}
body h2,.about-section h2,.programs h2,.books-section h2{font-size:clamp(1.15rem,5.7vw,1.5rem) !important}
body h3{font-size:clamp(.96rem,4.5vw,1.08rem) !important}
.about-section > h2{margin-top:34px !important;margin-bottom:12px !important}
:where(.home-hero,.hero,.enterprise-hero,.network-hero,.events-hero,.opportunities-hero,.scholarships-hero,.community-hero,.resources-hero,.skills-hero,.materials-hero,.book-hero,.tertiary-hero,.about-story-hero) h1{font-size:clamp(2rem,9vw,2.7rem) !important}
}

/* Blue content canvas for the generated learning detail pages. */
.navbar + .about-section{
background:linear-gradient(180deg,#174d7d 0%,#0f3b66 100%) !important;
color:#eaf2fa !important;
box-shadow:none !important;
}

.navbar + .about-section :where(h1,h2,h3,h4,h5,h6){
color:#ffffff !important;
}

.navbar + .about-section :where(p,li){
color:#dce8f3 !important;
}

.navbar + .about-section a{
color:#ffd166 !important;
text-decoration-color:rgba(255,209,102,.55);
text-underline-offset:3px;
}

.navbar + .about-section a:hover{
color:#ffffff !important;
}

/* Search-first Programme Categories */
.programme-search-shell{width:min(100%,980px);margin:32px auto 0}.programme-search-controls{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:0}.programme-search-controls>button{min-width:68px;height:54px;border-radius:14px}.programme-search-box{position:relative;min-width:0}.programme-search-box>span{position:absolute;left:18px;top:50%;z-index:1;transform:translateY(-50%);color:#718096;font-size:1.25rem;pointer-events:none}.programme-search-box input{width:100%;height:54px!important;padding:0 48px!important;border:1px solid rgba(10,35,66,.14)!important;border-radius:14px!important;background:#fff!important;color:#102a46!important;font-size:.95rem!important;box-shadow:0 10px 30px rgba(5,26,48,.12)!important}.programme-search-box input::-webkit-search-cancel-button{cursor:pointer}.programme-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:100;max-height:360px;overflow:auto;padding:8px;border:1px solid #dfe6ed;border-radius:14px;background:#fff;box-shadow:0 22px 55px rgba(5,26,48,.22);text-align:left}.programme-search-results a{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:10px 12px;border-radius:9px;color:#172a42;text-decoration:none;transition:background .16s ease}.programme-search-results a:hover,.programme-search-results a.active{background:#f0f5f9}.programme-search-results strong,.programme-search-results small{display:block}.programme-search-results strong{font-size:.84rem;font-weight:600}.programme-search-results small{margin-top:2px;color:#758195;font-size:.68rem}.programme-search-empty{margin:0;padding:18px;color:#6e7b8d;text-align:center;font-size:.82rem}.trending-programmes{display:flex;align-items:flex-start;gap:14px;margin-top:15px;padding-left:81px;text-align:left}.trending-programmes>span{flex:0 0 auto;padding-top:5px;color:rgba(255,255,255,.68);font-size:.68rem;font-weight:500}.trending-programmes>div{display:flex;flex-wrap:wrap;gap:7px}.trending-programmes a{padding:5px 9px;border:1px solid rgba(255,255,255,.17);border-radius:999px;color:#fff;font-size:.68rem;font-weight:500;text-decoration:none;transition:background .16s ease,border-color .16s ease}.trending-programmes a:hover{border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.1)}
@media(max-width:680px){.programme-search-controls{grid-template-columns:1fr}.programme-search-controls>button{width:100%}.trending-programmes{display:block;padding-left:0}.trending-programmes>span{display:block;margin-bottom:8px}.programme-search-results{max-height:300px}}

/* Subject-aware visual headers for roadmap and discovery cards. */
:where(.program-card,.roadmap-card,.universal-skill-card,.resource-path-card,.opportunity-card,.scholarship-card,.ai-tool-card,.material-book-card,.enterprise-card):has(> .ae-card-visual){
display:flex;
flex-direction:column;
align-items:stretch;
overflow:hidden;
padding-top:0 !important;
}

.ae-card-visual{
display:block;
flex:0 0 auto;
width:calc(100% + clamp(44px,5vw,60px));
height:clamp(132px,13vw,176px);
margin:0 calc(clamp(22px,2.5vw,30px) * -1) clamp(20px,2.3vw,26px);
background-color:#dbe6ef;
background-position:var(--visual-shift,center) center;
background-size:cover;
position:relative;
isolation:isolate;
transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .3s ease;
}

.ae-card-visual::after{
content:"";
position:absolute;
inset:auto 0 0;
height:4px;
background:var(--visual-accent,#e6a51f);
}

.ae-card-visual-caption{
position:absolute;
inset:0;
z-index:1;
display:flex;
align-items:flex-end;
gap:10px;
padding:18px;
color:#fff;
text-shadow:0 2px 12px rgba(5,20,38,.42);
}

.ae-card-visual-caption b{
display:grid;
place-items:center;
flex:0 0 auto;
width:42px;
height:42px;
border:1px solid rgba(255,255,255,.45);
border-radius:11px;
background:color-mix(in srgb,var(--visual-accent) 78%,rgba(10,35,66,.82));
color:#fff;
font-size:1.05rem;
font-weight:600;
line-height:1;
box-shadow:0 8px 22px rgba(4,18,34,.22);
}

.ae-card-visual-caption small{
overflow:hidden;
padding:7px 10px;
border:1px solid rgba(255,255,255,.22);
border-radius:8px;
background:rgba(8,32,56,.68);
color:#fff;
font-size:.66rem;
font-weight:600 !important;
line-height:1.25;
letter-spacing:.025em;
text-overflow:ellipsis;
text-transform:uppercase;
white-space:nowrap;
backdrop-filter:blur(7px);
}

:where(.program-card,.roadmap-card,.universal-skill-card,.resource-path-card,.opportunity-card,.scholarship-card,.ai-tool-card,.material-book-card,.enterprise-card):hover > .ae-card-visual{
transform:scale(1.035);
filter:saturate(1.05) contrast(1.02);
}

:where(.program-card,.roadmap-card,.universal-skill-card,.resource-path-card,.opportunity-card,.scholarship-card,.ai-tool-card,.material-book-card,.enterprise-card):has(> .ae-card-visual) > :not(.ae-card-visual){
position:relative;
z-index:1;
}

@media(max-width:768px){
.ae-card-visual{height:140px}
}

/* FROM HIGH SCHOOL TO FREEDOM — interactive learning pathways */
.freedom-pathway[hidden],.freedom-learning-detail[hidden],.freedom-empty-state[hidden]{display:none!important}
.freedom-pathway-open{overflow:hidden}
.freedom-pathway{
position:fixed;
inset:0;
z-index:30000;
overflow-y:auto;
background:#f3f7fb;
color:#102a4c;
font-family:inherit;
}
.freedom-pathway-header{
background:linear-gradient(125deg,#082646 0%,#123f70 58%,#205f99 100%);
color:#fff;
padding:clamp(28px,5vw,64px) clamp(20px,5vw,72px);
}
.freedom-pathway-header-inner,.freedom-pathway-body,.freedom-detail-shell{max-width:1200px;margin:0 auto}
.freedom-pathway-header-inner{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(22px,4vw,54px);align-items:start}
.freedom-pathway-header h2{margin:8px 0 12px;color:#fff;font-size:clamp(1.8rem,4vw,3.2rem);line-height:1.08;letter-spacing:-.035em;text-transform:none}
.freedom-pathway-header h1{margin:8px 0 12px;color:#fff;font-size:clamp(1.8rem,4vw,3.2rem);font-weight:700;line-height:1.08;letter-spacing:-.035em;text-transform:none}
.freedom-pathway-header p:last-child{max-width:760px;margin:0;color:#d8e7f5;font-size:clamp(.98rem,1.6vw,1.12rem);line-height:1.7}
.freedom-eyebrow,.freedom-section-kicker{margin:0!important;color:#f5bd3f!important;font-size:.76rem!important;font-weight:700!important;letter-spacing:.13em;text-transform:uppercase}
.freedom-back-button{min-height:44px;padding:0 17px;border:1px solid rgba(255,255,255,.32);border-radius:11px;background:rgba(255,255,255,.1);color:#fff;font:600 .92rem/1 inherit;cursor:pointer;transition:.2s ease}
.freedom-back-button:hover{background:#fff;color:#102a4c;transform:translateY(-1px)}
.freedom-back-button:focus-visible,.freedom-pathway button:focus-visible,.freedom-pathway a:focus-visible,.freedom-pathway input:focus-visible{outline:3px solid #f5bd3f;outline-offset:3px}
.freedom-pathway-body{padding:clamp(26px,5vw,60px) clamp(18px,4vw,42px) 72px}
.freedom-progress-card{display:grid;grid-template-columns:1fr auto;gap:12px 24px;align-items:center;margin-top:clamp(-50px,-4vw,-32px);padding:22px 26px;border:1px solid #d8e3ed;border-radius:18px;background:#fff;box-shadow:0 16px 45px rgba(8,38,70,.12)}
.freedom-progress-card div:first-child{display:flex;flex-direction:column;gap:3px}
.freedom-progress-card span:first-child{color:#607287;font-size:.82rem;font-weight:500}
.freedom-progress-card strong{font-size:1rem;font-weight:600}
.freedom-progress-percent{color:#205f99;font-size:1.35rem;font-weight:700}
.freedom-progress-track,.freedom-card-progress{height:7px;overflow:hidden;border-radius:999px;background:#e6edf4}
.freedom-progress-track{grid-column:1/-1}
.freedom-progress-track span,.freedom-card-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#dda51f,#f5c857);transition:width .35s ease}
.freedom-discovery{padding:42px 0 28px}
.freedom-discovery>label{display:block;margin-bottom:12px;font-size:1.1rem;font-weight:600}
.freedom-search-wrap{display:flex;align-items:center;max-width:720px;border:1px solid #cbd8e4;border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(8,38,70,.05);transition:.2s ease}
.freedom-search-wrap:focus-within{border-color:#205f99;box-shadow:0 0 0 4px rgba(32,95,153,.12)}
.freedom-search-wrap>span{padding-left:17px;color:#607287;font-size:1.5rem}
.freedom-search-wrap input{width:100%;min-height:52px;padding:0 17px;border:0;outline:0;background:transparent;color:#102a4c;font:400 1rem/1.4 inherit}
.freedom-filters{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.freedom-filters button{min-height:40px;padding:0 16px;border:1px solid #cbd8e4;border-radius:999px;background:#fff;color:#314862;font:600 .82rem/1 inherit;cursor:pointer;transition:.2s ease}
.freedom-filters button:hover,.freedom-filters button.is-active{border-color:#123f70;background:#123f70;color:#fff}
.freedom-programme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.freedom-programme-card{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid #d8e3ed;border-radius:19px;background:#fff;box-shadow:0 8px 26px rgba(8,38,70,.06);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.freedom-programme-card:hover{transform:translateY(-5px);border-color:#b9ccdd;box-shadow:0 18px 42px rgba(8,38,70,.12)}
.freedom-card-top{display:flex;align-items:start;justify-content:space-between;margin-bottom:18px}
.freedom-card-icon,.freedom-detail-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#e8f1f9;color:#123f70;font-size:1.5rem}
.freedom-save-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d8e3ed;border-radius:12px;background:#fff;color:#8a9bad;font-size:1.45rem;cursor:pointer}
.freedom-save-icon:hover,.freedom-save-icon.is-saved{border-color:#e7ae2f;background:#fff7df;color:#d49300}
.freedom-card-labels{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.freedom-card-labels span{padding:5px 9px;border-radius:999px;background:#eef4f8;color:#415a73;font-size:.69rem;font-weight:600;letter-spacing:.02em}
.freedom-programme-card h3{margin:0 0 9px;color:#102a4c;font-size:1.08rem;font-weight:600;line-height:1.35;text-transform:none}
.freedom-programme-card>p{flex:1;margin:0 0 22px;color:#53677c;font-size:.9rem;line-height:1.65}
.freedom-card-meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;color:#607287;font-size:.76rem}
.freedom-card-meta strong{font-weight:600}.status-completed{color:#168455}.status-in-progress{color:#b37300}
.freedom-card-progress{height:5px;margin-bottom:20px}
.freedom-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.freedom-primary-button,.freedom-secondary-button,.freedom-complete-button{min-height:44px;padding:9px 13px;border-radius:10px;font:600 .82rem/1.2 inherit;cursor:pointer;transition:.2s ease}
.freedom-primary-button{border:1px solid #123f70;background:#123f70;color:#fff}
.freedom-primary-button:hover{background:#205f99;border-color:#205f99;transform:translateY(-1px)}
.freedom-secondary-button{border:1px solid #cbd8e4;background:#fff;color:#123f70}
.freedom-secondary-button:hover{border-color:#123f70;background:#f5f8fb}
.freedom-empty-state{padding:70px 20px;text-align:center}.freedom-empty-state>span{font-size:2.6rem;color:#8a9bad}.freedom-empty-state h3{margin:12px 0 6px;font-size:1.15rem}.freedom-empty-state p{margin:0;color:#607287}
.freedom-learning-detail{position:fixed;inset:0;z-index:1;overflow-y:auto;background:#f3f7fb}
.freedom-detail-shell{padding:clamp(24px,5vw,58px) clamp(18px,4vw,42px) 72px}
.freedom-detail-back{margin-bottom:25px;border-color:#c5d4e1;background:#fff;color:#123f70}
.freedom-detail-back:hover{background:#123f70;color:#fff}
.freedom-detail-hero{display:grid;grid-template-columns:auto 1fr;gap:20px;padding:clamp(24px,4vw,42px);border-radius:22px;background:linear-gradient(125deg,#082646,#205f99);color:#fff;box-shadow:0 18px 50px rgba(8,38,70,.16)}
.freedom-detail-icon{width:66px;height:66px;background:#fff3cf;font-size:1.8rem}
.freedom-detail-hero h2{margin:8px 0 10px;color:#fff;font-size:clamp(1.65rem,3vw,2.4rem);line-height:1.15;text-transform:none}
.freedom-detail-hero p{max-width:780px;margin:0;color:#dbe8f4;line-height:1.65}.freedom-detail-hero .freedom-card-labels span{background:rgba(255,255,255,.13);color:#fff}
.freedom-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:24px;margin-top:24px;align-items:start}
.freedom-detail-section{margin-bottom:24px;padding:26px;border:1px solid #d8e3ed;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(8,38,70,.05)}
.freedom-detail-section h3{margin:6px 0 18px;color:#102a4c;font-size:1.15rem;text-transform:none}.freedom-detail-section p{color:#53677c;line-height:1.65}
.freedom-lessons{display:grid;gap:12px;margin:0;padding:0;list-style:none}.freedom-lessons li{display:flex;gap:13px;align-items:center;padding:14px;border-radius:12px;background:#f4f8fb}.freedom-lessons li>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#123f70;color:#fff;font-size:.8rem;font-weight:700}.freedom-lessons strong,.freedom-lessons small{display:block}.freedom-lessons strong{font-size:.9rem}.freedom-lessons small{margin-top:3px;color:#718397;font-size:.75rem}
.freedom-checklist{display:grid;gap:10px}.freedom-checklist label{display:flex;gap:12px;align-items:flex-start;padding:13px;border:1px solid #e0e8ef;border-radius:11px;cursor:pointer}.freedom-checklist label:has(input:checked){border-color:#a8d9c1;background:#effaf4}.freedom-checklist input{width:19px;height:19px;margin:1px 0 0;accent-color:#168455}.freedom-checklist span{font-size:.88rem;line-height:1.45}
.freedom-next-action{border-top:4px solid #e7ae2f}.freedom-resource-list{display:grid;gap:8px}.freedom-resource-list a{display:flex;justify-content:space-between;gap:12px;padding:12px;border-radius:9px;background:#eef4f8;color:#123f70;font-size:.86rem;font-weight:600;text-decoration:none}.freedom-resource-list a:hover{background:#dfeaf3}
.freedom-complete-button{width:100%;min-height:52px;border:1px solid #123f70;background:#123f70;color:#fff;font-size:.9rem}.freedom-complete-button:hover{background:#205f99}.freedom-complete-button.is-complete{border-color:#168455;background:#168455}

@media(max-width:950px){.freedom-programme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.freedom-detail-layout{grid-template-columns:1fr}}
@media(max-width:620px){
.freedom-pathway-header-inner{grid-template-columns:1fr;gap:20px}.freedom-back-button{justify-self:start}.freedom-progress-card{margin-top:-38px;padding:18px}.freedom-programme-grid{grid-template-columns:1fr}.freedom-programme-card{padding:20px}.freedom-card-actions{grid-template-columns:1fr}.freedom-detail-hero{grid-template-columns:1fr}.freedom-detail-section{padding:20px}.freedom-lessons small{display:none}
}

.freedom-journey-page{background:#f3f7fb;color:#102a4c}
.freedom-journey-page .freedom-pathway{position:relative;inset:auto;z-index:auto;min-height:100vh;overflow:visible}
.freedom-journey-page .freedom-pathway-body{min-height:620px}
.freedom-journey-page .freedom-learning-detail{z-index:30000}

/* Premium entrance for FROM HIGH SCHOOL TO FREEDOM */
.freedom-page{background:#fcf8f1;color:#14243d}
.freedom-page .freedom-home{padding:0;background:#fcf8f1;text-align:left}
.freedom-home-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr);min-height:640px;background:linear-gradient(120deg,#071f3b 0%,#123f70 70%,#205f99 100%);overflow:hidden}
.freedom-home-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(64px,8vw,118px) clamp(30px,7vw,108px)}
.freedom-home-eyebrow{margin:0 0 16px;color:#eaa917;font-size:.75rem;font-weight:700;letter-spacing:.14em;line-height:1.4;text-transform:uppercase}
.freedom-page .freedom-home-hero h1{max-width:680px;margin:0 0 24px;padding:0;background:none;box-shadow:none;color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.65rem,5.4vw,5.25rem);font-weight:700;letter-spacing:-.045em;line-height:.98;text-transform:none}
.freedom-home-lead{max-width:610px;margin:0 0 34px;color:#d6e3ef;font-size:clamp(1rem,1.4vw,1.15rem);font-weight:400;line-height:1.75}
.freedom-home-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;align-self:flex-start;min-height:50px;padding:0 19px;border:1px solid #f0b326;border-radius:10px;background:#f0b326;color:#102a4c;font-size:.87rem;font-weight:700;text-decoration:none;box-shadow:0 12px 30px rgba(3,19,37,.2);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.freedom-home-cta:hover{background:#ffd36a;transform:translateY(-2px);box-shadow:0 16px 36px rgba(3,19,37,.3)}
.freedom-home-cta:focus-visible,.freedom-choice-grid .program-card:focus-visible{outline:3px solid #f0b326;outline-offset:4px}
.freedom-home-visual{position:relative;min-height:540px;overflow:hidden}
.freedom-home-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#123f70 0%,rgba(18,63,112,.18) 32%,rgba(7,31,59,.08) 100%);pointer-events:none}
.freedom-home-visual img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.freedom-hero-note{position:absolute;right:clamp(22px,4vw,54px);bottom:clamp(24px,5vw,60px);z-index:1;display:flex;flex-direction:column;min-width:230px;padding:20px 22px;border:1px solid rgba(255,255,255,.25);border-radius:14px;background:rgba(7,31,59,.82);color:#fff;box-shadow:0 18px 40px rgba(4,22,42,.26);backdrop-filter:blur(10px)}
.freedom-hero-note strong{font-family:Georgia,'Times New Roman',serif;font-size:1.25rem}.freedom-hero-note span{margin-top:4px;color:#dbe7f1;font-size:.84rem}
.freedom-home-stats{display:grid;grid-template-columns:repeat(3,1fr);max-width:1080px;margin:-42px auto 0;position:relative;z-index:2;border:1px solid #dce3e8;border-radius:18px;background:#fff;box-shadow:0 18px 48px rgba(10,35,66,.12)}
.freedom-home-stats>div{display:flex;align-items:center;justify-content:center;gap:14px;min-height:86px;padding:18px 24px}.freedom-home-stats>div+div{border-left:1px solid #e3e8ec}
.freedom-home-stats strong{color:#123f70;font-family:Georgia,'Times New Roman',serif;font-size:1.8rem}.freedom-home-stats span{max-width:125px;color:#6d7580;font-size:.78rem;line-height:1.4}
.freedom-intro-panel{max-width:1000px;margin:0 auto;padding:clamp(86px,9vw,124px) 30px 70px;border:0;background:transparent;box-shadow:none;text-align:center}
.freedom-intro-panel .freedom-home-eyebrow{margin-bottom:13px}
.freedom-intro-panel h2,.freedom-section-heading h2{margin:0;color:#172238;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,3.6vw,3rem);font-weight:700;letter-spacing:-.035em;line-height:1.12;text-transform:none}
.freedom-intro-panel h3{max-width:720px;margin:22px auto 16px;color:#31445f;font-size:.84rem;font-weight:600;letter-spacing:.015em;line-height:1.6;text-transform:uppercase}
.freedom-intro-panel p:last-child{max-width:760px;color:#766c62;font-size:1rem;font-weight:400;line-height:1.85}
.freedom-path-choice{padding:clamp(70px,8vw,112px) clamp(24px,7vw,96px);background:#f3f7fb;scroll-margin-top:70px}
.freedom-section-heading{max-width:720px;margin:0 auto 44px;text-align:center}.freedom-section-heading>p:last-child{max-width:650px;margin:15px auto 0;color:#6c7580;font-size:.98rem;line-height:1.7}
.freedom-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1060px;margin:0 auto;gap:26px}
.freedom-page .freedom-choice-grid .program-card{position:relative;display:flex;flex-direction:column;min-height:460px;padding:38px;border:1px solid #d9e1e7!important;border-top:1px solid #d9e1e7!important;border-radius:20px;background:#fff!important;color:#14243d;box-shadow:0 10px 32px rgba(10,35,66,.07)!important;text-align:left;overflow:hidden;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.freedom-page .freedom-choice-grid .program-card::after{content:"";position:absolute;right:-70px;top:-70px;width:190px;height:190px;border-radius:50%;background:#e9f2f9;transition:transform .35s ease}
.freedom-page .freedom-choice-grid .program-card:hover{transform:translateY(-7px);border-color:#b9ccdd!important;box-shadow:0 22px 52px rgba(10,35,66,.14)!important}.freedom-page .freedom-choice-grid .program-card:hover::after{transform:scale(1.12)}
.freedom-page .freedom-choice-grid .program-card::after{display:none}
.freedom-choice-image{height:220px;margin:-38px -38px 30px;overflow:hidden;background:#dce8f1}
.freedom-choice-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 32%;transition:transform .35s ease,filter .3s ease}
.freedom-choice-grid .program-card:nth-child(2) .freedom-choice-image img{object-position:center 42%}
.freedom-choice-grid .program-card:hover .freedom-choice-image img{transform:scale(1.045);filter:saturate(1.05)}
.freedom-choice-number{position:absolute;right:28px;top:25px;z-index:1;color:#9fb2c3;font-family:Georgia,'Times New Roman',serif;font-size:1.55rem;font-weight:700}
.freedom-choice-number{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.9);color:#123f70;box-shadow:0 7px 20px rgba(5,27,50,.15);font-size:1rem}
.freedom-choice-icon{display:grid;place-items:center;width:58px;height:58px;margin-bottom:42px;border-radius:16px;background:#fff1cf;font-size:1.55rem}
.freedom-choice-label{margin:0 0 9px!important;color:#c18300!important;font-size:.7rem!important;font-weight:700!important;letter-spacing:.12em;text-transform:uppercase}
.freedom-page .freedom-choice-grid .program-card h3{max-width:460px;margin:0 0 16px;color:#14243d;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.45rem,2.3vw,2rem);font-weight:700;letter-spacing:-.02em;line-height:1.17;text-transform:none}
.freedom-page .freedom-choice-grid .program-card>p:not(.freedom-choice-label){max-width:520px;margin:0 0 28px;color:#687483;font-size:.94rem;font-weight:400;line-height:1.75}
.freedom-choice-action{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;margin-top:auto;padding-top:19px;border-top:1px solid #e1e7ec;color:#123f70;font-size:.85rem;font-weight:700}.freedom-choice-action b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#123f70;color:#fff;transition:transform .2s ease}.program-card:hover .freedom-choice-action b{transform:translateX(3px)}
.freedom-home-values{padding:clamp(80px,9vw,125px) clamp(24px,7vw,96px);background:#fcf8f1}
.freedom-value-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:1120px;margin:0 auto;gap:22px}
.freedom-value-grid article{min-height:250px;padding:31px;border:1px solid #d9e1e7;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(10,35,66,.05)}
.freedom-value-grid article>span{display:grid;place-items:center;width:43px;height:43px;margin-bottom:29px;border-radius:50%;background:#fff1d5;color:#0d5b4c;font-size:.75rem;font-weight:700}
.freedom-value-grid h3{margin:0 0 11px;color:#172238;font-family:Georgia,'Times New Roman',serif;font-size:1.2rem;font-weight:700;line-height:1.25;text-transform:none}.freedom-value-grid p{margin:0;color:#7a7066;font-size:.9rem;line-height:1.7}
.freedom-value-grid article h3{font-size:clamp(1.15rem,2vw,1.42rem);line-height:1.45}
.freedom-value-grid article p{margin-top:18px;color:#9a6b08;font-size:.68rem;font-weight:800;letter-spacing:.06em;line-height:1.55;text-transform:uppercase}

@media(max-width:960px){.freedom-home-hero{grid-template-columns:1fr;min-height:auto}.freedom-home-copy{padding-bottom:70px}.freedom-home-visual{min-height:430px}.freedom-home-visual::after{background:linear-gradient(180deg,#123f70 0%,rgba(18,63,112,.08) 30%)}.freedom-home-stats{margin:-30px 24px 0}.freedom-choice-grid{grid-template-columns:1fr}.freedom-page .freedom-choice-grid .program-card{min-height:410px}}
@media(max-width:680px){.freedom-home-copy{padding:58px 22px 60px}.freedom-page .freedom-home-hero h1{font-size:clamp(2.4rem,13vw,3.8rem)}.freedom-home-visual{min-height:330px}.freedom-hero-note{right:16px;bottom:16px;min-width:205px}.freedom-home-stats{grid-template-columns:1fr;margin:-16px 16px 0}.freedom-home-stats>div{justify-content:flex-start;min-height:70px}.freedom-home-stats>div+div{border-top:1px solid #e3e8ec;border-left:0}.freedom-intro-panel{padding:74px 22px 55px}.freedom-path-choice,.freedom-home-values{padding-left:16px;padding-right:16px}.freedom-page .freedom-choice-grid .program-card{min-height:440px;padding:27px}.freedom-choice-icon{margin-bottom:34px}.freedom-value-grid{grid-template-columns:1fr}.freedom-value-grid article{min-height:220px}}
@media(max-width:680px){.freedom-choice-image{height:205px;margin:-27px -27px 26px}}

/* Quiet blue polish: Community and Student Dashboard */
.community-page{
--home-coral:#1f5d99;
--ae-coral:#1f5d99;
--ae-coral-dark:#174b7d;
--ae-gold:#1f5d99;
}
.community-page .home-footer-nav::before{background:#1f5d99}
.community-page .home-footer-nav a:hover,
.community-page .home-footer-nav a.active{color:#1f5d99}
.community-page .opportunity-pill{
border:1px solid #d6e4f1;
background:#eaf3ff;
color:#1f5d99;
box-shadow:none;
}
.community-page .community-hero h1{font-size:clamp(2rem,4vw,2.85rem);font-weight:700;letter-spacing:-.035em;line-height:1.08}
.community-page .community-hero p{font-size:.92rem;font-weight:400;line-height:1.65}
.community-page .community-filters button{font-size:.77rem;font-weight:500}
.community-page .community-filters button.active{border-color:#123f70;background:#123f70;color:#fff;box-shadow:none}
.community-page .academic-community-head h2{font-size:clamp(1.45rem,2.4vw,1.9rem);font-weight:700;letter-spacing:-.025em}
.community-page .academic-community-head p{font-size:.88rem;font-weight:400}
.community-page .create-group-button,
.community-page .start-discussion-button,
.community-page .newsletter button{border-color:#123f70;background:#123f70;color:#fff;box-shadow:none;font-size:.78rem;font-weight:600}
.community-page .create-group-button:hover,
.community-page .start-discussion-button:hover,
.community-page .newsletter button:hover{background:#1f5d99;color:#fff}
.community-page .academic-community-card{border-top-color:#dfe7f2!important}
.community-page .academic-community-card.joined{border-color:#aac5dc!important;box-shadow:0 14px 34px rgba(10,35,66,.09)!important}
.community-page .academic-community-card h3{font-size:1rem;font-weight:600;line-height:1.35}
.community-page .academic-community-card p{font-size:.82rem;font-weight:400;line-height:1.6}
.community-page .academic-community-card strong{font-size:.76rem;font-weight:600;line-height:1.5}
.community-page .academic-community-card button{background:#123f70;color:#fff;font-size:.76rem;font-weight:600;box-shadow:none}
.community-page .academic-community-card .group-card-profile,
.community-page .academic-community-card.joined .group-card-profile{height:auto;padding:0;border:0;background:transparent;color:inherit;box-shadow:none}
.community-page .group-avatar,
.community-page .group-list-avatar,
.community-page #groupChatAvatar{background:#eaf3ff;color:#1f5d99}
.community-page .academic-community-card .leave-group-button{border-color:#cbd8e4;background:#fff;color:#123f70}
.community-page .academic-community-card .group-card-profile,
.community-page .discussion-meta b{color:#1f5d99}
.community-page .discussion-main h3{font-size:1rem;font-weight:600;line-height:1.4}
.community-page .discussion-main>p{font-size:.82rem;font-weight:400;line-height:1.65}
.community-page .discussion-meta,
.community-page .discussion-actions{font-size:.72rem;font-weight:500}
.community-page .newsletter h2{font-size:1.25rem;font-weight:600}
.community-page .newsletter p{font-size:.78rem;font-weight:400}

.student-dashboard-page{
--dash-coral:#1f5d99;
--dash-gold:#5e91bd;
--ae-brand-gold:#1f5d99;
--ae-brand-gold-deep:#174b7d;
--ae-brand-gold-soft:#eaf3ff;
--ae-brand-gold-quiet:#f6f9fc;
}
.student-dashboard-page .dashboard-topbar h1{font-size:clamp(1.65rem,2.7vw,2.35rem)!important;font-weight:700!important;line-height:1.06;letter-spacing:-.035em}
.student-dashboard-page .dashboard-topbar>div>p{font-size:.68rem;font-weight:500;letter-spacing:.055em}
.student-dashboard-page .dashboard-sidebar nav a span{background:rgba(255,255,255,.1);color:#fff}
.student-dashboard-page .dashboard-sidebar nav a.active,
.student-dashboard-page .dashboard-sidebar nav a:hover{background:rgba(83,143,194,.22);color:#fff}
.student-dashboard-page .dashboard-sidebar nav a.active::before{background:#75a9d5}
.student-dashboard-page .dashboard-welcome .dashboard-eyebrow{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.1);color:#dceaf6}
.student-dashboard-page .dashboard-welcome h2{font-size:clamp(1.5rem,3vw,2.35rem);font-weight:600;letter-spacing:-.025em;line-height:1.08}
.student-dashboard-page .dashboard-welcome p{font-size:.88rem;font-weight:400;line-height:1.6}
.student-dashboard-page .dashboard-streak-card strong{font-size:1.55rem;font-weight:600}
.student-dashboard-page .dashboard-streak-card span,
.student-dashboard-page .dashboard-streak-card small{font-size:.68rem;font-weight:500}
.student-dashboard-page .panel-heading h3{font-size:1.02rem;font-weight:600;line-height:1.25}
.student-dashboard-page .panel-heading span{font-size:.66rem;font-weight:500!important;letter-spacing:.05em}
.student-dashboard-page .panel-heading a,
.student-dashboard-page .panel-heading b{color:#1f5d99;font-size:.72rem;font-weight:600}
.student-dashboard-page .progress-track{height:9px;background:#e8eef4}
.student-dashboard-page .progress-track span,
.student-dashboard-page .dashboard-progress-bar span{background:linear-gradient(90deg,#123f70,#5e91bd)}
.student-dashboard-page .progress-metrics b{font-size:1.05rem;font-weight:600}
.student-dashboard-page .progress-metrics span{font-size:.68rem;font-weight:400}
.student-dashboard-page .quick-actions a{min-height:136px;padding:17px}
.student-dashboard-page .quick-actions span,
.student-dashboard-page .dashboard-icon{background:#eaf3ff!important;color:#1f5d99!important}
.student-dashboard-page .quick-actions h3{margin-top:21px;font-size:.88rem;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.student-dashboard-page .quick-actions p{font-size:.72rem;font-weight:400;line-height:1.5}
.student-dashboard-page .dashboard-panel{box-shadow:0 10px 28px rgba(10,35,66,.06)!important}
.student-dashboard-page .continue-panel p,
.student-dashboard-page .streak-panel p,
.student-dashboard-page .notification-list p,
.student-dashboard-page .activity-list,
.student-dashboard-page .opportunity-list p{font-size:.78rem;font-weight:400;line-height:1.6}
.student-dashboard-page .skill-list small,
.student-dashboard-page .saved-grid article,
.student-dashboard-page .notification-list p{background:#f5f8fb}
.student-dashboard-page .opportunity-list article{background:#f5f8fb}
.student-dashboard-page .opportunity-list span{color:#1f5d99;font-size:.68rem;font-weight:600}
.student-dashboard-page .saved-grid b{font-size:.82rem;font-weight:500;line-height:1.55}
.student-dashboard-page .badge-grid span{border-color:#d6e4f1;background:#eaf3ff;color:#123f70;font-size:.68rem;font-weight:600}
.student-dashboard-page .deadline-list b{color:#1f5d99;font-weight:600}
.student-dashboard-page .dashboard-top-actions a:first-child{border-color:#d7e2ec;background:#fff;color:#172033;box-shadow:none}
.student-dashboard-page .dashboard-top-actions a:first-child:hover{border-color:#1f5d99;background:#f1f6fb;color:#123f70}
.student-dashboard-page .dashboard-search-panel input:focus,
.student-dashboard-page .dashboard-profile-panel input:focus{border-color:#1f5d99;box-shadow:0 0 0 3px rgba(31,93,153,.12)}

@media(max-width:720px){
.community-page .community-hero h1{font-size:1.9rem}
.student-dashboard-page .dashboard-topbar h1{font-size:1.65rem!important}
.student-dashboard-page .dashboard-welcome h2{font-size:1.55rem}
.student-dashboard-page .quick-actions a{min-height:108px}
}

/* A.E CONNECT restrained motion system */
:root{
--ae-motion-fast:180ms;
--ae-motion-base:240ms;
--ae-motion-slow:320ms;
--ae-motion-ease:cubic-bezier(.22,1,.36,1);
--ae-motion-standard:cubic-bezier(.4,0,.2,1);
}
html{scroll-behavior:smooth;scroll-padding-top:76px}
body.ae-page-enter{animation:aePageEnter var(--ae-motion-base) var(--ae-motion-ease) both}
body.ae-page-leaving{pointer-events:none;animation:aePageLeave var(--ae-motion-fast) var(--ae-motion-standard) both}
@keyframes aePageEnter{from{opacity:0}to{opacity:1}}
@keyframes aePageLeave{from{opacity:1}to{opacity:0}}

.ae-motion-ready .ae-reveal{opacity:0;transform:translate3d(0,16px,0);animation:none!important;transition:opacity var(--ae-motion-slow) var(--ae-motion-ease),transform var(--ae-motion-slow) var(--ae-motion-ease);transition-delay:var(--ae-stagger,0ms);will-change:opacity,transform}
.ae-motion-ready .ae-reveal.ae-in-view{opacity:1;transform:translate3d(0,0,0);will-change:auto}

/* Images reveal independently from their containers for a more cinematic,
   layered entrance without turning the interface into constant motion. */
.ae-motion-ready .ae-motion-image{
opacity:0;
transform:translate3d(0,18px,0) scale(1.045);
filter:saturate(.88) contrast(.97);
transition:
opacity 560ms var(--ae-motion-standard),
transform 760ms var(--ae-motion-ease),
filter 760ms var(--ae-motion-ease);
transition-delay:var(--ae-image-delay,0ms);
will-change:opacity,transform,filter;
backface-visibility:hidden;
}
.ae-motion-ready .ae-motion-image.ae-image-in-view{
opacity:1;
transform:translate3d(0,0,0) scale(1);
filter:saturate(1) contrast(1);
will-change:auto;
}
@media(hover:hover){
:where(figure,.featured-roadmap-card,.program-card,.about-team-card,.story-card,.marketplace-visual){overflow:hidden}
:where(figure,.featured-roadmap-card,.program-card,.about-team-card,.story-card,.marketplace-visual):hover > img.ae-motion-image,
:where(.featured-roadmap-card,.program-card,.about-team-card,.story-card):hover img.ae-motion-image{
transform:scale(1.035) translate3d(0,-2px,0);
filter:saturate(1.04) contrast(1.015);
}
.ae-card-visual.ae-motion-image.ae-image-in-view:hover{transform:scale(1.025)}
}

:where(button,.btn,[class*="-button"],input[type="button"],input[type="submit"],input[type="reset"]){transition:transform var(--ae-motion-fast) var(--ae-motion-ease),box-shadow var(--ae-motion-base) var(--ae-motion-ease),background-color var(--ae-motion-fast) var(--ae-motion-standard),border-color var(--ae-motion-fast) var(--ae-motion-standard),color var(--ae-motion-fast) var(--ae-motion-standard)}
@media(hover:hover){:where(button,.btn,[class*="-button"],input[type="button"],input[type="submit"],input[type="reset"]):not(:disabled):hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(10,35,66,.12)}:where(button,.btn,[class*="-button"]):not(:disabled):active{transform:translateY(0);transition-duration:var(--ae-motion-fast)}}

:where(.program-card,.roadmap-card,.skill-card,.opportunity-card,.scholarship-card,.resource-card,.story-card,.enterprise-card,.academic-community-card,.discussion-card,.community-post-card,.about-card,.book-card,.journey-card,.dashboard-panel,.admin-section,.quick-actions>a){transition:transform var(--ae-motion-base) var(--ae-motion-ease),box-shadow var(--ae-motion-base) var(--ae-motion-ease),border-color var(--ae-motion-fast) var(--ae-motion-standard)}
@media(hover:hover){:where(.program-card,.roadmap-card,.skill-card,.opportunity-card,.scholarship-card,.resource-card,.story-card,.enterprise-card,.academic-community-card,.discussion-card,.community-post-card,.about-card,.book-card,.journey-card,.dashboard-panel,.admin-section,.quick-actions>a):hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(10,35,66,.1)}}
@media(hover:hover){.ae-motion-ready :where(.program-card,.roadmap-card,.skill-card,.opportunity-card,.scholarship-card,.resource-card,.story-card,.enterprise-card,.academic-community-card,.discussion-card,.community-post-card,.about-card,.book-card,.journey-card,.dashboard-panel,.admin-section,.quick-actions>a).ae-reveal.ae-in-view:hover{transform:translateY(-4px)}}

:where(.home-nav-links,.nav-links,.about-bottom-nav,.dashboard-sidebar nav,.admin-sidebar nav) a{position:relative;transition:color var(--ae-motion-fast) var(--ae-motion-standard),background-color var(--ae-motion-fast) var(--ae-motion-standard),transform var(--ae-motion-fast) var(--ae-motion-ease)}
:where(.home-nav-links,.nav-links,.about-bottom-nav) a:not(.nav-cta)::after{content:"";position:absolute;left:50%;right:50%;bottom:-5px;height:1.5px;border-radius:999px;background:currentColor;opacity:.8;transition:left var(--ae-motion-base) var(--ae-motion-ease),right var(--ae-motion-base) var(--ae-motion-ease)}
@media(hover:hover){:where(.home-nav-links,.nav-links,.about-bottom-nav) a:not(.nav-cta):hover::after,:where(.home-nav-links,.nav-links,.about-bottom-nav) a.active:not(.nav-cta)::after{left:0;right:0}}

:where(.community-modal,.group-chat-modal,.story-modal,.about-photo-modal,.photo-modal,.dashboard-profile-modal):not([hidden]),.seller-modal.active{animation:aeModalBackdrop var(--ae-motion-base) var(--ae-motion-standard) both}
:where(.community-modal,.group-chat-modal,.story-modal,.about-photo-modal,.photo-modal,.dashboard-profile-modal):not([hidden]) :where(.community-modal-panel,.group-chat-panel,.story-modal-panel,.about-photo-stage,.dashboard-profile-panel),.seller-modal.active .seller-modal-panel{animation:aeModalPanel var(--ae-motion-slow) var(--ae-motion-ease) both;transform-origin:center}
@keyframes aeModalBackdrop{from{opacity:0}to{opacity:1}}
@keyframes aeModalPanel{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

:where(.dropdown-menu,.dropdown-content,[role="menu"],.dashboard-search-panel,.admin-user-menu){transform-origin:top;transition:opacity var(--ae-motion-fast) var(--ae-motion-standard),transform var(--ae-motion-base) var(--ae-motion-ease),visibility var(--ae-motion-fast)}
:where([aria-expanded="false"] + .dropdown-menu,[aria-expanded="false"] + .dropdown-content,[aria-expanded="false"] + [role="menu"]){opacity:0;transform:translateY(-6px) scaleY(.98);visibility:hidden}
:where([aria-expanded="true"] + .dropdown-menu,[aria-expanded="true"] + .dropdown-content,[aria-expanded="true"] + [role="menu"]){opacity:1;transform:translateY(0) scaleY(1);visibility:visible}

@media(max-width:768px){
.ae-mobile-nav-ready .ae-mobile-nav-links{display:flex!important;opacity:0;visibility:hidden;transform:translate3d(18px,0,0);transition:opacity var(--ae-motion-base) var(--ae-motion-standard),transform var(--ae-motion-slow) var(--ae-motion-ease),visibility var(--ae-motion-base)}
.ae-mobile-nav-ready .ae-mobile-nav-links.is-open{opacity:1;visibility:visible;transform:translate3d(0,0,0)}
.ae-mobile-nav-overlay{opacity:0;transition:opacity var(--ae-motion-base) var(--ae-motion-standard)}
.ae-mobile-nav-overlay.ae-mobile-nav-active{opacity:1}
}

:where(.skeleton,.skeleton-loader,.loading-placeholder,[data-skeleton]){position:relative;overflow:hidden;background:#e9eef3!important;color:transparent!important}
:where(.skeleton,.skeleton-loader,.loading-placeholder,[data-skeleton])::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:aeShimmer 1.4s ease-in-out infinite}
@keyframes aeShimmer{to{transform:translateX(100%)}}

.ae-message-enter{animation:aeMessageEnter var(--ae-motion-base) var(--ae-motion-ease) both}
.message-own.ae-message-enter,.chat-bubble.own.ae-message-enter{transform-origin:right bottom}
@keyframes aeMessageEnter{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

.ae-notification-enter{animation:aeNoticeIn var(--ae-motion-slow) var(--ae-motion-ease) both}
.ae-notification-leave{animation:aeNoticeOut var(--ae-motion-fast) var(--ae-motion-standard) both!important}
@keyframes aeNoticeIn{from{opacity:0;transform:translate3d(18px,-12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes aeNoticeOut{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(12px,-8px,0)}}

:where(input,select,textarea){transition:border-color var(--ae-motion-fast) var(--ae-motion-standard),box-shadow var(--ae-motion-fast) var(--ae-motion-standard),background-color var(--ae-motion-fast) var(--ae-motion-standard)}
:where(input,select,textarea):user-invalid{border-color:#c94c4c!important;box-shadow:0 0 0 3px rgba(201,76,76,.1)!important}
:where(.auth-message,.form-message,.builder-feedback,[role="alert"]){transition:opacity var(--ae-motion-fast) var(--ae-motion-standard),transform var(--ae-motion-base) var(--ae-motion-ease),max-height var(--ae-motion-slow) var(--ae-motion-ease);animation:aeValidationIn var(--ae-motion-base) var(--ae-motion-ease) both}
@keyframes aeValidationIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

details>summary{cursor:pointer}details>*:not(summary){transform-origin:top;animation:aeAccordionOpen var(--ae-motion-base) var(--ae-motion-ease) both}
@keyframes aeAccordionOpen{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}

@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto!important}
*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important;transition-delay:0ms!important}
.ae-motion-ready .ae-reveal{opacity:1!important;transform:none!important}
.ae-motion-ready .ae-motion-image{opacity:1!important;transform:none!important;filter:none!important}
}

/* Collision-safe desktop navigation */
@media(min-width:769px){
.home-footer-nav{
display:grid;
grid-template-columns:max-content minmax(0,1fr);
gap:clamp(12px,1.3vw,22px);
width:100%;
min-height:58px;
padding:0 clamp(14px,1.6vw,24px);
overflow:visible;
}
.home-footer-nav .mini-brand{gap:8px;font-size:.72rem;line-height:1}
.home-footer-nav .mini-brand img{width:64px;height:29px;border-radius:6px}
.home-footer-nav .home-nav-links{
display:flex;
justify-content:flex-end;
min-width:0;
margin:0;
padding:0;
gap:clamp(6px,.66vw,10px);
}
.home-footer-nav .home-nav-links li{flex:0 0 auto}
.home-footer-nav .home-nav-links a{font-size:clamp(.61rem,.66vw,.7rem);font-weight:500;letter-spacing:-.01em}
.home-footer-nav .home-nav-links .nav-cta{min-height:36px;padding:0 14px}

/* Keep the signed-in Student Dashboard item on the same desktop row. */
.navbar{
display:grid;
grid-template-columns:max-content minmax(0,1fr);
align-items:center;
gap:clamp(10px,1vw,16px);
width:100%;
padding-left:clamp(12px,1.2vw,18px);
padding-right:clamp(12px,1.2vw,18px);
}
.navbar .nav-links{
display:flex;
flex-wrap:nowrap !important;
justify-content:flex-end;
gap:clamp(5px,.55vw,8px);
min-width:0;
margin:0;
padding:0;
}
.navbar .nav-links li{flex:0 0 auto}
.navbar .nav-links a{font-size:clamp(.6rem,.66vw,.7rem);letter-spacing:-.015em}
}

@media(min-width:769px) and (max-width:1280px){
.home-footer-nav{grid-template-columns:70px minmax(0,1fr);gap:8px;padding-left:12px;padding-right:12px}
.home-footer-nav .mini-brand span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.home-footer-nav .home-nav-links{gap:6px}
.home-footer-nav .home-nav-links a{font-size:.61rem}
}

/* Purposeful student photography on the home experience */
.ecosystem-student-photo{position:relative;margin:0;overflow:hidden;border:1px solid rgba(255,255,255,.38);border-radius:20px;background:#dce7f0;box-shadow:0 20px 48px rgba(10,35,66,.12)}
.ecosystem-student-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 320ms var(--ae-motion-ease),filter 240ms var(--ae-motion-standard)}
.ecosystem-student-photo::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(180deg,transparent,rgba(7,31,59,.78));pointer-events:none}
.ecosystem-student-photo figcaption{position:absolute;left:20px;right:20px;bottom:18px;z-index:1;color:#fff;font-size:.78rem;font-weight:500;line-height:1.5;text-shadow:0 2px 12px rgba(0,0,0,.3)}
.ecosystem-student-photo figcaption strong,.ecosystem-student-photo figcaption span{display:block}.ecosystem-student-photo figcaption strong{margin-bottom:3px;font-family:Georgia,'Times New Roman',serif;font-size:1.18rem}.ecosystem-student-photo figcaption span{color:rgba(255,255,255,.84)}
@media(hover:hover){.ecosystem-student-photo:hover img{transform:scale(1.025);filter:saturate(1.04)}}

.student-gap-photo{height:250px;margin-top:28px}.student-gap-photo img{object-position:center 42%}
.community-student-photo{height:clamp(270px,32vw,390px);max-width:1120px;margin:36px auto 44px}.community-student-photo img{object-position:center 48%}
.founder-story-panel:has(.founder-student-photo){grid-template-columns:minmax(220px,.66fr) minmax(300px,.9fr) minmax(300px,1fr);gap:clamp(28px,4vw,54px);align-items:stretch}
.founder-student-photo{min-height:330px}.founder-student-photo img{object-position:center 40%}

.ecosystem-home .ecosystem-hero{
background:
linear-gradient(180deg,rgba(5,27,51,.58),rgba(5,27,51,.84)),
linear-gradient(90deg,rgba(10,35,66,.28),rgba(10,35,66,.08)),
url("https://images.unsplash.com/photo-1744320911030-1ab998d994d7?auto=format&fit=crop&w=2000&q=84") center 40%/cover no-repeat;
}

@media(max-width:1050px){.founder-story-panel:has(.founder-student-photo){grid-template-columns:1fr 1fr}.founder-student-photo{grid-column:1/-1;height:360px;min-height:0}}
@media(max-width:720px){.student-gap-photo{height:220px}.community-student-photo{height:280px;margin:28px auto 34px;border-radius:16px}.founder-story-panel:has(.founder-student-photo){grid-template-columns:1fr}.founder-student-photo{grid-column:auto;height:280px}.ecosystem-student-photo figcaption{left:15px;right:15px;bottom:14px}.ecosystem-home .ecosystem-hero{background-position:center 38%}}

/* Premium learning cards across Beyond the Lecture Room roadmaps */
.ae-premium-roadmap .programs>.about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,30px);align-items:stretch}
.ae-premium-roadmap .ae-learning-skill-card{
display:flex!important;
flex-direction:column;
min-width:0;
min-height:430px;
padding:0!important;
overflow:hidden;
border:1px solid #dbe4ec!important;
border-top:1px solid #dbe4ec!important;
border-radius:19px!important;
background:#fff!important;
box-shadow:0 9px 28px rgba(10,35,66,.07)!important;
color:#172033;
text-align:left;
text-decoration:none;
isolation:isolate;
transition:transform 240ms var(--ae-motion-ease),box-shadow 240ms var(--ae-motion-ease),border-color 180ms var(--ae-motion-standard)!important;
}
.ae-premium-roadmap .ae-learning-skill-card>.ae-card-visual{
width:100%;
height:auto;
aspect-ratio:16/9;
margin:0;
border-radius:0;
background-position:center;
transition:transform 320ms var(--ae-motion-ease),filter 240ms var(--ae-motion-standard);
}
.ae-premium-roadmap .ae-learning-skill-card>.ae-card-visual::after{display:none}
.ae-premium-roadmap .ae-learning-skill-card .ae-card-visual-caption{display:none}
.ae-premium-roadmap .ae-curated-skill-visual{overflow:hidden;background-color:#dce8f2;background-position:center;background-size:cover}
.ae-premium-roadmap .ae-curated-skill-visual.visual-illustration{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:end;align-items:center;gap:13px;padding:22px;background:
radial-gradient(circle at 78% 22%,rgba(255,255,255,.2) 0 9%,transparent 10%),
linear-gradient(135deg,#0a2342,#1f5d99)}
.ae-premium-roadmap .ae-curated-skill-visual.visual-map{background:
linear-gradient(45deg,transparent 48%,rgba(255,255,255,.08) 49% 51%,transparent 52%) 0 0/34px 34px,
linear-gradient(-45deg,transparent 48%,rgba(255,255,255,.06) 49% 51%,transparent 52%) 0 0/34px 34px,
linear-gradient(135deg,#0b334f,#287e86)}
.ae-premium-roadmap .ae-curated-skill-visual.visual-spreadsheet{background:
linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px) 0 0/100% 24px,
linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px) 0 0/72px 100%,
linear-gradient(135deg,#114b3a,#258567)}
.ae-premium-roadmap .ae-curated-skill-visual.visual-data{background:
radial-gradient(circle at 75% 35%,rgba(85,200,255,.24),transparent 24%),
linear-gradient(135deg,#111d3d,#315899)}
.ae-premium-roadmap .ae-curated-skill-visual.visual-neutral{background:
linear-gradient(45deg,rgba(255,255,255,.045) 25%,transparent 25% 75%,rgba(255,255,255,.045) 75%) 0 0/30px 30px,
linear-gradient(135deg,#183653,#52718c)}
.ae-premium-roadmap .ae-curated-skill-visual>b{display:grid;place-items:center;width:52px;height:52px;border:1px solid rgba(255,255,255,.28);border-radius:14px;background:rgba(255,255,255,.13);color:#fff;font-size:.85rem;font-weight:700;letter-spacing:.02em;backdrop-filter:blur(7px)}
.ae-premium-roadmap .ae-curated-skill-visual>small{overflow:hidden;color:#fff;font-size:.82rem;font-weight:600;line-height:1.35;letter-spacing:.015em;text-overflow:ellipsis;text-shadow:0 2px 12px rgba(4,20,38,.35);text-transform:none;white-space:nowrap}
.ae-skill-card-content{display:flex;flex:1;flex-direction:column;padding:24px}
.ae-premium-roadmap .ae-learning-skill-card h3{margin:0 0 10px;color:#102a4c;font-size:1.05rem;font-weight:600;letter-spacing:-.015em;line-height:1.35;text-transform:none}
.ae-premium-roadmap .ae-learning-skill-card p{display:-webkit-box;min-height:45px;margin:0 0 19px;overflow:hidden;color:#647386;font-size:.82rem;font-weight:400;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ae-skill-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;margin-bottom:18px}
.ae-skill-level,.ae-skill-duration{display:inline-flex;align-items:center;min-height:28px;font-size:.68rem;font-weight:600;line-height:1}
.ae-skill-level{padding:0 10px;border:1px solid #d8e5f1;border-radius:999px;background:#eef5fb;color:#1f5d99}
.ae-skill-level.level-intermediate{border-color:#d9e2ea;background:#f3f6f9;color:#415a73}
.ae-skill-level.level-advanced{border-color:#d8dbe8;background:#f0f1f7;color:#343958}
.ae-skill-duration{color:#718094}.ae-skill-duration::before{content:"◷";margin-right:5px;color:#1f5d99;font-size:.8rem}
.ae-skill-start{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 15px;border-radius:10px;background:#123f70;color:#fff;font-size:.78rem;font-weight:600;box-shadow:0 8px 18px rgba(18,63,112,.14);transform:translateY(2px);transition:transform 220ms var(--ae-motion-ease),background-color 180ms var(--ae-motion-standard),box-shadow 220ms var(--ae-motion-ease)}
.ae-skill-start b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:rgba(255,255,255,.13);font-size:.9rem;transition:transform 220ms var(--ae-motion-ease)}
@media(hover:hover){
.ae-motion-ready .ae-premium-roadmap .ae-learning-skill-card.ae-reveal.ae-in-view:hover,.ae-premium-roadmap .ae-learning-skill-card:hover{transform:translateY(-6px)!important;border-color:#b8cadb!important;box-shadow:0 20px 46px rgba(10,35,66,.13)!important}
.ae-premium-roadmap .ae-learning-skill-card:hover>.ae-card-visual{transform:scale(1.035);filter:saturate(1.06) contrast(1.02)}
.ae-premium-roadmap .ae-learning-skill-card:hover .ae-skill-start{transform:translateY(0);background:#1f5d99;box-shadow:0 11px 24px rgba(31,93,153,.2)}
.ae-premium-roadmap .ae-learning-skill-card:hover .ae-skill-start b{transform:translateX(2px)}
}
@media(max-width:980px){.ae-premium-roadmap .programs>.about-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ae-premium-roadmap .programs>.about-grid{grid-template-columns:1fr}.ae-premium-roadmap .ae-learning-skill-card{min-height:400px}.ae-skill-card-content{padding:21px}}

/* Platform-wide WCAG typography and contrast audit */
:root{
--ae-readable-heading:#0a2342;
--ae-readable-body:#405064;
--ae-readable-muted:#5f6f82;
--ae-readable-on-dark:#d6dce5;
--ae-readable-white:#ffffff;
}
body{color:var(--ae-readable-body);font-synthesis:none;text-rendering:optimizeLegibility}
:where(h1,h2,h3,h4,h5,h6){color:var(--ae-readable-heading);letter-spacing:-.018em;text-wrap:balance}
:where(p,li,dd,blockquote){color:var(--ae-readable-body);line-height:1.72;letter-spacing:0}
:where(small,.helper-text,.form-helper,.meta,.eyebrow){line-height:1.5}
:where(input,textarea,select)::placeholder{color:#718096;opacity:1}

/* Light surfaces */
:where(.about-section,.works-section,.why-connect-section,.featured-roadmaps-section,.student-gap-section,.community-join-section,.student-success-section,.founder-story-section,.resource-live-section,.featured-events-section,.event-tools-section,.events-list-section,.featured-opportunities-section,.opportunity-tools-section,.opportunity-list-section,.case-studies-section,.story-video-section,.auth-card,.dashboard-panel,.admin-section,.roadmap-builder,.freedom-pathway-body) :where(h1,h2,h3,h4,h5,h6){color:var(--ae-readable-heading)}
:where(.about-section,.works-section,.why-connect-section,.featured-roadmaps-section,.student-gap-section,.community-join-section,.student-success-section,.founder-story-section,.resource-live-section,.featured-events-section,.event-tools-section,.events-list-section,.featured-opportunities-section,.opportunity-tools-section,.opportunity-list-section,.case-studies-section,.story-video-section,.auth-card,.dashboard-panel,.admin-section,.roadmap-builder,.freedom-pathway-body) :where(p,li,dd){color:var(--ae-readable-body);line-height:1.72}

/* Dark and image-backed surfaces */
:where(.hero,.ecosystem-hero,.community-hero,.events-hero,.opportunities-hero,.resources-hero,.success-stories-hero,.student-roadmap-hero,.dashboard-welcome,.dashboard-sidebar,.admin-sidebar,.auth-brand-panel,.roadmap-return-band,.home-footer,.ecosystem-footer,.call-interface,.group-chat-header,.freedom-pathway-header,.freedom-detail-hero) :where(h1,h2,h3,h4,h5,h6,strong){color:var(--ae-readable-white)!important}
:where(.hero,.ecosystem-hero,.community-hero,.events-hero,.opportunities-hero,.resources-hero,.success-stories-hero,.student-roadmap-hero,.dashboard-welcome,.dashboard-sidebar,.admin-sidebar,.auth-brand-panel,.roadmap-return-band,.home-footer,.ecosystem-footer,.call-interface,.group-chat-header,.freedom-pathway-header,.freedom-detail-hero) :where(p,li,small,span:not(.ecosystem-kicker):not(.opportunity-pill)){color:var(--ae-readable-on-dark)!important;line-height:1.68}
:where(.hero,.ecosystem-hero,.community-hero,.events-hero,.opportunities-hero,.resources-hero,.success-stories-hero,.student-roadmap-hero,.auth-brand-panel) :where(.eyebrow,.ecosystem-kicker,.opportunity-pill,.section-eyebrow){color:#f2b632!important}

/* Legacy programme and Beyond the Lecture Room headers use a dark blue canvas. */
.programs:not(.freedom-home)>:where(h1,h2,h3){color:#fff!important;text-shadow:0 1px 1px rgba(4,20,38,.12)}
.programs:not(.freedom-home)>:where(p,.about-intro,.books-intro){color:#d6dce5!important;line-height:1.78;font-weight:400!important}
.beyond-page>.programs:first-of-type :where(h1,h2){color:#fff!important}
.beyond-page>.programs:first-of-type :where(p,.about-intro){color:#d6dce5!important}

/* White cards nested inside dark sections must return to dark readable text. */
:where(.program-card,.roadmap-card,.skill-card,.opportunity-card,.scholarship-card,.resource-card,.story-card,.enterprise-card,.academic-community-card,.discussion-card,.community-post-card,.about-card,.book-card,.journey-card,.dashboard-panel,.admin-section,.auth-card,.freedom-programme-card,.freedom-detail-section,.skill-cluster-card,.level-row) :where(h1,h2,h3,h4,h5,h6,strong,b){color:var(--ae-readable-heading)!important;text-shadow:none}
:where(.program-card,.roadmap-card,.skill-card,.opportunity-card,.scholarship-card,.resource-card,.story-card,.enterprise-card,.academic-community-card,.discussion-card,.community-post-card,.about-card,.book-card,.journey-card,.dashboard-panel,.admin-section,.auth-card,.freedom-programme-card,.freedom-detail-section,.skill-cluster-card,.level-row) :where(p,li,dd){color:var(--ae-readable-body)!important;line-height:1.68}
:where(.program-card,.roadmap-card,.skill-card,.opportunity-card,.scholarship-card,.resource-card,.story-card,.enterprise-card,.academic-community-card,.discussion-card,.community-post-card,.about-card,.book-card,.journey-card,.dashboard-panel,.admin-section,.auth-card,.freedom-programme-card,.freedom-detail-section,.skill-cluster-card,.level-row) :where(small,.meta){color:var(--ae-readable-muted)!important}

/* Ensure text over photography always has a reliable contrast layer. */
:where(.hero,.ecosystem-hero,.community-hero,.events-hero,.opportunities-hero,.resources-hero,.success-stories-hero,.student-roadmap-hero){position:relative;isolation:isolate}
:where(.hero,.ecosystem-hero,.community-hero,.events-hero,.opportunities-hero,.resources-hero,.success-stories-hero,.student-roadmap-hero)::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(5,24,45,.18),rgba(5,24,45,.38));pointer-events:none}
:where(.hero,.ecosystem-hero,.community-hero,.events-hero,.opportunities-hero,.resources-hero,.success-stories-hero,.student-roadmap-hero)>*{position:relative;z-index:1}

/* Forms, feedback and tabular interfaces */
:where(.auth-form,.admin-form,.builder-form,.community-modal-panel form) label{color:#34465b!important;font-weight:500!important}
:where(.auth-form,.admin-form,.builder-form,.community-modal-panel form) :where(input,select,textarea){color:#172033!important;background:#fff!important;border-color:#b8c5d2!important}
:where(.auth-message,.form-message,.builder-feedback,[role="alert"]){color:#34465b;line-height:1.6}
:where(.admin-table,.data-table,table){color:#34465b}
:where(.admin-table,.data-table,table) :where(th,caption){color:#0a2342;font-weight:600}
:where(.admin-table,.data-table,table) td{color:#405064;line-height:1.55}

/* Footer links and secondary copy */
:where(.home-footer,.ecosystem-footer,footer) a{color:#e5eaf0}
:where(.home-footer,.ecosystem-footer,footer) a:hover{color:#fff}
:where(.home-footer,.ecosystem-footer,footer) :where(p,small){color:#cbd3dd!important}

@media(max-width:720px){
:where(p,li,dd,blockquote){line-height:1.68}
:where(h1){letter-spacing:-.025em}
.programs:not(.freedom-home)>:where(p,.about-intro,.books-intro){line-height:1.72}
}

/* Premium Pick Your Own Course experience */
.pick-course-page{background:#f4f7fa;color:#102a4c}
.pick-course-page .pick-course-main{padding:0;background:#f4f7fa;text-align:left}
.pick-course-hero{position:relative;isolation:isolate;min-height:clamp(520px,70vw,720px);overflow:hidden;background:#0a2342}
.pick-course-hero>img{position:absolute;inset:-3%;z-index:0;width:106%;height:106%;object-fit:cover;object-position:center;animation:pickHeroDrift 12s ease-in-out infinite alternate}
.pick-course-hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(5,26,49,.86),rgba(5,26,49,.34) 60%,rgba(5,26,49,.18)),linear-gradient(180deg,rgba(5,26,49,.1),rgba(5,26,49,.54))}
.pick-course-hero-card{position:absolute;left:clamp(24px,7vw,100px);top:50%;z-index:2;width:min(600px,calc(100% - 48px));padding:clamp(27px,4vw,46px);border:1px solid rgba(255,255,255,.24);border-radius:22px;background:rgba(8,32,58,.56);color:#fff;box-shadow:0 24px 70px rgba(4,20,38,.3);transform:translateY(-50%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.pick-course-hero-card>p{margin:0 0 11px;color:#f2b632!important;font-size:.73rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.pick-course-page .pick-course-hero-card h1{margin:0 0 17px;padding:0;background:none;color:#fff!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.5rem,5vw,4.7rem);font-weight:700;letter-spacing:-.045em;line-height:.98;text-shadow:0 4px 22px rgba(0,0,0,.25);text-transform:none}
.pick-course-hero-card>span{display:block;max-width:510px;color:#dbe4ec;font-size:clamp(.92rem,1.4vw,1.06rem);font-weight:400;line-height:1.7}
.pick-course-hero-card>a{display:inline-flex;align-items:center;gap:24px;min-height:48px;margin-top:26px;padding:0 17px;border-radius:10px;background:#fff;color:#123f70;font-size:.8rem;font-weight:600;text-decoration:none;transition:transform 220ms var(--ae-motion-ease),box-shadow 220ms var(--ae-motion-ease)}
.pick-course-hero-card>a:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.2)}
@keyframes pickHeroDrift{from{transform:scale(1)}to{transform:scale(1.035) translate3d(-.4%,.3%,0)}}

.pick-course-intro-panel{max-width:920px;margin:0 auto;padding:clamp(78px,9vw,118px) 24px 70px;border:0;background:transparent;box-shadow:none;text-align:center}
.pick-course-eyebrow{margin:0 0 12px!important;color:#b47800!important;font-size:.7rem!important;font-weight:700!important;letter-spacing:.13em;text-transform:uppercase}
.pick-course-intro-panel h2,.pick-course-section-head h2{margin:0;color:#0a2342;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,3.5vw,3rem);font-weight:700;letter-spacing:-.035em;line-height:1.12;text-transform:none}
.pick-course-intro-panel h3{max-width:700px;margin:20px auto 14px;color:#344b63;font-size:.8rem;font-weight:600;letter-spacing:.02em;line-height:1.55;text-transform:uppercase}
.pick-course-intro-panel p:last-child{max-width:780px;margin:0 auto;color:#526477;font-size:.95rem;font-weight:400;line-height:1.8}

.pick-course-explorer{padding:clamp(70px,8vw,110px) clamp(20px,7vw,96px);background:linear-gradient(180deg,#edf4fa,#f7fafc);scroll-margin-top:70px}
.pick-course-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;max-width:1180px;margin:0 auto 30px}.pick-course-section-head>div{max-width:620px}.pick-course-section-head>p{max-width:390px;margin:0;color:#586a7d;font-size:.86rem;line-height:1.65}
.pick-course-search{display:flex;align-items:center;max-width:760px;margin:0 auto;border:1px solid #cbd8e4;border-radius:15px;background:#fff;box-shadow:0 10px 30px rgba(10,35,66,.07);transition:border-color 180ms ease,box-shadow 220ms ease}
.pick-course-search:focus-within{border-color:#1f5d99;box-shadow:0 0 0 4px rgba(31,93,153,.11),0 12px 32px rgba(10,35,66,.08)}
.pick-course-search>span{padding-left:18px;color:#60768a;font-size:1.45rem}.pick-course-search input{width:100%;min-height:56px;padding:0 18px;border:0;outline:0;background:transparent;color:#172033;font:400 .95rem/1.4 inherit}
.pick-course-results{max-width:1180px;margin:18px auto 14px;color:#65778a;font-size:.72rem;font-weight:500;text-align:right}
.pick-course-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1180px;margin:0 auto;gap:24px}
.pick-course-grid[hidden],.pick-course-card[hidden],.pick-course-empty[hidden]{display:none!important}
.pick-course-page .pick-course-card{display:flex;flex-direction:column;min-width:0;min-height:450px;padding:0!important;overflow:hidden;border:1px solid #d7e2eb!important;border-top:1px solid #d7e2eb!important;border-radius:19px!important;background:#fff!important;color:#102a4c;box-shadow:0 9px 28px rgba(10,35,66,.07)!important;text-align:left;text-decoration:none;transition:transform 240ms var(--ae-motion-ease),box-shadow 240ms var(--ae-motion-ease),border-color 180ms ease!important}
.pick-course-card-image{position:relative;height:210px;overflow:hidden;background:#dce7ef}.pick-course-card-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform 320ms var(--ae-motion-ease),filter 240ms ease}.pick-course-card-image::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(5,26,49,.35))}.pick-course-card-image>span{position:absolute;left:17px;bottom:16px;z-index:1;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.38);border-radius:12px;background:rgba(5,26,49,.74);color:#fff;font-size:.72rem;font-weight:700;backdrop-filter:blur(8px)}
.pick-course-card-content{flex:1;padding:22px 22px 15px}.pick-course-page .pick-course-card h3{margin:0 0 9px;color:#102a4c!important;font-size:1.08rem;font-weight:600;letter-spacing:-.015em;line-height:1.35;text-transform:none}.pick-course-page .pick-course-card p{display:-webkit-box;margin:0;overflow:hidden;color:#586a7d!important;font-size:.83rem;font-weight:400;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.pick-course-card-action{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:48px;margin:0 22px 22px;padding:0 14px;overflow:hidden;border-radius:10px;background:#123f70;color:#fff;font-size:.76rem;font-weight:600;transition:background-color 180ms ease,transform 220ms var(--ae-motion-ease),box-shadow 220ms var(--ae-motion-ease)}.pick-course-card-action b{font-size:.95rem;transition:transform 220ms var(--ae-motion-ease)}
.pick-course-ripple{position:absolute;width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.34);transform:translate(-50%,-50%) scale(0);animation:pickRipple 350ms ease-out forwards;pointer-events:none}@keyframes pickRipple{to{opacity:0;transform:translate(-50%,-50%) scale(14)}}
.pick-card-filtered-in{animation:pickCardIn 280ms var(--ae-motion-ease) both;animation-delay:calc(var(--pick-order,0) * 35ms)}@keyframes pickCardIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover){.pick-course-page .pick-course-card:hover{transform:translateY(-6px)!important;border-color:#b4c9da!important;box-shadow:0 21px 48px rgba(10,35,66,.13)!important}.pick-course-card:hover .pick-course-card-image img{transform:scale(1.045);filter:saturate(1.05)}.pick-course-card:hover .pick-course-card-action{background:#1f5d99;transform:translateY(-1px);box-shadow:0 10px 22px rgba(31,93,153,.18)}.pick-course-card:hover .pick-course-card-action b{transform:translateX(3px)}}
.pick-course-empty{max-width:650px;margin:50px auto 0;padding:45px;border:1px solid #d7e2eb;border-radius:18px;background:#fff;text-align:center}.pick-course-empty>span{font-size:2.4rem;color:#8293a5}.pick-course-empty h3{margin:11px 0 7px;color:#102a4c;font-size:1.1rem}.pick-course-empty p{margin:0 0 20px;color:#65778a;font-size:.84rem}.pick-course-empty button{min-height:42px;padding:0 16px;border:0;border-radius:9px;background:#123f70;color:#fff;font-weight:600;cursor:pointer}

@media(max-width:940px){.pick-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pick-course-section-head{align-items:start;flex-direction:column}.pick-course-section-head>p{max-width:620px}}
@media(max-width:620px){.pick-course-hero{min-height:570px}.pick-course-hero>img{object-position:58% center}.pick-course-hero-card{left:16px;top:auto;bottom:24px;width:calc(100% - 32px);padding:25px;transform:none}.pick-course-page .pick-course-hero-card h1{font-size:2.45rem}.pick-course-intro-panel{padding:68px 18px 54px}.pick-course-explorer{padding:64px 16px}.pick-course-grid{grid-template-columns:1fr}.pick-course-results{text-align:left}.pick-course-page .pick-course-card{min-height:420px}.pick-course-card-image{height:195px}}

/* High School to Freedom course-card library */
.freedom-card-image{position:relative;height:178px;margin:-24px -24px 22px;overflow:hidden;border-radius:19px 19px 0 0;background:#dce8f2}
.freedom-card-image::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(180deg,transparent,rgba(4,26,49,.58))}
.freedom-card-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s ease}
.freedom-card-image span{position:absolute;left:16px;bottom:14px;z-index:1;padding:6px 10px;border-radius:999px;background:rgba(7,31,59,.86);color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.04em}
.freedom-programme-card:hover .freedom-card-image img{transform:scale(1.045)}
.freedom-detail-hero-image{grid-template-columns:210px auto minmax(0,1fr);align-items:center;overflow:hidden}
.freedom-detail-hero-image>img{width:210px;height:170px;border-radius:15px;object-fit:cover;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.freedom-guide-section h3{font-size:clamp(1.15rem,2vw,1.42rem)}
.freedom-guide-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.freedom-guide-list li{position:relative;padding:12px 14px 12px 36px;border-radius:10px;background:#f2f7fb;color:#425a72;line-height:1.5}
.freedom-guide-list li::before{content:"✓";position:absolute;left:14px;color:#168455;font-weight:900}
.freedom-guide-projects{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.freedom-guide-projects li{padding:15px;border-left:4px solid #e7ae2f;border-radius:0 11px 11px 0;background:#fff9e9}
.freedom-guide-projects strong,.freedom-guide-projects span{display:block}.freedom-guide-projects span{margin-top:5px;color:#617286;font-size:.82rem;line-height:1.5}
.freedom-guide-tip{border:1px solid rgba(247,166,26,.34);background:linear-gradient(135deg,#fff9ed,#fff);box-shadow:inset 5px 0 0 #f7a61a}
@media(max-width:760px){.freedom-detail-hero-image{grid-template-columns:1fr}.freedom-detail-hero-image>img{width:100%;height:210px}.freedom-card-image{margin:-20px -20px 20px}}

/* Final event-card contrast override */
.events-page .event-register{min-width:122px;background:#0a2342!important;color:#fff!important;font-size:.78rem!important;font-weight:900!important;letter-spacing:.01em;text-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 8px 20px rgba(10,35,66,.18)}
.events-page .event-register:hover,.events-page .event-register:focus-visible{background:#f2a722!important;color:#0a2342!important;text-shadow:none}
.events-page .event-register{border:0;cursor:pointer}
.events-page .event-register:disabled{cursor:default;opacity:1}
.events-page .event-register.is-registered,.events-page .event-register.is-registered:hover{background:#168455!important;color:#fff!important;text-shadow:none}
.events-page .event-main>small{display:block;margin-top:12px;color:#596579!important;font-weight:600}
.events-page .event-main>footer span{color:#fff!important;font-weight:800!important;opacity:1!important}
.events-page .event-main>footer{background:#071d35!important}

/* High School to Freedom — roadmap library presentation */
.freedom-journey-page{background:#174d7f}
.freedom-journey-page .freedom-pathway{position:relative;inset:auto;z-index:auto;min-height:calc(100vh - 60px);overflow:visible;background:linear-gradient(115deg,#0d3157 0%,#194f80 58%,#225f96 100%)}
.freedom-journey-page .freedom-pathway-header{padding:64px 24px 34px;background:transparent;text-align:center}
.freedom-journey-page .freedom-pathway-header-inner{display:block;max-width:940px}
.freedom-journey-page .freedom-pathway-header .freedom-back-button{display:none}
.freedom-journey-page .freedom-pathway-header h1{margin:0 0 18px;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.02em;text-transform:uppercase}
.freedom-journey-page .freedom-pathway-header .freedom-eyebrow{display:none}
.freedom-journey-page .freedom-pathway-header p:last-child{max-width:760px;margin:0 auto;color:#d8e7f5!important;font-size:.96rem;line-height:1.7}
.freedom-journey-page .freedom-pathway-body{max-width:1120px;padding:24px 24px 96px}
.freedom-journey-page .freedom-progress-card,.freedom-journey-page .freedom-discovery{display:none}
.freedom-journey-page .freedom-programme-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.freedom-journey-page .freedom-programme-card{min-height:410px;padding:0;border:1px solid rgba(255,255,255,.72);border-radius:17px;box-shadow:0 12px 30px rgba(2,20,39,.18)}
.freedom-journey-page .freedom-card-image{height:180px;margin:0 0 0;border-radius:16px 16px 0 0}
.freedom-journey-page .freedom-card-image span,.freedom-journey-page .freedom-card-top{display:none}
.freedom-journey-page .freedom-card-labels{order:2;margin:18px 18px 10px}
.freedom-journey-page .freedom-card-labels span:first-child{display:none}
.freedom-journey-page .freedom-card-labels span{padding:5px 9px;background:#edf4f9;color:#376187;font-size:.66rem}
.freedom-journey-page .freedom-programme-card h3{order:1;margin:20px 18px 0;font-size:1rem;font-weight:800;text-transform:uppercase}
.freedom-journey-page .freedom-programme-card>p{order:1;flex:1;margin:10px 18px 14px;color:#53677c!important;font-size:.8rem;line-height:1.55}
.freedom-journey-page .freedom-card-meta{order:2;justify-content:flex-end;margin:-34px 18px 15px;font-size:.69rem}
.freedom-journey-page .freedom-card-meta strong{display:none}
.freedom-journey-page .freedom-card-progress{display:none}
.freedom-journey-page .freedom-card-actions{order:3;display:block;margin:0 18px 18px}
.freedom-journey-page .freedom-secondary-button{display:none}
.freedom-journey-page .freedom-primary-button{width:100%;min-height:44px;border-radius:8px;background:#174f82;text-align:left}
.freedom-journey-page footer{border-top:1px solid rgba(255,255,255,.14);background:#071d35}
@media(max-width:900px){.freedom-journey-page .freedom-programme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.freedom-journey-page .freedom-pathway-header{padding:48px 20px 24px}.freedom-journey-page .freedom-pathway-body{padding:18px 16px 64px}.freedom-journey-page .freedom-programme-grid{grid-template-columns:1fr}.freedom-journey-page .freedom-programme-card{min-height:390px}}

/* Long-form reading guides inside Freedom pathway courses */
.freedom-journey-page .freedom-learning-detail{background:#164c7c;color:#fff}
.freedom-journey-page .freedom-detail-shell{max-width:1180px;padding:28px 42px 90px}
.freedom-journey-page .freedom-detail-back{position:sticky;top:12px;z-index:3;margin:0 0 24px;border:1px solid rgba(255,255,255,.45);background:#fff;color:#123f70;box-shadow:0 8px 22px rgba(3,21,40,.18)}
.freedom-reading-guide{max-width:1040px;margin:0 auto;color:#e7f0f8}
.freedom-reading-hero{padding:44px 30px 28px;text-align:center}
.freedom-reading-hero p{margin:0 0 12px;color:#f2b632!important;font-size:.72rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.freedom-reading-hero h2{margin:0;color:#fff!important;font-size:clamp(2rem,4vw,3.1rem);font-weight:800;letter-spacing:-.025em;text-transform:uppercase}
.freedom-reading-hero span{display:block;max-width:800px;margin:18px auto 0;color:#d6e5f2;font-size:.94rem;line-height:1.7}
.freedom-reading-guide>section{padding:28px 0;border:0;background:transparent;box-shadow:none}
.freedom-reading-guide>section h3{max-width:620px;margin:0 auto 15px;color:#fff!important;font-size:clamp(1.2rem,2.2vw,1.55rem);font-weight:800;line-height:1.15;text-align:center;text-transform:uppercase}
.freedom-reading-guide>section>p,.freedom-reading-guide>section>ul{margin:0;color:#dce8f3!important;font-size:.9rem;line-height:1.72}
.freedom-reading-guide>section>ul{margin-top:10px;padding-left:20px}
.freedom-reading-guide>section>ul li{margin:4px 0;color:#dce8f3!important}
.freedom-reading-step,.freedom-reading-project{margin:14px 0;padding:0 0 14px;border-bottom:1px solid rgba(255,255,255,.14)}
.freedom-reading-step strong,.freedom-reading-project strong{display:block;color:#fff!important;font-size:.88rem;text-transform:uppercase}
.freedom-reading-step p,.freedom-reading-project p{margin:6px 0 0;color:#dce8f3!important;font-size:.84rem;line-height:1.65}
.freedom-youtube-links{display:grid;gap:13px;margin-top:18px}
.freedom-youtube-links a{display:block;padding:15px 17px;border:1px solid rgba(242,182,50,.42);border-radius:9px;background:rgba(6,31,57,.24);color:#f7cc61;text-decoration:none;transition:.2s ease}
.freedom-youtube-links a:hover{border-color:#f2b632;background:rgba(6,31,57,.48);transform:translateY(-1px)}
.freedom-youtube-links strong,.freedom-youtube-links span{display:block}.freedom-youtube-links strong{color:#fff!important;font-size:.87rem;text-transform:uppercase}.freedom-youtube-links span{margin-top:5px;color:#f7cc61;font-size:.8rem}
.freedom-reading-guide .freedom-reading-tip{margin-top:20px;padding:28px;border:1px solid rgba(242,182,50,.55);border-radius:12px;background:rgba(6,31,57,.3)}
.freedom-reading-guide .freedom-reading-tip p{color:#e8f1f8!important}
.freedom-expanded-lessons>p{text-align:center}
.freedom-expanded-lessons article{margin-top:18px;padding:22px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(6,31,57,.24)}
.freedom-expanded-lessons article>span{display:block;margin-bottom:7px;color:#f2b632;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.freedom-expanded-lessons article h4{margin:0 0 9px;color:#fff!important;font-size:1rem;text-transform:uppercase}
.freedom-expanded-lessons article p{margin:0;color:#dce8f3!important;font-size:.88rem;line-height:1.75}
.freedom-expanded-lessons article>div{margin-top:14px;padding:11px 13px;border-left:3px solid #f2b632;background:rgba(255,255,255,.07);color:#e7f0f8;font-size:.82rem;line-height:1.55}
.freedom-expanded-lessons article>div strong{color:#f4c85d!important;text-transform:uppercase}
.freedom-reading-guide{max-width:980px}
.freedom-article-opening{max-width:900px;margin:0 auto}
.freedom-article-opening>p{margin:0 0 17px!important;font-size:.96rem!important;line-height:1.85!important}
.freedom-article-opening blockquote{margin:24px 0 0;padding:18px 20px;border-left:4px solid #f2b632;background:rgba(6,31,57,.26);color:#eaf2f8;font-size:.91rem;line-height:1.7}
.freedom-article-opening blockquote strong{color:#f4c85d!important}
.freedom-expanded-lessons{max-width:900px;margin:0 auto}
.freedom-expanded-lessons>p{max-width:760px;margin:0 auto 18px!important;font-size:.92rem!important;line-height:1.75!important}
.freedom-expanded-lessons article{margin:0;padding:34px 0;border:0;border-bottom:1px solid rgba(255,255,255,.18);border-radius:0;background:transparent}
.freedom-expanded-lessons article:last-child{border-bottom:0}
.freedom-expanded-lessons article h4{margin-bottom:14px;font-family:Georgia,'Times New Roman',serif;font-size:1.25rem;line-height:1.35;text-transform:none}
.freedom-expanded-lessons article p{margin:0 0 16px;color:#e1ebf4!important;font-size:.96rem;line-height:1.88}
.freedom-expanded-lessons article p:last-child{margin-bottom:0}
.freedom-expanded-lessons article p strong{color:#f4c85d!important;font-weight:700}
.freedom-book-prompt{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding:13px 16px;border-left:3px solid #f2b632;background:rgba(6,31,57,.25);color:#fff;text-decoration:none;transition:.2s ease}
.freedom-book-prompt:hover{background:rgba(6,31,57,.5);transform:translateX(3px)}
.freedom-book-prompt span{flex:0 0 auto;color:#f4c85d;font-size:.72rem;font-weight:800;text-transform:uppercase}
.freedom-book-prompt strong{color:#fff!important;font-size:.78rem;line-height:1.45;text-align:right;text-transform:uppercase}
.freedom-book-prompt-final{margin:26px 0 10px;border:1px solid rgba(242,182,50,.48);border-left:4px solid #f2b632;border-radius:8px}
@media(max-width:620px){.freedom-journey-page .freedom-detail-shell{padding:16px 18px 65px}.freedom-reading-hero{padding:34px 0 18px}.freedom-reading-guide>section{padding:24px 0}.freedom-reading-guide .freedom-reading-tip{padding:22px}}
@media(max-width:620px){.freedom-book-prompt{align-items:flex-start;flex-direction:column;gap:5px}.freedom-book-prompt strong{text-align:left}}

/* Compact materials and book-preview typography */
.materials-page .materials-hero{padding-top:62px;padding-bottom:50px}
.materials-page .materials-hero h1{font-size:clamp(2rem,4vw,3.1rem)!important;margin:14px 0 12px}
.materials-page .materials-hero p,.materials-page .book-hero p{max-width:780px;font-size:.94rem;line-height:1.7}
.materials-page .materials-books-section{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:64px}
.materials-page .material-book-card{min-height:335px;padding:28px;border-radius:19px}
.materials-page .material-book-card h2{font-size:clamp(1.15rem,2vw,1.38rem);line-height:1.3;margin:14px 0 12px}
.materials-page .material-book-card p{font-size:.88rem;line-height:1.65}
.materials-page .material-book-card strong{padding:11px 15px;font-size:.78rem}
.materials-page .book-hero h1{font-size:clamp(2rem,4.5vw,3.6rem)!important;margin-bottom:10px}
.materials-page .book-hero h2{margin:0 0 12px;color:#f2b632;font-size:clamp(1rem,2vw,1.3rem);font-weight:600;text-transform:none}
.materials-page .book-ad-card h2,.materials-page .book-help-section h2,.materials-page .book-preview-section h2,.materials-page .book-order-section h2{font-size:1.2rem}
.materials-page .book-ad-card p,.materials-page .book-ad-card li,.materials-page .book-help-section p,.materials-page .book-preview-section p,.materials-page .book-preview-section li,.materials-page .book-order-section p{font-size:.88rem;line-height:1.65}
@media(max-width:720px){.materials-page .materials-books-section{grid-template-columns:1fr}.materials-page .material-book-card{min-height:310px}}

/* Keep the dashboard's refined action layout above earlier global polish rules. */
.student-dashboard-page .quick-actions a{min-height:112px;padding:17px 18px 16px 62px}
.student-dashboard-page .quick-actions h3{margin:1px 0 7px;font-size:.88rem;line-height:1.35;overflow-wrap:normal}
.student-dashboard-page .quick-actions p{font-size:.69rem;line-height:1.55}
@media(max-width:768px){.student-dashboard-page .quick-actions a{min-height:96px}}

/* Student profile photo upload and preview. */
.student-dashboard-page .dashboard-profile-trigger{gap:9px;padding-left:8px}
.dashboard-profile-thumb{
position:relative;
display:grid;
place-items:center;
width:28px;
height:28px;
overflow:hidden;
border-radius:50%;
background:#e8f1f9;
color:#174d7d;
font-size:.58rem;
font-weight:700;
}
.dashboard-profile-thumb img,
.dashboard-photo-preview img{width:100%;height:100%;object-fit:cover}
.dashboard-photo-editor{
display:flex;
align-items:center;
gap:18px;
margin-bottom:8px;
padding:16px;
border:1px solid #dfe7f0;
border-radius:16px;
background:#f7f9fc;
}
.dashboard-photo-preview{
display:grid;
place-items:center;
flex:0 0 auto;
width:78px;
height:78px;
overflow:hidden;
border:3px solid #fff;
border-radius:50%;
background:linear-gradient(135deg,#dcebf7,#bcd5ea);
color:#174d7d;
font-size:1rem;
font-weight:700;
box-shadow:0 7px 18px rgba(10,35,66,.12);
}
.dashboard-photo-button{
display:inline-flex!important;
align-items:center;
justify-content:center;
min-height:38px;
padding:0 14px;
border:1px solid #b9cddd;
border-radius:999px;
background:#fff;
color:#174d7d!important;
font-size:.7rem!important;
font-weight:600!important;
text-transform:none!important;
cursor:pointer;
transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.dashboard-photo-button:hover{border-color:#2d70a9;box-shadow:0 7px 16px rgba(10,35,66,.09);transform:translateY(-1px)}
.dashboard-photo-editor p{margin:8px 0 0;color:#6b7e93;font-size:.67rem;line-height:1.5}
@media(max-width:520px){.dashboard-photo-editor{align-items:flex-start;flex-direction:column}.dashboard-photo-preview{width:70px;height:70px}}

/* CTVET programme entrance and prepared programme library. */
.programs-page .program-card-ctvet{position:relative}
.programs-page .program-card-ctvet img{filter:saturate(.88) contrast(1.04)}
.programs-page .program-card-label{
display:inline-flex;
width:max-content;
margin:20px 24px 0;
padding:6px 9px;
border-radius:999px;
background:#e9f2fa;
color:#174d7d;
font-size:.62rem;
font-weight:600;
letter-spacing:.04em;
text-transform:uppercase;
}

.ctvet-page{background:#f4f7fa;color:#102a4c}
.ctvet-page main{padding:0}
.ctvet-hero{position:relative;isolation:isolate;min-height:620px;overflow:hidden;background:#092746}
.ctvet-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 32%;filter:saturate(.8)}
.ctvet-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,28,52,.94),rgba(5,28,52,.66) 55%,rgba(5,28,52,.32)),linear-gradient(180deg,rgba(5,28,52,.15),rgba(5,28,52,.62))}
.ctvet-hero-content{position:relative;z-index:1;display:flex;justify-content:center;flex-direction:column;width:min(1180px,calc(100% - 40px));min-height:620px;margin:auto;color:#fff}
.ctvet-hero-content>p,.ctvet-eyebrow{margin:0 0 12px;color:#efbd4b!important;font-size:.7rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase}
.ctvet-hero-content h1{max-width:760px;margin:0;color:#fff!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.8rem,6vw,5.6rem);font-weight:700;letter-spacing:-.045em;line-height:.98}
.ctvet-hero-content>span{display:block;max-width:650px;margin-top:22px;color:#dbe7f1;font-size:1rem;line-height:1.75}
.ctvet-hero-content>a{display:inline-flex;align-items:center;justify-content:space-between;width:220px;min-height:48px;margin-top:28px;padding:0 16px;border-radius:10px;background:#f2b632;color:#092746;font-size:.76rem;font-weight:600;text-decoration:none;transition:transform .22s ease,box-shadow .22s ease}
.ctvet-hero-content>a:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(0,0,0,.2)}
.ctvet-intro{padding:90px max(24px,7vw);background:#fff;text-align:center}
.ctvet-intro>h2,.ctvet-library h2{margin:0;color:#0a2342;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em}
.ctvet-intro>p:last-of-type{max-width:820px;margin:18px auto 0;color:#586a7d;font-size:.91rem;line-height:1.8}
.ctvet-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1120px;margin:52px auto 0;text-align:left}
.ctvet-principles article{padding:25px;border:1px solid #dce6ef;border-radius:17px;background:#fff;box-shadow:0 9px 26px rgba(10,35,66,.055)}
.ctvet-principles span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e9f2fa;color:#174d7d;font-size:.67rem;font-weight:700}
.ctvet-principles h3{margin:19px 0 8px;color:#102a4c;font-size:1rem;font-weight:600}
.ctvet-principles p{margin:0;color:#65778a;font-size:.78rem;line-height:1.65}
.ctvet-library{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:center;gap:60px;padding:90px max(24px,7vw);background:linear-gradient(180deg,#edf4fa,#f7fafc)}
.ctvet-library>div:first-child{max-width:720px}.ctvet-library>div:first-child>p:last-child{max-width:680px;margin:17px 0 0;color:#586a7d;font-size:.88rem;line-height:1.75}
.ctvet-library-status{padding:25px;border:1px solid #ccdae6;border-radius:18px;background:#fff;box-shadow:0 14px 38px rgba(10,35,66,.08)}
.ctvet-library-status span,.ctvet-library-status strong{display:block}.ctvet-library-status span{color:#6c8094;font-size:.63rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.ctvet-library-status strong{margin-top:8px;color:#123f70;font-size:1.15rem;font-weight:600}.ctvet-library-status p{margin:8px 0 0;color:#607286;font-size:.78rem;line-height:1.6}
.ctvet-footer{padding:28px;background:#071d35;text-align:center}.ctvet-footer p{margin:0;color:#cbd7e2!important;font-size:.74rem}
@media(max-width:850px){.ctvet-principles{grid-template-columns:1fr}.ctvet-library{grid-template-columns:1fr;gap:30px}.ctvet-library-status{max-width:560px}}
@media(max-width:620px){.ctvet-hero,.ctvet-hero-content{min-height:570px}.ctvet-hero-content h1{font-size:2.65rem}.ctvet-hero-content>span{font-size:.88rem}.ctvet-intro,.ctvet-library{padding:68px 18px}.ctvet-principles{margin-top:38px}}

.ctvet-library{display:block}.ctvet-library-head{max-width:1180px;margin:0 auto 34px}.ctvet-library-head>p:last-child{max-width:720px;margin:16px 0 0;color:#586a7d;font-size:.88rem;line-height:1.75}
.ctvet-programme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1180px;margin:0 auto}
.ctvet-programme-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #d5e0e9;border-radius:18px;background:#fff;box-shadow:0 9px 28px rgba(10,35,66,.065);transition:transform .24s var(--ae-motion-ease),box-shadow .24s var(--ae-motion-ease),border-color .2s ease}
.ctvet-card-image{position:relative;height:190px;overflow:hidden;background:#dbe6ef}.ctvet-card-image::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(5,28,52,.42))}.ctvet-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .32s var(--ae-motion-ease)}.ctvet-card-image>span{position:absolute;left:16px;bottom:14px;z-index:1;display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.35);border-radius:11px;background:rgba(5,28,52,.78);color:#fff;font-size:.68rem;font-weight:700;backdrop-filter:blur(8px)}
.ctvet-card-body{display:flex;flex:1;flex-direction:column;padding:21px}.ctvet-card-body small{color:#3973a2;font-size:.62rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.ctvet-card-body h3{margin:9px 0 8px;color:#102a4c;font-size:1rem;font-weight:600;line-height:1.35}.ctvet-card-body p{display:-webkit-box;margin:0 0 20px;overflow:hidden;color:#5b6d80;font-size:.78rem;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ctvet-card-body button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:45px;margin-top:auto;padding:0 13px;border:0;border-radius:9px;background:#123f70;color:#fff;font:600 .72rem/1 inherit;cursor:pointer;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}.ctvet-card-body button b{font-size:.92rem;transition:transform .2s ease}
@media(hover:hover){.ctvet-programme-card:hover{transform:translateY(-5px);border-color:#b7cadb;box-shadow:0 20px 44px rgba(10,35,66,.12)}.ctvet-programme-card:hover .ctvet-card-image img{transform:scale(1.045)}.ctvet-programme-card:hover button{background:#21649b;box-shadow:0 9px 20px rgba(31,93,153,.18)}.ctvet-programme-card:hover button b{transform:translateX(3px)}}
.ctvet-modal[hidden]{display:none}.ctvet-modal{position:fixed;inset:0;z-index:30000;display:grid;place-items:center;padding:20px}.ctvet-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(5,22,41,.68);backdrop-filter:blur(5px)}.ctvet-modal-panel{position:relative;z-index:1;width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:32px;border:1px solid #d5e0e9;border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(3,17,33,.3);animation:ctvetModalIn .24s var(--ae-motion-ease) both}.ctvet-modal-close{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #d7e2eb;border-radius:50%;background:#f7fafc;color:#174d7d;font-size:1.25rem;cursor:pointer}.ctvet-modal-panel h2{max-width:580px;margin:0;color:#102a4c;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.8rem,4vw,2.55rem);letter-spacing:-.03em}.ctvet-modal-panel>p:not(.ctvet-eyebrow):not(.ctvet-modal-note){margin:14px 0 24px;color:#586a7d;font-size:.88rem;line-height:1.75}.ctvet-modal-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ctvet-modal-columns>div{padding:18px;border:1px solid #dce6ef;border-radius:14px;background:#f7fafc}.ctvet-modal-columns h3{margin:0 0 12px;color:#173858;font-size:.86rem}.ctvet-modal-columns ul{display:grid;gap:8px;margin:0;padding-left:18px;color:#5b6e81;font-size:.76rem;line-height:1.5}.ctvet-modal-note{margin:18px 0!important;padding:13px;border-left:3px solid #e7ae2f;background:#fff9e9;color:#596878!important;font-size:.72rem!important;line-height:1.6!important}.ctvet-modal-panel>a{display:inline-flex;align-items:center;gap:18px;min-height:44px;padding:0 14px;border-radius:9px;background:#123f70;color:#fff;font-size:.72rem;font-weight:600;text-decoration:none}.ctvet-modal-open{overflow:hidden}@keyframes ctvetModalIn{from{opacity:0;transform:scale(.97) translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:940px){.ctvet-programme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ctvet-programme-grid{grid-template-columns:1fr}.ctvet-card-image{height:205px}.ctvet-modal-panel{padding:27px 20px}.ctvet-modal-columns{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ctvet-modal-panel{animation:none}}
@media(max-width:640px){.marketplace-contact-note{align-items:flex-start;flex-direction:column}.marketplace-contact-note a{width:100%}}

.firebase-story-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
.story-data-state{grid-column:1 / -1;padding:56px 28px;border:1px solid #dce5ed;border-radius:20px;background:#fff;text-align:center;box-shadow:0 14px 38px rgba(10,35,66,.07)}
.story-data-state h3{margin:0 0 8px;color:#0a2342;font-size:1.08rem}
.story-data-state p{margin:0;color:#627287;line-height:1.7}
.firebase-story-card{overflow:hidden}
.firebase-story-image{display:block;width:100%;height:210px;margin-bottom:24px;object-fit:cover;border-radius:14px}
.firebase-story-card blockquote{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5}
@media(max-width:620px){.firebase-story-stats{grid-template-columns:1fr}.firebase-story-image{height:190px}}
