/* =========================================================
   EDUPLUS INTERNATIONAL SCHOOL — HOME PAGE
   Organized styles: tokens → base → header → hero → Part 2 → footer → responsive
   ========================================================= */

/* ROOT VARIABLES */
:root {
  --green: #07552a;
  --deep-green: #043b1a;
  --nav-green: #106005;
  --gold: #e4b000;
  --cream: #fff8df;
  --white: #fff;
  --Gradient: linear-gradient(110deg, #16803c 0%, #8fbd35 52%, #f2d94e 100%);
  --LL-FS: clamp(1.8rem, 4vw, 2.5rem);
  --Transition: .3s ease;
  --Def-BS: 0 8px 22px rgba(0,0,0,.16);
}

/* BASE */
*, *::before, *::after{ 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0;
}

html{ scroll-behavior: smooth; }
body{ 
    min-height: 100vh; 
    overflow-x: hidden; 
    font-family: Arial, Helvetica, sans-serif; 
    color: var(--deep-green); 
    background: var(--white); 
}

img{ 
    display: block; 
    max-width: 100%; 
    height: auto; 
}

a{ 
    color: inherit; 
    text-decoration: none; 
}

button, input{ font: inherit; }

.page-wrapper{ 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

/* HEADER */
.Part1__header{ 
    position: relative;
    z-index: 20; 
    width: min(94%, 1440px); 
    margin: 0 auto; 
    min-height: 132px; 
    padding: 1rem 1.5rem; 
    display: flex; 
    align-items: center; 
    gap: 2rem; 
}

.Logo{ 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    flex: 0 0 auto; 
    color: var(--deep-green); 
    font-size: clamp(.95rem, 1.7vw, 1.45rem); 
    font-weight: 800; 
    line-height: 1.05; 
}

.Logo img{ 
    width: clamp(4.2rem, 7vw, 6.2rem); 
    aspect-ratio: 1; 
    object-fit: contain; 
}

.Logo::after{ 
    content: ""; 
    width: 2px; 
    height: 76px; 
    background: var(--green); 
    order: -1; 
    display: none; 
}

.nav { margin-left: auto; }

.nav ul{ 
    display: flex; 
    align-items: center; 
    gap: clamp(.7rem, 2.1vw, 2rem); 
    list-style: none; 
}

.nav a{ 
    position: relative; 
    display: block; 
    padding: .7rem .25rem; 
    color: var(--deep-green); 
    font-size: clamp(.85rem, 1.15vw, 1.05rem); 
    font-weight: 700; 
    white-space: nowrap; 
}

.nav a::after{ 
    content: ""; 
    position: absolute; 
    left: 0; 
    bottom: .15rem; 
    width: 0; 
    height: 4px; 
    background: var(--gold); 
    transition: width var(--Transition); 
}

.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

#menu-toggle{ display: none; }

.hamburger{ 
    display: none; 
    width: 34px; 
    cursor: pointer; 
}

.hamburger span{ 
    display: block; 
    height: 3px; 
    margin: 6px 0; 
    border-radius: 5px; 
    background: var(--deep-green); 
}

/* HERO */
.Part1{ 
    position: relative; 
    isolation: isolate; 
    background: linear-gradient(100deg, #fff8df 0%, #fff4c8 48%, #f8e9ad 100%); 
    overflow: hidden; 
}

.library-glow{ 
    position: absolute; 
    z-index: -1; 
    inset: 0 0 0 35%; 
    opacity: .48; 
    background: repeating-linear-gradient(90deg, transparent 0 65px, rgba(114,78,26,.11) 66px 71px), repeating-linear-gradient(0deg, rgba(255,255,255,.8) 0 24px, rgba(173,133,61,.16) 25px 30px, rgba(255,255,255,.7) 31px 66px); 
    filter: blur(2px); 
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000); 
}

.Part1__Hero{ 
    width: min(94%, 1440px); 
    min-height: 520px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1.05fr .95fr; 
    align-items: center; 
    position: relative; 
    padding: 1rem 1.5rem 5.2rem; 
}

.Part1__What-we-stand-for{ 
    position: relative; 
    z-index: 4; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 1.15rem; 
    padding: 0 0 1rem; 
}

.Part1__What-we-stand-for h1{ 
    font-size: clamp(2.8rem, 5.9vw, 5.8rem); 
    line-height: .99; 
    letter-spacing: -.045em; 
    font-weight: 800; 
}

.green-text{ color: var(--deep-green); }

.gold-text{ color: #e6ae00; }

.line{ 
    display: block; 
    width: clamp(110px, 16vw, 190px); 
    height: 7px; 
    background: var(--gold); 
}

.AboutUs{ 
    max-width: 600px; 
    color: #174b2a; 
    font-size: clamp(1rem, 1.65vw, 1.35rem); 
    line-height: 1.48; 
    font-weight: 600; 
}

.buttons{ 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 1rem; 
    margin-top: .3rem; 
}

.buttons a{ 
    min-width: 205px; 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    gap: 1rem; 
    padding: 1rem 1.5rem; 
    border-radius: 40px; 
    font-size: 1.12rem; 
    font-weight: 700; 
    transition: transform var(--Transition), box-shadow var(--Transition); 
}

.buttons a:hover{ 
    transform: translateY(-3px); 
    box-shadow: var(--Def-BS); 
}

.button-primary{ 
    background: #00602d; 
    color: white; 
}

.button-primary span{ font-size: 1.5rem; }

.button-secondary{ 
    border: 2px solid var(--green); 
    color: var(--green); 
    background: rgba(255,255,255,.8); 
}

.hero-art{ 
    min-height: 470px; 
    position: relative; 
    align-self: stretch; 
}

.hero-child{ 
    position: absolute; 
    z-index: 2; 
    height: min(500px, 48vw); 
    width: auto; 
    max-width: 82%; 
    object-fit: contain; 
    object-position: bottom; 
    bottom: -8px; 
    left: 25%; 
    filter: drop-shadow(0 14px 16px rgba(78,54,16,.2)); 
}

.hero-decoration {
    position: absolute;
    z-index: 3;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.hero-book {
    top: 3%;
    left: 50%;
    width: clamp(64px, 9vw, 125px);
}

.hero-bulb {
    top: 43%;
    right: 1.5%;
    width: clamp(54px, 7vw, 95px);
}

.hero-paper-jet {
    right: 83%;
    bottom: 2%;
    width: clamp(80px, 10vw, 145px);
} 

.hero-wave{ 
    position: absolute; 
    width: 100%; 
    height: 80px; 
    bottom: -1px; 
    left: 0; 
}

/* PART 2 */
.Part2 { 
    --flower-width: clamp(130px, 20vw, 260px); 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 1.5rem; 
    width: 100%; 
    min-height: 230px; 
    padding: 1.2rem 1rem 1.5rem; 
    background: #fff; 
    z-index: 1; 
}

.Part2::before{ 
    content: ""; 
    flex: 0 0 var(--flower-width); 
}
.Part2__container{ 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    flex: 0 1 760px; 
    min-width: 0; 
    gap: .7rem; 
}

.Heading{ 
    width: 100%; 
    text-align: center; 
}

.Heading h2
{
    width: max-content;
    max-width: none;

    margin: 0 auto;
    font-size: var(--LL-FS);

    background: linear-gradient(to right, #106005, #106005, #c3c017,  #f4f01d);
    background-clip: text;
    color: transparent;

    white-space: nowrap;
    overflow-wrap: normal;
}

.Line-decoration { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: .5rem; }
.Line-decoration span { width: min(200px, 22vw); height: 2px; background: #b7a415; }
.Line-decoration img { width: 28px; height: 28px; object-fit: contain; }

.Part2__About-Us
{
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:  12px 12px 12px rgba(0, 0, 0, 0.37) , -10px -10px 10px #fdf9f9 ;

    border-radius: 50px;

    height: 300px;
    width: 300px;
    padding: 2rem;
} 

.Part2__About-Us
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    -webkit-appearance: none;

    height: 60px;
    width: 250px;

    box-shadow: -7px -7px 15px rgba(255, 255, 255, 0.65), 7px 7px 15px rgba(70, 70, 70, 0.12), inset -7px -7px 15px rgba(255, 255, 255, 0.65), inset 7px 7px 15px rgba(70, 70, 70, 0.12);

    border-radius: 40px;
    border: 5px solid #ececee;
    outline: none;
    padding: 0.5rem;

    flex-wrap: nowrap;

    left: 10px;
    cursor: pointer;
}

.Part2__About-Us::before, .Part2__About-Us::after
{
    content: "";
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    transition: 0.3s;
}

.Part2__About-Us p
{
    font-size: 1rem;
    
}

.Part2__About-Us button
{
    margin-left: auto;
    padding: 0.4rem;
    border-radius: 50%;

    width: 40px;
    font-size: 1rem;
}

.Part2__About-Us button:hover
{
    box-shadow: var(--Def-BS);
}

.Part2__Flower{ 
    flex: 0 0 var(--flower-width); 
    width: var(--flower-width); 
    align-self: center; 
    pointer-events: none; 
    z-index: -1; 
}

.Part2__Flower img{ 
    width: 100%; 
    height: auto; 
    object-fit: contain; 
}

/* FOOTER — preserved from your original CSS */
.footer
{
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;

    border-radius: 50% 50% 0 0;

    width: 100%;

    background: #098b0b93;
    background: url(../l-pic/NurseryChildren.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    color: white;

    clip-path: ellipse(180% 100% at 100% 50%);

    margin-top: 2rem;
    padding: 0.8rem;

    /* bottom: 0; */
}

.footer::before
{
    content: "";
    position: absolute;
    border-radius: 50% 50% 0 0;
    inset: 0;
    background-color: #0f3716cc;
}

.footer > *
{
    position: relative;
    z-index: 1;
}

.contact-information
{
    width: 100%;
    max-width: 900px;

    padding-top: 1.3rem;

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

.contact-information p
{
    width: 100%;
    max-width: 900px;

    font-size: 1rem;

    text-align: center;

    color: white;

    overflow-wrap: break-word;
}

.social-media
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-media img
{
    height: 30px;
    width: 30px;
    flex: 0 0 40px;
}

.social-media img:last-child
{
    object-fit: cover;
    height: 40px;
    width: 40px;
}

.contact-information p
{
    font-size: 1rem;
    align-self: center;
    color: #ffffff;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 900px) {
  .Part1__header { min-height: 105px; }
  .Part1__Hero { min-height: 470px; grid-template-columns: 1fr .85fr; }
  .hero-art { min-height: 420px; }
  .hero-child { height: min(440px, 53vw); left: 12%; }
  .Part2 { --flower-width: 150px; }
}
@media (max-width: 700px) {
  .Part1__header { width: 100%; min-height: 88px; padding: .8rem 1rem; gap: .7rem; }
  .Logo { font-size: .9rem; gap: .65rem; }
  .Logo img { width: 3.6rem; }
  .hamburger { display: block; margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: .6rem 1rem 1rem; background: #fffdf3; box-shadow: 0 8px 12px #0002; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: .75rem; text-align: center; }
  #menu-toggle:checked ~ .nav { display: block; }
  #menu-toggle:checked + .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  #menu-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
  #menu-toggle:checked + .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .hamburger span { transition: var(--Transition); }
  .Part1__Hero { width: 100%; min-height: 580px; display: block; padding: 2.5rem 1.25rem 5rem; }
  .Part1__What-we-stand-for { width: 76%; gap: 1rem; }
  .Part1__What-we-stand-for h1 { font-size: clamp(2.3rem, 8.2vw, 3.6rem); }
  .AboutUs { font-size: 1rem; width: 60%;}
  .buttons { gap: .65rem; flex-direction: column;}
  .buttons a { min-width: 0; padding: .8rem 1.1rem; font-size: .95rem; }
  .hero-art { position: absolute; right: 0; bottom: 0; width: 52%; height: 65%; min-height: 0; }
  .hero-child { height: 100%; max-width: 100%; left: 0; bottom: 0; }
  .card-art { font-size: 2rem; }
  .hero-book { top: -10%; left: 10%; }
  .bulb-doodle { right: -4%; top: 44%; }
  .hero-paper-jet { left: -15%;  }
  .Part2 { --flower-width: 0px; min-height: 210px; padding: 1.3rem 1rem; }
  .Part2::before, .Part2__Flower { display: none; }
  .Part2__container { flex: 1 1 auto; }
  .Heading h2 { white-space: normal; width: 100%; max-width: 100%; font-size: clamp(1.8rem, 6vw, 2.5rem); }
}
@media (max-width: 420px) {
  .Part1__Hero { min-height: 610px; padding-inline: 1rem; }
  .Part1__What-we-stand-for { width: 100%; }
  .Part1__What-we-stand-for h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .AboutUs { max-width: 82%; font-size: .92rem; }
  .hero-art { width: 57%; height: 53%; }
  .buttons a { padding: .72rem .95rem; }
  /* .hero-paper-jet { right: 0; bottom: 16%; } */
  .Part2 { min-height: 185px; }
  .footer { min-height: 170px; padding: 2rem 1rem 1.25rem; gap: .8rem; clip-path: ellipse(220% 100% at 100% 50%); width: 100%; }
  .contact-information { font-size: .9rem; line-height: 1.45; }
  .social-media { gap: .7rem; }
  .social-media img { width: 34px; height: 34px; flex-basis: 34px; }
}

@media (max-width: 360px) {
   .Part1__Hero {padding: 1rem 0.15rem 1rem; }
   .Part1__What-we-stand-for h1 { padding-left: 1rem; }
   .line{margin-left: 1rem;}
   .AboutUs { padding-left: 1rem;; }
   .hero-child { bottom: 18%; }
}
