/* ===========================================================
   Harmony School
   Design System v1
=========================================================== */

:root{

--primary:#4B8DFF;
--primary-dark:#3575e6;

--text:#172033;
--text-light:#667085;

--background:#f6f9fc;

--surface:#ffffff;

--border:#e5edf8;

--radius:26px;

--shadow:
0 10px 40px rgba(18,38,63,.06);

--shadow-hover:
0 25px 60px rgba(30,64,175,.12);

--container:1240px;

--transition:.35s cubic-bezier(.2,.8,.2,1);

}

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:"Manrope",sans-serif;

background:var(--background);

color:var(--text);

line-height:1.6;

-webkit-font-smoothing:antialiased;

}

img{

display:block;
width:100%;

}

a{

color:inherit;

text-decoration:none;

}

.container{

width:min(var(--container),calc(100% - 48px));

margin:auto;

}





/* ===========================================================
HEADER
=========================================================== */

.header{

position:sticky;

top:18px;

z-index:100;

padding-bottom:18px;

}

.header .container{

height:82px;

display:flex;

align-items:center;

justify-content:space-between;

background:rgba(255,255,255,.72);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.6);

border-radius:999px;

padding-inline:28px;

box-shadow:0 10px 35px rgba(0,0,0,.05);

}

.logo{

display:flex;

align-items:center;

gap:16px;

font-weight:700;

}

.logo-icon{

width:54px;

height:54px;

border-radius:18px;

display:grid;

place-items:center;

font-size:28px;

background:linear-gradient(
135deg,
#4b8dff,
#7b6dff,
#65d3ff
);

color:white;

box-shadow:

0 10px 25px rgba(75,141,255,.35);

}

.logo-text span{

display:block;

font-size:12px;

letter-spacing:.06em;

text-transform:uppercase;

color:#6b7a90;

}

.logo-text strong{

font-size:20px;

}

nav{

display:flex;

gap:34px;

}

nav a{

font-weight:600;

color:#556277;

transition:var(--transition);

}

nav a:hover{

color:var(--primary);

}

.button,

.button-outline{

height:54px;

padding-inline:28px;

border-radius:999px;

display:inline-flex;

align-items:center;

justify-content:center;

font-weight:700;

transition:var(--transition);

}

.button{

background:linear-gradient(

135deg,

#4b8dff,

#6ba6ff

);

color:white;

box-shadow:

0 14px 34px rgba(75,141,255,.30);

}

.button:hover{

transform:translateY(-3px);

box-shadow:

0 22px 45px rgba(75,141,255,.40);

}

.button-outline{

border:1px solid var(--border);

background:white;

}

.button-outline:hover{

border-color:var(--primary);

color:var(--primary);

}

.button-small{

height:48px;

padding-inline:22px;

}





/* ===========================================================
HERO
=========================================================== */

.hero{

padding:

60px

0

90px;

}

.hero-grid{

display:grid;

grid-template-columns:

1.1fr

0.9fr;

gap:34px;

align-items:center;

}

.hero-left{

padding-right:24px;

}

.badge{

display:inline-flex;

align-items:center;

gap:10px;

padding:

10px

18px;

background:white;

border:1px solid var(--border);

border-radius:999px;

font-size:14px;

font-weight:700;

color:var(--primary);

margin-bottom:26px;

}

.hero h1{

font-size:68px;

line-height:1.05;

font-weight:800;

letter-spacing:-2px;

margin-bottom:28px;

}

.hero h1 span{

background:

linear-gradient(

135deg,

#4b8dff,

#7b6dff

);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.hero p{

font-size:20px;

max-width:620px;

color:var(--text-light);

margin-bottom:42px;

}

.hero-buttons{

display:flex;

gap:18px;

flex-wrap:wrap;

}





/* ===========================================================
BENTO GRID
=========================================================== */

.hero-right{

display:grid;

grid-template-columns:

repeat(2,1fr);

grid-auto-rows:180px;

gap:22px;

}

.hero-card{

background:white;

border-radius:30px;

border:1px solid var(--border);

overflow:hidden;

box-shadow:var(--shadow);

transition:var(--transition);

}

.hero-card:hover{

transform:

translateY(-6px);

box-shadow:var(--shadow-hover);

}

.hero-image{

grid-row:

span 2;

}

.hero-image img{

height:100%;

object-fit:cover;

}

.stat{

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-align:center;

}

.stat h3{

font-size:52px;

font-weight:800;

color:var(--primary);

margin-bottom:8px;

}

.stat p{

font-size:15px;

color:#6c7b90;

padding-inline:24px;

}

.quote{

grid-column:

span 2;

display:flex;

align-items:center;

justify-content:center;

padding:40px;

background:

linear-gradient(

135deg,

#eef5ff,

white

);

}

.quote h4{

font-size:30px;

font-weight:800;

text-align:center;

line-height:1.25;

max-width:500px;

}





/* ===========================================================
SECTIONS
=========================================================== */

.section{

padding:

110px

0;

}

.section.alt{

background:white;

}

.section-heading{

max-width:720px;

margin:auto;

text-align:center;

margin-bottom:70px;

}

.section-heading span{

display:inline-block;

margin-bottom:16px;

font-weight:700;

color:var(--primary);

}

.section-heading h2{

font-size:52px;

line-height:1.12;

margin-bottom:18px;

letter-spacing:-1px;

}

.section-heading p{

font-size:19px;

color:var(--text-light);

}

/* ===========================================================
FEATURES
=========================================================== */

.features-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:28px;

}

.feature-card{

background:var(--surface);

border:1px solid var(--border);

border-radius:28px;

padding:34px;

transition:var(--transition);

box-shadow:var(--shadow);

position:relative;

overflow:hidden;

}

.feature-card::before{

content:"";

position:absolute;

top:0;
left:0;

width:100%;

height:4px;

background:linear-gradient(90deg,#4B8DFF,#7B6DFF);

transform:scaleX(0);

transform-origin:left;

transition:.4s;

}

.feature-card:hover{

transform:translateY(-8px);

box-shadow:var(--shadow-hover);

}

.feature-card:hover::before{

transform:scaleX(1);

}

.feature-icon{

width:72px;

height:72px;

border-radius:22px;

display:grid;

place-items:center;

font-size:34px;

background:linear-gradient(135deg,#eef5ff,#dce9ff);

margin-bottom:28px;

}

.feature-card h3{

font-size:24px;

margin-bottom:14px;

}

.feature-card p{

color:var(--text-light);

}





/* ===========================================================
PROGRAMS
=========================================================== */

.program-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:26px;

}

.program-card{

background:white;

border-radius:30px;

border:1px solid var(--border);

padding:42px;

display:flex;

justify-content:space-between;

align-items:flex-end;

min-height:240px;

transition:var(--transition);

box-shadow:var(--shadow);

}

.program-card:hover{

transform:translateY(-8px);

box-shadow:var(--shadow-hover);

border-color:#cfe0ff;

}

.program-card small{

display:block;

margin-bottom:18px;

font-size:14px;

font-weight:700;

text-transform:uppercase;

letter-spacing:.08em;

color:var(--primary);

}

.program-card h3{

font-size:34px;

line-height:1.15;

}

.program-card span{

font-size:34px;

color:var(--primary);

}





/* ===========================================================
STATISTICS
=========================================================== */

.stats-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:24px;

}

.stats-grid div{

background:white;

border-radius:30px;

padding:42px;

text-align:center;

border:1px solid var(--border);

box-shadow:var(--shadow);

}

.stats-grid h3{

font-size:58px;

font-weight:800;

margin-bottom:10px;

background:linear-gradient(135deg,#4B8DFF,#7B6DFF);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.stats-grid p{

color:var(--text-light);

}





/* ===========================================================
TEACHERS
=========================================================== */

.teachers-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:28px;

}

.teacher-card{

background:white;

border-radius:30px;

overflow:hidden;

border:1px solid var(--border);

box-shadow:var(--shadow);

transition:var(--transition);

}

.teacher-card:hover{

transform:translateY(-8px);

box-shadow:var(--shadow-hover);

}

.teacher-card img{

aspect-ratio:4/5;

object-fit:cover;

}

.teacher-card h3{

padding:26px 26px 10px;

font-size:24px;

}

.teacher-card p{

padding:0 26px 28px;

color:var(--text-light);

}





/* ===========================================================
NEWS
=========================================================== */

.news-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

.news-card{

background:white;

border-radius:30px;

overflow:hidden;

border:1px solid var(--border);

transition:var(--transition);

box-shadow:var(--shadow);

}

.news-card:hover{

transform:translateY(-8px);

box-shadow:var(--shadow-hover);

}

.news-image{

aspect-ratio:16/10;

overflow:hidden;

}

.news-image img{

height:100%;

object-fit:cover;

transition:.6s;

}

.news-card:hover img{

transform:scale(1.08);

}

.news-content{

padding:28px;

}

.news-date{

display:inline-block;

margin-bottom:18px;

font-size:14px;

font-weight:700;

color:var(--primary);

}

.news-content h3{

font-size:24px;

line-height:1.3;

margin-bottom:16px;

}

.news-content p{

color:var(--text-light);

margin-bottom:22px;

}

.news-content a{

font-weight:700;

color:var(--primary);

}





/* ===========================================================
CTA
=========================================================== */

.cta{

padding:120px 0;

}

.cta-box{

background:linear-gradient(135deg,#4B8DFF,#6A7DFF);

border-radius:42px;

padding:70px;

display:flex;

justify-content:space-between;

align-items:center;

gap:50px;

color:white;

overflow:hidden;

position:relative;

}

.cta-box::after{

content:"";

position:absolute;

right:-140px;

top:-140px;

width:420px;

height:420px;

border-radius:50%;

background:rgba(255,255,255,.08);

}

.cta span{

font-weight:700;

opacity:.8;

}

.cta h2{

font-size:52px;

line-height:1.1;

margin:20px 0;

max-width:620px;

}

.cta p{

font-size:20px;

opacity:.9;

max-width:600px;

}

.cta .button{

background:white;

color:var(--primary);

}

.cta .button-outline{

border:1px solid rgba(255,255,255,.35);

background:transparent;

color:white;

}

.cta-buttons{

display:flex;

gap:18px;

flex-wrap:wrap;

}





/* ===========================================================
FOOTER
=========================================================== */

footer{

background:#111827;

color:white;

padding:90px 0 30px;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:60px;

}

.footer-logo{

display:flex;

gap:18px;

align-items:center;

margin-bottom:26px;

}

.footer-description{

color:rgba(255,255,255,.7);

max-width:420px;

line-height:1.8;

}

footer h4{

margin-bottom:22px;

font-size:18px;

}

footer ul{

list-style:none;

display:flex;

flex-direction:column;

gap:14px;

}

footer li{

color:rgba(255,255,255,.7);

}

footer a:hover{

color:#8eb8ff;

}

.footer-bottom{

margin-top:60px;

padding-top:30px;

border-top:1px solid rgba(255,255,255,.08);

text-align:center;

color:rgba(255,255,255,.55);

}





/* ===========================================================
RESPONSIVE
=========================================================== */

@media (max-width:1100px){

.hero-grid,
.program-grid,
.features-grid,
.teachers-grid,
.news-grid,
.stats-grid{

grid-template-columns:1fr 1fr;

}

.footer-grid{

grid-template-columns:1fr 1fr;

}

.cta-box{

flex-direction:column;

align-items:flex-start;

}

}

@media (max-width:780px){

.container{

width:min(100% - 32px,1240px);

}

nav{

display:none;

}

.hero{

padding-top:30px;

}

.hero-grid{

grid-template-columns:1fr;

}

.hero-right{

grid-template-columns:1fr;

}

.hero-image{

grid-row:auto;

height:340px;

}

.quote{

grid-column:auto;

}

.hero h1{

font-size:46px;

}

.section{

padding:80px 0;

}

.section-heading h2{

font-size:38px;

}

.features-grid,
.program-grid,
.teachers-grid,
.news-grid,
.stats-grid,
.footer-grid{

grid-template-columns:1fr;

}

.cta{

padding:80px 0;

}

.cta-box{

padding:42px;

}

.cta h2{

font-size:38px;

}

}