/*
Theme Name: Yenopoya Theme
Theme URI: http://localhost/yenopoya-world
Author: Trae Assistant
Description: Custom theme built from Figma design. Mobile-first and fully responsive.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: yenopoya
*/

/*
Theme Name: Yenopoya World
Theme URI: https://example.com
Author: Your Name
Description: Custom WordPress theme for The Yenopoya World School
Version: 1.0
*/

@font-face {
    font-family: 'Futura Md BT';
    src: local('Futura Md BT'), local('FuturaBT-Medium'),
         url('assets/fonts/futura-md-bt.woff2') format('woff2'),
         url('assets/fonts/futura-md-bt.woff') format('woff'),
         url('assets/fonts/futura-md-bt.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Md BT';
    src: local('Futura Md BT Bold'), local('FuturaBT-Bold'),
         url('assets/fonts/futura-md-bt-bold.woff2') format('woff2'),
         url('assets/fonts/futura-md-bt-bold.woff') format('woff'),
         url('assets/fonts/futura-md-bt-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: 'Futura Md BT', 'Futura', -apple-system, Segoe UI, Arial, sans-serif;
    color: #333;
}

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

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

.container{
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}
/* Top Bar */
.top-bar {
    background: #dff4f8;
    text-align: center;
    padding: 8px;
    font-size: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    position: relative;
    z-index: 200;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-link { display: inline-flex; align-items: center; gap: 8px; }

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}
@media (max-width: 640px) {
    .nav-menu ul {
        flex-wrap: wrap;
        gap: 12px 16px;
        justify-content: center;
    }
}

.nav-menu li a {
    font-size: 20px;
    font-weight: 500;
}

/* Mobile nav toggle */
.nav-toggle{
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
}
.nav-toggle span{
    width: 22px;
    height: 2px;
    background: #111827;
    display: block;
    position: relative;
}
.nav-toggle span + span{ margin-top: 5px; }

@media (max-width: 768px){
    .nav-toggle{ display: inline-flex; }
    .nav-menu{
        position: absolute;
        top: 100%;
        right: 16px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.08);
        padding: 10px 14px;
        display: none;
        z-index: 100;
    }
    .nav-menu.open{ display: block; }
    .nav-menu ul{ flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Hero Images */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
}
@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 2fr 1fr 1fr;
        padding: 20px 60px;
    }
}

.hero-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
@media (min-width: 750px) {
    .hero-grid img { height: 460px; }
}

/* Title Section */
.title-section {
    text-align: center;
    padding: 50px 20px;
}

.title-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.title-section p {
    max-width: 700px;
    margin: auto;
    font-size: 15px;
    color: #666;
}

/* Gallery */
.gallery {
    padding: 20px 0 60px;
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #f5f5f5;
    text-align: center;
    padding: 15px;
    font-size: 13px;
}

/* Responsive gallery grid */
.gallery .gallery-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

@media (min-width: 640px) {
    .gallery .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Consistent aspect ratio for gallery images */
.gallery .gallery-grid img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.at-a-glance {
    padding: 40px 0 24px;
    background: #ffffff;
}
.glance-header h2 {
    font-size: 32px;
    margin: 0 0 6px;
}
.glance-header p {
    margin: 0 0 20px;
    color: #7a7a7a;
    font-size: 14px;
}
.glance-stats {
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
    background: #fff;
}
.glance-stats .stat {
    text-align: center;
}
.glance-stats .value {
    font-size: 28px;
    font-weight: 600;
    color: #94a3c6;
}
.glance-stats .label {
    font-size: 12px;
    color: #6b7280;
}
.glance-quote {
    margin-top: 24px;
    text-align: right;
    font-style: italic;
    color: #7a7a7a;
}
@media (max-width: 900px) {
    .glance-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .glance-quote {
        text-align: left;
    }
}
@media (max-width: 520px) {
    .glance-stats {
        grid-template-columns: 1fr;
    }
}

.cta-education {
    position: relative;
    background: #d8ecf6;
    padding: 48px 0;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08) inset;
}
.cta-education::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 90px solid transparent;
    border-top: 90px solid #bcd8e8;
    filter: drop-shadow(-6px -6px 6px rgba(0,0,0,0.08));
}
.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}
.cta-illustration {
    position: absolute;
    left: 40px;
    bottom: 12px;
    width: 140px;
    height: 100px;
    background: linear-gradient(180deg, #f3f7fb 0%, #e9f1f7 100%);
    border: 1px solid #d6e1ea;
    border-radius: 6px;
    transform: rotate(-10deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.cta-education h3 {
    margin: 0;
    text-align: center;
    font-size: 22px;
    color: #4b5563;
    grid-column: 1 / -1;
}
.btn-enroll {
    justify-self: center;
    display: inline-block;
    padding: 10px 18px;
    background: #ffffff;
    color: #111827;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
@media (min-width: 720px) {
    .cta-inner {
        grid-template-columns: 1fr auto 1fr;
    }
    .cta-education h3 {
        grid-column: 2;
    }
    .btn-enroll {
        grid-column: 3;
        justify-self: start;
    }
}

.inquire {
    background: #f7fbff;
    padding: 56px 0;
    position: relative;
}
.inquire::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, #e6eef5 0 1px, transparent 1px 36px),
        repeating-linear-gradient(90deg, #e6eef5 0 1px, transparent 1px 36px);
    opacity: .55;
    pointer-events: none;
}
.inquire-header {
    text-align: center;
    position: relative;
    z-index: 1;
}
.inquire-icon {
    width: 56px;
    height: 40px;
    margin: 0 auto 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* Simple paper plane SVG */
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='40' viewBox='0 0 56 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 20 L54 2 42 38 28 26 18 30 22 20 2 20 Z' fill='none' stroke='%2399A3AF' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
    opacity: .85;
}
.inquire-header h2 {
    margin: 0;
    font-size: 34px;
}
.inquire-header p {
    margin: 6px 0 28px;
    color: #7a7a7a;
}
.inquire-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}
@media (min-width: 960px) {
    .inquire-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}
.info-panel {
    background: linear-gradient(180deg, #d7ecf6 0%, #cfe8f4 100%);
    border-radius: 8px;
    padding: 28px;
    position: relative;
    min-height: 260px;
    box-shadow: 0 18px 36px rgba(17,24,39,0.08);
}
.info-panel h3 { margin: 0 0 10px; font-size: 26px; }
.info-panel p { margin: 0 0 18px; color: #4b5563; }
.btn-secondary {
    display: inline-block;
    padding: 10px 16px;
    background: #fff;
    color: #111827;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}
.info-illustration {
    position: absolute;
    right: 18px;
    bottom: 12px;
    width: 92px;
    height: 64px;
    background: linear-gradient(180deg,#f4f7fa,#e9f1f7);
    border: 1px solid #d6e1ea;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.list-panel {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}
.list-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 64px;
    background: #6b4fd3;
    border-radius: 0 0 6px 0;
}
.list-item {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
    position: relative;
}
.list-item:last-child { border-bottom: 0; }
.li-title { font-weight: 700; font-size: 20px; }
.li-desc { color: #6b7280; font-size: 14px; grid-column: 1 / -1; margin-top: 4px; }
.list-item::after {
    content: "→";
    grid-column: 2;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: #374151;
    background: #fff;
}
@media (min-width: 720px) {
    .li-desc { grid-column: 1; }
    .list-item::after { margin-left: 16px; }
}

.quick-links {
    padding: 24px 0 64px;
    background: #f7fbff;
}
.ql-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 900px) {
    .ql-grid { grid-template-columns: repeat(3, 1fr); }
}
.ql-card {
    display: grid;
    place-items: center;
    height: 160px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.ql-academics { background: #8ec9d8; }
.ql-students { background: #a4d4df; }
.ql-admissions { background: #b7dfe6; }

.btn-secondary:hover,
.btn-enroll:hover {
    filter: brightness(0.98);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.contact-cta {
    position: relative;
    padding: 0;
    margin: 12px 0 24px;
}
.contact-cta-media {
    position: relative;
    height: 360px;
    overflow: hidden;
}
@media (max-width: 720px) {
    .contact-cta-media { height: 240px; }
}
@media (min-width: 1200px) {
    .contact-cta-media { height: 420px; }
}
.contact-cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.contact-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 100%);
}
.contact-cta-shadow {
    position: absolute;
    left: 0; right: 0; bottom: -10px; height: 20px;
    filter: blur(8px);
    background: rgba(0,0,0,0.12);
}
.contact-cta-inner {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    padding: 16px;
}
.contact-cta-inner h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 600;
}
.contact-cta-inner p {
    margin: 0 0 16px;
    opacity: .95;
}
.btn-contrast {
    display: inline-block;
    padding: 12px 18px;
    background: #ffffff;
    color: #111827;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
}

.discover {
    position: relative;
    padding: 36px 0 48px;
}
.discover-header {
    text-align: center;
    margin-bottom: 12px;
}
.discover-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 6px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%2399A3AF' stroke-width='2' fill='none'/%3E%3Cpath d='M12 7v6l4 2' stroke='%2399A3AF' stroke-width='2' fill='none' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: .7;
}
.discover-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .discover-grid { grid-template-columns: repeat(3, 1fr); }
}
.discover-card {
    display: block;
    text-align: center;
    padding: 10px;
    color: inherit;
}
.dc-frame {
    display: block;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    margin-bottom: 12px;
}
.dc-frame img { width: 100%; height: 180px; object-fit: cover; display: block; border-radius: 6px; }
.dc-icon {
    position: absolute;
    width: 28px; height: 28px;
    transform: translate(10px, 10px);
    background: rgba(180, 224, 235, 0.95);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.discover-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.discover-card p { margin: 0; color: #6b7280; font-size: 14px; }
.discover-cta { text-align: center; margin-top: 16px; }

.testimonials {
    position: relative;
    padding: 40px 0 60px;
}
.testi-wrap {
    display: grid;
    gap: 24px;
}
@media (min-width: 960px) {
    .testi-wrap { grid-template-columns: 1fr 1fr; align-items: center; }
}
.testi-aside h2 { margin: 0 0 6px; font-size: 28px; }
.testi-aside p { margin: 0 0 14px; color: #7a7a7a; }
.testi-quote-mark { font-size: 48px; color: #cbd5e1; line-height: 1; }
.testi-quote {
    margin: 10px 0 0;
    padding: 12px 16px;
    border-left: 3px solid #94a3c6;
    background: #f8fbff;
    border-radius: 6px;
}
.testi-quote footer { margin-top: 6px; color: #6b7280; font-style: italic; }
.testi-media .tm-grid {
    display: grid;
    gap: 12px;
}
@media (min-width: 720px) {
    .testi-media .tm-grid { grid-template-columns: 1fr 1fr; }
}
.testi-media img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.tm-dots { margin-top: 10px; text-align: center; }
.tm-dots .dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: #cbd5e1; margin: 0 3px;
}
.tm-dots .dot.active { background: #6b4fd3; }

.inquire-form-header {
    background: #f7fbff;
    padding: 28px 0 18px;
    position: relative;
}
.inquire-form-header .wrap { text-align: center; }
.inquire-form-header h2 { margin: 0; font-size: 32px; }
.inquire-form-header p { margin: 6px 0 0; color: #7a7a7a; }
.inquire-form-bg {
    position: relative;
    min-height: 420px;
}
.inquire-form-bg img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.form-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(760px, 92vw);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    padding: 22px 22px 16px;
}
.form-card .fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
}
.form-card .fields .full-row { grid-column: 1 / -1; }
.form-card input,
.form-card textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d1d5db;
    background: transparent;
    padding: 10px 6px;
    border-radius: 0;
    font-family: inherit;
    color: #111827;
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: #6b7280; }
.form-card .form-actions { text-align: center; margin-top: 14px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1px, 1px);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 640px) {
    .form-card .fields { grid-template-columns: 1fr; }
}

.brand-panel {
    position: relative;
    margin-top: 24px;
}
.brand-panel-inner {
    background: #d8ecf6;
    padding: 48px 16px;
    text-align: center;
    position: relative;
}
.brand-panel-inner::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -22px; height: 22px;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), transparent);
    filter: blur(4px);
}
.brand-symbol {
    width: 64px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}
.brand-panel-inner h2 { margin: 0 0 6px; font-size: 28px; }
.brand-panel-inner p { margin: 0 0 14px; color: #4b5563; }
.brand-links {
    background: #f7fbff;
    padding: 20px 0 28px;
}
.brand-links-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 900px) {
    .brand-links-grid { grid-template-columns: repeat(4, 1fr); }
}
.brand-links-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.9;
}
.brand-links-grid a { color: #374151; text-decoration: none; }
.brand-links-grid a:hover { text-decoration: underline; }
.brand-social {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}
.brand-social .soc {
    width: 34px;
    height: 34px;
    display: inline-block;
    border-radius: 50%;
    background: #111827;
    position: relative;
}
.brand-social .soc::after {
    content: "";
    position: absolute;
    inset: 9px;
    background: #fff;
    border-radius: 2px;
}
.brand-social .fb { background: #1877f2; }
.brand-social .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.brand-social .yt { background: #ff0000; }


p{
    font-weight:400;

font-style:Light;

Size:30px;

line-height:43px;
letter-spacing: 0.9px;

}
