/* =========================================================
   CollegeERPSoftware.com — DESIGN SYSTEM v2
   Redesigned to match the "School Parent App" visual language:
   white paper background, a confident magenta/pink brand color
   driving the header, buttons and accents, soft rounded white
   cards with light shadows, generous whitespace, a bold
   geometric display font for headings.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Brand — magenta/pink */
  --brand:        #E31C79;
  --brand-dark:   #B8155F;
  --brand-darker: #7A0E40;
  --brand-light:  #FF5FA8;
  --brand-tint:   #FDE7F1;
  --brand-tint-2: #FFF6FA;
  --gold:         #F5A623;
  --gold-deep:    #C9820E;

  /* Surfaces */
  --paper:          #ffffff;
  --paper-dim:      #FFF6FA;
  --bg-green:       #ffffff; /* legacy var name, now the site's white background */

  /* Text */
  --ink:      #241221;
  --ink-soft: #705E6C;
  --chalk:      var(--ink);       /* legacy name — now dark text-on-light */
  --chalk-dim:  var(--ink-soft);  /* legacy name — now soft dark text-on-light */
  --white:      #ffffff;
  --white-dim:  rgba(255,255,255,.82);

  --rule:         rgba(36,18,33,.10);
  --rule-strong:  rgba(36,18,33,.18);
  --rule-on-brand: rgba(255,255,255,.24);
  --line:         #F3E1EC;

  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;

  --shadow-sm: 0 2px 12px rgba(120,20,75,.08);
  --shadow:    0 18px 40px rgba(120,20,75,.13);
  --shadow-lg: 0 30px 70px rgba(120,20,75,.20);

  --max: 1180px;

  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Inter', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:800;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
  color:var(--ink);
}
p{margin:0 0 1em;}
.paper h1,.paper h2,.paper h3,.paper h4{color:var(--ink);}

::selection{ background:var(--brand); color:#fff; }

/* soft pink wash used behind the hero / feature bands */
.chalk-bg{
  background:
    radial-gradient(1200px 480px at 82% 0%, var(--brand-tint) 0%, rgba(253,231,241,0) 60%),
    var(--paper);
}

.container{ max-width:var(--max); margin:0 auto; padding:0 28px; }

.eyebrow{
  font-family:var(--font-body);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
  display:inline-flex;
  align-items:center;
  gap:.6em;
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--brand); display:inline-block; }
.section-paper .eyebrow{ color:var(--brand); }
.section-paper .eyebrow::before{ background:var(--brand); }

.chalk-underline{ position:relative; display:inline-block; color:var(--brand); }
.chalk-underline svg{
  position:absolute; left:-2%; bottom:-.14em; width:104%; height:.3em;
  overflow:visible;
}

/* ===================== HEADER / NAV ===================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--brand);
  border-bottom:1px solid rgba(255,255,255,.12);
  transition:padding .25s ease, box-shadow .25s ease;
  box-shadow:0 4px 20px rgba(120,20,75,.18);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:800; font-size:19px;
  color:#fff;
}
.brand-mark{
  width:40px;height:40px;
  background:#fff;
  color:var(--brand);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:800;font-size:14px;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
  flex-shrink:0;
}
.brand small{
  display:block;font-family:var(--font-body);font-weight:500;
  font-size:10.5px;letter-spacing:.06em;color:rgba(255,255,255,.78);
  text-transform:uppercase;
}
.main-nav{ display:flex; align-items:center; gap:4px; }
.main-nav a{
  font-size:14px; font-weight:600; color:rgba(255,255,255,.82); position:relative;
  padding:9px 14px; border-radius:999px; transition:background-color .2s ease, color .2s ease, opacity .2s ease;
}
.main-nav a:hover{ color:#fff; background:rgba(255,255,255,.14); }
.nav-cta{
  background:#fff; color:var(--brand) !important;
  padding:10px 22px !important; border-radius:999px; font-weight:700; font-size:13.5px;
  margin-left:8px;
}
.nav-cta:hover{ background:var(--brand-tint); transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,0,0,.18); }
.nav-toggle{ display:none; background:none;border:1px solid rgba(255,255,255,.35); color:#fff; padding:8px 10px; border-radius:var(--radius-sm); }

@media (max-width:920px){
  .main-nav{
    position:fixed; inset:64px 0 0 0; background:var(--brand-dark);
    flex-direction:column; align-items:flex-start; padding:24px 28px;
    gap:4px; transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ width:100%; padding:14px 12px; border-bottom:1px solid rgba(255,255,255,.14); border-radius:10px; font-size:16px; }
  .nav-cta{ margin-top:12px; margin-left:0; text-align:center; }
  .nav-toggle{ display:block; }
}

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:999px;
  font-weight:700; font-size:14.5px; border:1.5px solid transparent; cursor:pointer;
  font-family:var(--font-body);
  transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold{ background:var(--brand); color:#fff; box-shadow:0 10px 24px rgba(227,28,121,.28); }
.btn-gold:hover{ background:var(--brand-dark); transform:translateY(-2px); box-shadow:0 14px 30px rgba(227,28,121,.34); }
.btn-outline{ border-color:var(--brand); color:var(--brand); background:#fff; }
.btn-outline:hover{ background:var(--brand-tint); transform:translateY(-2px); }
.btn-ink{ background:#fff; color:var(--brand-dark); }
.btn-ink:hover{ background:var(--brand-tint); transform:translateY(-2px); }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; }

/* on white/paper sections outline already matches; keep for section-paper too */
.section-paper .btn-outline{ border-color:var(--brand); color:var(--brand); }
.section-paper .btn-outline:hover{ background:var(--brand); color:#fff; }

/* ===================== HERO ===================== */
.hero{ padding:64px 0 60px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(32px,4.4vw,54px); line-height:1.08; margin-bottom:20px; color:var(--brand); }
.hero-lede{ font-size:18px; color:var(--ink-soft); max-width:52ch; margin-bottom:30px; }
.hero-stats{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; }
.hero-stats .stat{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:18px 22px; box-shadow:var(--shadow-sm); min-width:120px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.hero-stats .stat:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.hero-stats .stat b{ display:block; font-family:var(--font-display); font-weight:800; font-size:26px; color:var(--brand); }
.hero-stats .stat span{ font-size:12.5px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.04em; }

/* avatar + rating row (School Parent App style) */
.avatar-row{ display:flex; align-items:center; gap:14px; margin-top:32px; flex-wrap:wrap; }
.avatar-row .avatars{ display:flex; }
.avatar-row .avatars span{
  width:38px;height:38px;border-radius:50%;border:2.5px solid #fff;
  background:var(--brand-tint); color:var(--brand-dark); font-weight:700; font-size:13px;
  display:flex;align-items:center;justify-content:center;margin-left:-10px;
  box-shadow:0 2px 6px rgba(120,20,75,.15);
}
.avatar-row .avatars span:first-child{ margin-left:0; }
.avatar-row .rating .stars{ color:var(--gold); font-size:15px; letter-spacing:1px; }
.avatar-row .rating p{ margin:2px 0 0; font-size:13.5px; color:var(--ink-soft); font-weight:600; }

/* register / preview card — signature component, now a clean white "app preview" card */
.ledger{
  background:var(--paper); color:var(--ink); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); position:relative; padding:22px 22px 20px;
  border:1px solid var(--line);
}
.ledger::before{ content:none; }
.ledger .holes{ display:none; }
.ledger-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:16px; border-bottom:1px solid var(--line); padding-bottom:12px; }
.ledger-head .reg{ font-family:var(--font-body); font-size:11px; font-weight:700; color:var(--brand); letter-spacing:.06em; background:var(--brand-tint); padding:4px 9px; border-radius:999px; }
.ledger-row{ display:flex; align-items:center; gap:12px; font-size:13.5px; padding:10px 0; border-bottom:1px solid var(--paper-dim); }
.ledger-row::before{ content:""; width:8px;height:8px;border-radius:3px; background:var(--brand); flex-shrink:0; }
.ledger-row span:first-child{ color:var(--ink-soft); flex:1; }
.ledger-row span:last-child{ font-weight:700; color:var(--ink); }
.stamp{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--font-body);
  font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--brand-dark);
  background:var(--brand-tint); padding:6px 12px; border-radius:999px;
}
.stamp::before{ content:"●"; color:#2ecc71; font-size:9px; }

/* pink circle badge overlapping the hero preview card */
.hero-badge{
  position:absolute; top:-26px; right:-18px; z-index:5;
  width:118px;height:118px;border-radius:50%;
  background:var(--brand); color:#fff; text-align:center;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  box-shadow:0 16px 34px rgba(227,28,121,.35); border:4px solid #fff;
}
.hero-badge b{ font-family:var(--font-display); font-size:22px; font-weight:800; line-height:1; }
.hero-badge span{ font-size:9.5px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; line-height:1.25; margin-top:4px; padding:0 8px; }
.hero-visual{ position:relative; }
@media (max-width:640px){ .hero-badge{ width:96px;height:96px; top:-16px; right:-10px; } .hero-badge b{font-size:18px;} .hero-badge span{font-size:8.5px;} }

/* ===================== SECTIONS ===================== */
.section{ padding:78px 0; }
.section-alt{ background:var(--paper-dim); }
.section-paper{ background:var(--paper); color:var(--ink); }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(26px,3vw,38px); }
.section-head p{ color:var(--ink-soft); font-size:16.5px; }
.section-paper .section-head h2{ color:var(--ink); }
.section-paper .section-head p{ color:var(--ink-soft); }

.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:920px){ .grid-3,.grid-4{grid-template-columns:repeat(2,1fr);} .hero-grid{grid-template-columns:1fr;} }
@media (max-width:640px){ .grid-3,.grid-4,.grid-2{grid-template-columns:1fr;} }

/* feature/module card — white paper card with soft pink-tinted shadow */
.card{
  background:var(--paper); border:1px solid var(--line);
  border-radius:var(--radius); padding:28px 24px; position:relative;
  color:var(--ink); box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--brand-light); }
.card .reg-tag{
  font-family:var(--font-body); font-size:11px; font-weight:700; color:var(--brand);
  letter-spacing:.06em; margin-bottom:12px; display:block; text-transform:uppercase;
}
.card h3{ font-size:19px; margin-bottom:8px; color:var(--ink); }
.card p{ color:var(--ink-soft); font-size:14.5px; margin-bottom:0; }
.card-icon{
  width:44px;height:44px;border-radius:14px;
  background:var(--brand-tint);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
  font-family:var(--font-display);font-weight:800;color:var(--brand);font-size:16px;
}
.section-alt .card{ background:#fff; border-color:var(--line); color:var(--ink); box-shadow:var(--shadow-sm); }
.section-alt .card h3{ color:var(--ink); }
.section-alt .card p{ color:var(--ink-soft); }
.section-alt .card-icon{ background:var(--brand-tint); color:var(--brand); }
.section-alt .card .reg-tag{ color:var(--brand); }

/* module directory list (paper) */
.module-list{ background:var(--paper); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); }
.module-row{
  display:flex; align-items:center; gap:18px; padding:18px 24px;
  border-bottom:1px solid var(--line); color:var(--ink);
}
.module-row:last-child{ border-bottom:none; }
.module-row .no{ font-family:var(--font-body); color:var(--brand); font-size:13px; width:34px; flex-shrink:0; font-weight:700; }
.module-row .name{ font-weight:700; flex:1; }
.module-row .desc{ color:var(--ink-soft); font-size:14px; flex:2; }
.module-row a.go{ font-family:var(--font-body); font-size:12px; color:var(--brand); white-space:nowrap; font-weight:700; }
@media (max-width:760px){ .module-row{flex-wrap:wrap;} .module-row .desc{order:3;flex-basis:100%;} }

/* portal tiles */
.portal-tile{ background:var(--paper); color:var(--ink); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); border:1px solid var(--line); transition:transform .2s ease, box-shadow .2s ease; }
.portal-tile:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.portal-tile .role{ font-family:var(--font-body); font-size:11px; color:var(--brand); text-transform:uppercase; letter-spacing:.06em; font-weight:700; }
.portal-tile h3{ margin:6px 0 10px; font-size:19px; color:var(--ink); }
.portal-tile ul li{ font-size:13.5px; color:var(--ink-soft); padding:4px 0; }
.portal-tile ul li::before{ content:"— "; color:var(--brand); }

/* pricing */
.price-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px 28px; display:flex; flex-direction:column; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease; }
.price-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.price-card.featured{ border-color:var(--brand); box-shadow:0 0 0 2px var(--brand), var(--shadow); background:var(--brand-tint-2); }
.price-card .tier{ font-family:var(--font-body); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--brand); margin-bottom:6px; font-weight:700; }
.price-card .amount{ font-family:var(--font-display); font-weight:800; font-size:34px; margin:6px 0 16px; color:var(--ink); }
.price-card .amount span{ font-size:13px; color:var(--ink-soft); font-family:var(--font-body); font-weight:400; }
.price-card ul{ margin:18px 0 26px; flex:1; }
.price-card ul li{ font-size:13.5px; color:var(--ink-soft); padding:6px 0; border-bottom:1px dashed var(--line); }

/* testimonials */
.quote-card{ background:var(--paper); color:var(--ink); padding:28px 26px; border-radius:var(--radius); box-shadow:var(--shadow-sm); border:1px solid var(--line); transition:transform .2s ease, box-shadow .2s ease; }
.quote-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.quote-card p{ font-family:var(--font-display); font-size:17px; font-weight:600; font-style:italic; color:var(--ink); }
.quote-card .who{ font-family:var(--font-body); font-size:12px; color:var(--brand); text-transform:uppercase; letter-spacing:.04em; font-weight:700; }

/* faq accordion */
.faq-item{ border-bottom:1px solid var(--line); }
.section-paper .faq-item{ border-bottom-color:var(--line); }
.faq-q{ display:flex; justify-content:space-between; align-items:center; padding:20px 4px; cursor:pointer; font-weight:700; font-size:16px; }
.faq-q .plus{ font-family:var(--font-body); color:var(--brand); font-size:18px; transition:transform .2s; }
.section-paper .faq-q .plus{ color:var(--brand); }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; color:var(--ink-soft); font-size:14.5px; }
.section-paper .faq-a{ color:var(--ink-soft); }
.faq-item.open .faq-a{ max-height:300px; padding-bottom:18px; }

/* form */
.form-ledger{ background:var(--paper); color:var(--ink); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:34px; border:1px solid var(--line); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
@media (max-width:640px){ .form-row{grid-template-columns:1fr;} }
.field label{ display:block; font-size:12.5px; font-family:var(--font-body); text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-bottom:6px; font-weight:700; }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  background:#fff; font-family:var(--font-body); font-size:14.5px; color:var(--ink);
  transition:border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--brand); }
.field textarea{ min-height:100px; resize:vertical; }

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

.site-footer{
    background:#7A0E40;
    border-top:1px solid rgba(255,255,255,.12);
    padding:58px 0 24px;
    color:#ffffff;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4{
    color:#ffffff;
}


/* Footer Grid */

.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:36px;
    margin-bottom:44px;
}


/* Footer Headings */

.footer-grid h4{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:#ffffff;
    font-family:var(--font-body);
    margin-bottom:14px;
    font-weight:700;
}


/* Footer Links */

.footer-grid ul li{
    padding:5px 0;
}

.footer-grid ul li a{
    color:#ffffff;
    font-size:14px;
    text-decoration:none;
}

.footer-grid ul li a:hover{
    color:#ffffff;
}


/* Footer Brand Description */

.site-footer .brand p{
    color:#ffffff;
}


/* Footer Bottom */

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.18);
    padding-top:20px;

    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;

    gap:10px;

    font-size:12.5px;
    color:#ffffff;
}


/* Footer Bottom Links */

.footer-bottom a{
    color:#ffffff;
    text-decoration:none;
}

.footer-bottom a:hover{
    color:#ffffff;
}
.college-erp-footer-description{

    max-width:360px;

    margin:0 0 20px;

    color:#ffffff !important;

    font-size:12px;

    line-height:1.8;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:760px){

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

}


@media (max-width:500px){

    .footer-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

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

}
/* page hero (inner pages) */
.page-hero{ padding:56px 0 44px; border-bottom:1px solid var(--line); }
.breadcrumb{ font-family:var(--font-body); font-size:12px; color:var(--ink-soft); margin-bottom:14px; }
.breadcrumb a{ color:var(--brand); font-weight:600; }
.page-hero h1{ font-size:clamp(28px,3.6vw,42px); max-width:20ch; color:var(--brand); }
.page-hero p{ color:var(--ink-soft); max-width:60ch; font-size:16.5px; }

/* utility */
.center{ text-align:center; }
.mt-0{margin-top:0;}
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.mini-badge{ font-family:var(--font-body); font-size:11.5px; font-weight:600; border:1px solid var(--rule-strong); padding:6px 12px; border-radius:999px; color:var(--ink-soft); background:#fff; }
.section-alt .mini-badge{ border-color:var(--line); }
.cta-band{ background:var(--brand); color:#fff; border-radius:var(--radius-lg); padding:48px 40px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; box-shadow:0 24px 60px rgba(227,28,121,.28); }
.cta-band h2{ color:#fff; font-size:clamp(22px,2.8vw,30px); margin:0; }
.cta-band .btn-ink{ flex-shrink:0; }

/* floating contact buttons (School Parent App style) */
.float-actions{ position:fixed; right:22px; bottom:22px; display:flex; flex-direction:column; gap:12px; z-index:60; }
.float-actions a{
  width:52px;height:52px;border-radius:50%; display:flex;align-items:center;justify-content:center;
  color:#fff; font-size:20px; box-shadow:0 10px 24px rgba(0,0,0,.22); transition:transform .2s ease;
}
.float-actions a:hover{ transform:translateY(-3px) scale(1.05); }
.float-actions .fa-whatsapp{ background:#25D366; }
.float-actions .fa-call{ background:var(--brand); }

.erp-navbar-logo{
    width:52px;
    height:52px;
    flex:0 0 52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    overflow:hidden;
    background:#fff;
}

.erp-navbar-logo img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}
