/* =====================================================================
   Public school website - home page styles
   Served from: public/assets/web/css/home.css
   Rendered by: resources/views/front/home.blade.php
   ===================================================================== */
:root {
    --primary: #1565C0;
    --secondary: #42A5F5;
    --accent: #fd5c1e;
    --ink: #15253c;
    --muted: #617187;
    --line: #e5eaf0;
    --pale: #f3f8ff;
    --radius: 22px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 15px/1.65 'DM Sans', sans-serif
}

h1,
h2,
h3,
h4 {
    font-family: Manrope, sans-serif;
    line-height: 1.18;
    letter-spacing: -.035em
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.eyebrow:before {
    content: '';
    width: 18px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px
}

.muted {
    color: var(--muted)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 12px;
    color: white;
    padding: 12px 19px;
    font-weight: 700;
    transition: .2s
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px #1565c033
}

.btn.ghost {
    background: #fff;
    color: var(--primary);
    border-color: #c9dcef
}

.btn.orange {
    background: var(--accent);
    border-color: var(--accent)
}

.d-none{
    display: none;
}

.section {
    padding: 82px 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 38px
}

.section-head h2 {
    font-size: clamp(26px, 3.2vw, 39px);
    margin: 10px 0 0
}

.section-head p {
    max-width: 420px;
    margin: 0;
    color: var(--muted)
}

.topbar {
    background: #102b4d;
    color: #dbe9f7;
    font-size: 12px
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0
}

.topbar a:hover {
    color: #fff
}

.header {
    position: sticky;
    top: 0;
    background: #fffffff2;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #eaf0f6;
    z-index: 20
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    min-width: 0
}

.brand img {
    height: 55px;
    object-fit: contain
}

.brand strong {
    display: block;
    font: 800 18px/1.2 Manrope, sans-serif;
    letter-spacing: -.04em
}

.brand small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 700
}

.nav a:hover {
    color: var(--primary)
}

.menu {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 13px;
    border-radius: 10px
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #f0f7ff 0%, #fff 55%, #eaf5ff 100%)
}

.hero:before {
    content: '';
    position: absolute;
    width: 530px;
    height: 530px;
    border-radius: 50%;
    background: #d8ecff8a;
    right: -170px;
    top: -260px
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 95px
}

.hero h1 {
    font-size: clamp(39px, 5vw, 65px);
    margin: 19px 0 19px
}

.hero h1 span {
    color: var(--primary)
}

.hero p {
    max-width: 510px;
    color: var(--muted);
    font-size: 16px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0
}

.hero-chips {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #536780;
    font-size: 12px;
    font-weight: 700
}

.hero-chips span:before {
    content: '✓';
    color: var(--primary);
    margin-right: 6px
}

.hero-visual {
    position: relative;
    padding: 15px 15px 0 0
}

.hero-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 120px 24px 24px 24px;
    box-shadow: 0 30px 60px #183e6926
}

.page-header{background:linear-gradient(115deg,#f0f7ff 0%,#fff 55%,#eaf5ff 100%);padding:60px 0;text-align:center}.page-header h1{font-size:clamp(34px,4.5vw,52px);margin:10px 0}.page-header p{max-width:550px;margin:auto;color:var(--muted)}

.floating {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: white;
    padding: 17px 21px;
    border: 1px solid #e8eef6;
    border-radius: 17px;
    box-shadow: 0 18px 40px #153a641a;
    max-width: 245px
}

.floating strong {
    display: block;
    font: 800 19px Manrope;
    color: var(--primary)
}

.floating span {
    font-size: 12px;
    color: var(--muted)
}

.quick {
    position: relative;
    margin-top: -37px;
    z-index: 2
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.quick a {
    background: white;
    padding: 23px;
    border-radius: 17px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 32px #1b4a7c0b;
    transition: .2s
}

.quick a:hover {
    transform: translateY(-4px);
    border-color: #b5d5f5
}

.quick .symbol {
    display: grid;
    place-items: center;
    background: #edf6ff;
    border-radius: 13px;
    width: 45px;
    height: 45px;
    font-size: 22px;
    margin-bottom: 15px
}

.quick strong {
    display: block;
    font: 800 15px Manrope
}

.quick small {
    display: block;
    color: var(--muted);
    margin-top: 5px
}

.quick em {
    display: block;
    font-style: normal;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    margin-top: 15px
}

.about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 65px;
    align-items: center
}

.about-photo {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 25px
}

.about h2 {
    font-size: clamp(27px, 3.2vw, 40px);
    margin: 12px 0 17px
}

.about p {
    color: var(--muted)
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 26px 0
}

.mini-stats div {
    border-left: 3px solid var(--secondary);
    padding-left: 12px
}

.mini-stats strong {
    display: block;
    font: 800 23px Manrope;
    color: var(--primary)
}

.mini-stats small {
    font-size: 11px;
    color: var(--muted)
}

.soft {
    background: #f6f9fd
}

/* Vision & Mission Cards */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.vision-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 10px 30px #1b4a7c08
}

.vision-card .icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
    background: var(--pale);
    padding: 12px;
    border-radius: 14px
}

.vision-card h3 {
    font-size: 22px;
    margin: 0 0 12px
}

.vision-card p {
    color: var(--muted);
    margin: 0;
    font-size: 15px
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.why-item {
    background: white;
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 18px;
    transition: .2s
}

.why-item:hover {
    border-color: var(--secondary);
    transform: translateY(-3px)
}

.why-item h4 {
    font-size: 17px;
    margin: 14px 0 8px
}

.why-item p {
    color: var(--muted);
    font-size: 14px;
    margin: 0
}

.why-icon {
    font-size: 26px
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.feature-box {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    text-align: center
}

.feature-box span {
    font-size: 30px;
    display: block;
    margin-bottom: 12px
}

.feature-box h4 {
    font-size: 15px;
    margin: 0 0 6px
}

.feature-box p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.activity-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 240px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15)
}

.activity-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: .4s
}

.activity-card:hover img {
    transform: scale(1.05)
}

.activity-card:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 30, 55, 0.85) 0%, rgba(10, 30, 55, 0.1) 70%);
    z-index: 2
}

.activity-content {
    position: relative;
    z-index: 3
}

.activity-content h4 {
    margin: 0 0 4px;
    font-size: 18px;
    color: #fff
}

.activity-content p {
    margin: 0;
    font-size: 13px;
    color: #dbe9f7
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.testimonial-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    position: relative
}

.testimonial-card p {
    color: var(--muted);
    font-size: 14px;
    font-style: italic;
    margin: 0 0 18px
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px
}

.testimonial-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-family: Manrope
}

.testimonial-author small {
    color: var(--muted);
    font-size: 12px
}

.news-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 27px
}

.panel h3 {
    font-size: 20px;
    margin: 0 0 20px
}

.notice {
    border-top: 1px solid var(--line);
    padding: 15px 0
}

.notice:first-of-type {
    border: 0;
    padding-top: 0
}

.notice time {
    font-size: 11px;
    color: var(--primary);
    font-weight: 800
}

.notice h4 {
    margin: 4px 0;
    font-size: 14px
}

.notice p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.text-link {
    color: var(--primary);
    font-weight: 800;
    font-size: 13px
}

.event {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 17px 0
}

.event-date {
    min-width: 58px;
    padding: 8px;
    border-radius: 12px;
    background: #eaf4ff;
    text-align: center;
    color: var(--primary);
    font: 800 22px Manrope
}

.event-date small {
    display: block;
    font: 800 10px 'DM Sans';
    letter-spacing: .1em
}

.event strong {
    font-size: 14px
}

.event p {
    margin: 2px 0;
    font-size: 12px;
    color: var(--muted)
}

.gallery {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 14px
}

.gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 16px
}

.faq-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 55px
}

.faq-grid h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin: 12px 0
}

.faq-grid p {
    color: var(--muted)
}

.faq-list {
    display: grid;
    gap: 10px
}

.faq-list details {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 20px
}

.faq-list details[open] {
    border-color: #a9ccef;
    box-shadow: 0 8px 24px #0d4c8810
}

.faq-list summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 5px 0;
    font-weight: 800;
    font-size: 14px
}

.faq-list summary::-webkit-details-marker {
    display: none
}

.faq-list summary:after {
    content: '+';
    color: var(--primary);
    font-size: 23px;
    font-weight: 400
}

.faq-list details[open] summary:after {
    content: '−'
}

.faq-list details p {
    border-top: 1px solid var(--line);
    margin: 0;
    padding: 14px 0 18px;
    font-size: 13px
}

.enquiry {
    padding: 82px 0;
    background: linear-gradient(125deg, #0c3975, #1565c0 65%, #278de6);
    color: white
}

.enquiry-grid {
    display: grid;
    grid-template-columns: .83fr 1.17fr;
    gap: 70px;
    align-items: center
}

.enquiry .eyebrow {
    color: #b9ddff
}

.enquiry h2 {
    font-size: clamp(30px, 3.5vw, 45px);
    margin: 14px 0
}

.enquiry p {
    color: #d8e9fa
}

.enquiry-points {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    font-size: 14px
}

.enquiry-points span:before {
    content: '✓';
    margin-right: 11px;
    color: #ffb58e
}

.form-card {
    background: white;
    color: var(--ink);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 22px 60px #07264b42
}

.form-card h3 {
    font-size: 22px;
    margin: 0 0 5px
}

.form-card>p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 20px
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.field {
    display: grid;
    gap: 6px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: 12px;
    font-weight: 800
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    padding: 11px 12px;
    outline: none;
    background: #fff;
    color: var(--ink)
}

.field :is(input, select, textarea):focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px #42a5f522
}

.field textarea {
    min-height: 100px;
    resize: vertical
}

.form-card .btn {
    width: 100%;
    margin-top: 18px
}

.form-note {
    font-size: 11px;
    color: var(--muted) !important;
    margin: 12px 0 0 !important
}

.form-status {
    font-size: 13px;
    margin-top: 12px;
    min-height: 20px;
    color: #b13d14
}

.footer {
    background: #0d213a;
    color: #c7d5e7;
    padding: 64px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(150px, .8fr) minmax(0, 1.1fr);
    gap: 52px
}

.footer h3 {
    color: white;
    font-size: 15px;
    margin: 0 0 17px
}

.footer p,
.footer a {
    font-size: 13px;
    color: #bdcde1
}

.footer p {
    line-height: 1.7;
    margin: 0 0 12px
}

.footer a {
    display: block;
    margin: 0 0 9px
}

.footer a:hover {
    color: white
}

.footer .brand {
    margin-bottom: 18px
}

.footer-brand > p {
    max-width: 360px;
    margin-bottom: 0
}

.footer-contact p a {
    display: inline;
    margin: 0;
    overflow-wrap: anywhere
}

.footer .brand strong {
    color: white
}

.footer .brand small {
    color: #b3c5d9
}

.footer .brand img {
    background: white;
    border-radius: 12px;
    padding: 3px
}

.social {
    display: flex;
    gap: 9px;
    margin-top: 19px
}

.social a {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #52647c;
    border-radius: 10px;
    font-weight: 800;
    margin: 0
}

.copyright {
    border-top: 1px solid #30425b;
    margin-top: 52px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 12px
}

.copyright a {
    display: inline;
    font-size: 12px
}

.copyright span {
    color: #b3c5d9
}

@media(max-width:980px) {
    .nav {
        gap: 13px
    }

    .hero-grid {
        gap: 25px
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .enquiry-grid {
        gap: 35px
    }

    .why-grid,
    .features-grid,
    .testimonial-grid,
    .activities-grid,
    .vision-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    .topbar {
        display: none
    }

    .header-inner {
        height: 72px
    }

    .menu {
        display: block;
        margin-left: auto
    }

    .header .btn {
        display: none
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 18px 24px #12385a24;
        padding: 18px 25px;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line)
    }

    .hero-grid,
    .about-grid,
    .news-grid,
    .faq-grid,
    .enquiry-grid,
    .why-grid,
    .features-grid,
    .testimonial-grid,
    .activities-grid,
    .vision-grid {
        grid-template-columns: 1fr
    }

    .hero-grid {
        padding-top: 52px;
        gap: 35px
    }

    .hero-photo {
        height: 310px
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .section {
        padding: 60px 0
    }

    .section-head {
        display: block
    }

    .section-head p {
        margin-top: 10px
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr)
    }

    .gallery img {
        height: 175px
    }

    .gallery img:first-child {
        grid-column: 1/-1
    }

    .enquiry {
        padding: 60px 0
    }
}

@media(max-width:480px) {
    .container {
        width: min(100% - 28px, 1160px)
    }

    .brand img {
        height: 43px
    }

    .brand strong {
        font-size: 15px
    }

    .brand small {
        font-size: 10px
    }

    .hero h1 {
        font-size: 38px
    }

    .hero-photo {
        height: 260px
    }

    .floating {
        left: 8px;
        bottom: -25px
    }

    .quick a {
        padding: 16px
    }

    .fields {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .footer-grid>div {
        grid-column: auto
    }

    .copyright {
        flex-direction: column
    }

    .form-card {
        padding: 21px
    }
}
