
/* =========================
   LAPTOP / DESKTOP ONLY
   ========================= */
@media (min-width: 992px) {

    /* STICKY HEADER */
    .ast-primary-header-bar {
        position: sticky;
        top: 0;
        z-index: 9999;

        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(10px);
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 9999;
    }

    /* OPTIONAL FOOTER FIX (if you enable it) */
    /*
    .site-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
    }
    */

    /* SPACE FOR FOOTER ONLY ON DESKTOP */
    body {
        padding-bottom: 80px;
    }
}
/* =========================
   PAGE WRAPPER
   ========================= */
.page-flow {
    width: 100%;
    overflow-x: hidden;
}

/* =========================
   HERO WRAPPER
   ========================= */
.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100vh;

    padding: 20px;

    background: radial-gradient(circle at 20% 30%, #e8f4ff, #f7fff9 60%, #fffdf3);
}

/* =========================
   HERO CARD (GLASS STYLE)
   ========================= */
.g1 {
    max-width: 780px;
    width: 100%;

    padding: 40px 25px;

    display: flex;
    flex-direction: column;
    gap: 20px;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

    position: relative;
    overflow: hidden;

    animation: fadeUp 1s ease;
}

/* =========================
   GLOW EFFECT (ORIGINAL)
   ========================= */
.g1::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;

    top: -100px;
    right: -100px;

    background: radial-gradient(circle,
        rgba(135, 206, 250, 0.35),
        rgba(144, 238, 144, 0.25),
        rgba(255, 235, 150, 0.20),
        transparent 70%
    );

    filter: blur(25px);

    animation: moveGlow 10s linear infinite alternate;
}

/* LIGHT SWEEP */
.g1::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        rgba(230,255,240,0.4),
        transparent
    );

    transform: skewX(-20deg);

    animation: sweep 6s infinite;
}

.g1 > * {
    position: relative;
    z-index: 2;
}

/* =========================
   H1 (YOUR ORIGINAL STYLE)
   ========================= */
.g1 h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;

    background: linear-gradient(270deg,
        #4da6ff,
        #7bdff2,
        #a0e7a0,
        #ffeaa7
    );

    background-size: 300%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: gradientMove 6s ease infinite;
}

/* =========================
   H3 (UPDATED — FAINT GREY)
   ========================= */
.g1 h3 {
    font-size: 16px;
    color: #6b7a90; /* faint grey */
    line-height: 1.7;
    max-width: 600px;
}

/* =========================
   BUTTONS (.b1)
   ========================= */
.g1 .btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.g1 .b1 {
    padding: 13px 24px;
    border-radius: 14px;

    font-size: 14px;
    font-weight: 600;

    border: none;
    cursor: pointer;

    transition: 0.3s ease;
}

/* PRIMARY */
.g1 .b1:nth-child(1) {
    background: linear-gradient(135deg, #ffffff, #eaf4ff);
    color: #1f3c88;

    box-shadow: 0 6px 18px rgba(77,166,255,0.25);
}

.g1 .b1:nth-child(1):hover {
    transform: translateY(-3px);
}

/* SECONDARY */
.g1 .b1:nth-child(2) {
    background: linear-gradient(135deg, #ffeaa7, #7bdff2);
    color: #1f2d3d;

    box-shadow: 0 6px 18px rgba(255,234,167,0.35);
}

.g1 .b1:nth-child(2):hover {
    transform: translateY(-3px);
}

/* =========================
   IMAGE (.i1) — ADVANCED
   ========================= */
.g1 .i1 {
    width: 100%;
    max-width: 100%;
    margin: 14px auto 0;

    padding: 6px;
    border-radius: 20px;

    /* MULTI-LAYER GRADIENT */
    background: linear-gradient(135deg,
        #4da6ff,
        #7bdff2,
        #ffeaa7,
        #a0e7a0
    );

    position: relative;

    /* DEPTH */
    box-shadow:
        0 10px 25px rgba(77,166,255,0.25),
        0 20px 45px rgba(0,0,0,0.15);

    transition: all 0.4s ease;
}

/* INNER IMAGE */
.g1 .i1 img {
    width: 100%;
    display: block;

    border-radius: 16px;

    background: #fff;
}

/* SOFT GLOW LAYER */
.g1 .i1::before {
    content: "";
    position: absolute;
    inset: -3px;

    border-radius: 22px;

    background: linear-gradient(270deg,
        #4da6ff,
        #7bdff2,
        #ffeaa7,
        #a0e7a0
    );

    background-size: 300%;
    filter: blur(14px);
    opacity: 0.6;

    z-index: 0;

    animation: borderFlow 8s linear infinite;
}

/* KEEP IMAGE ABOVE GLOW */
.g1 .i1 img {
    position: relative;
    z-index: 2;
}

/* HOVER EFFECT (DESKTOP ONLY FEEL) */
.g1 .i1:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 15px 35px rgba(77,166,255,0.35),
        0 30px 60px rgba(0,0,0,0.2);
}

/* =========================
   RESPONSIVE SIZE
   ========================= */
@media (min-width: 600px) {
    .g1 .i1 {
        max-width: 85%;
    }
}

@media (min-width: 992px) {
    .g1 .i1 {
        max-width: 60%;
    }
}

@media (min-width: 1200px) {
    .g1 .i1 {
        max-width: 50%;
    }
}

/* =========================
   ANIMATION
   ========================= */
@keyframes borderFlow {
    0% { background-position: 0% }
    100% { background-position: 100% }
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes gradientMove {
    0% { background-position: 0% }
    50% { background-position: 100% }
    100% { background-position: 0% }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes moveGlow {
    from { transform: translate(0,0); }
    to { transform: translate(-30px, 30px); }
}

@keyframes sweep {
    0% { left: -120%; }
    100% { left: 120%; }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 600px) {

    .g1 {
        padding: 28px 18px;
    }

    .g1 h1 {
        font-size: 26px;
    }

    .g1 h3 {
        font-size: 14px;
    }

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

/* =========================
   DESKTOP
   ========================= */
@media (min-width: 768px) {

    .g1 {
        padding: 50px 40px;
    }

    .g1 h1 {
        font-size: 46px;
    }

    .g1 h3 {
        font-size: 18px;
    }
}
/* ---------------- SECTION (G2) ---------------- */

.g2 {
    min-height: 100vh;

    padding: 80px 20px;

    display: flex;
    flex-direction: column;
    gap: 30px;

    /* SOFT GREEN + SKY BACKGROUND */
    background: linear-gradient(180deg, #ffffff, #f4fff6, #fffdf3);

    animation: fadeIn 1s ease forwards;
}

/* CARDS */
.g2 .card {
    background: #fff;

    padding: 25px;
    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    transition: 0.3s ease;
}

.g2 .card:hover {
    transform: translateY(-5px);
}

/* ANIMATIONS */
@keyframes floatCard {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes moveGlow {
    0% { transform: translate(0,0); }
    100% { transform: translate(-40px, 40px); }
}

@keyframes gradientMove {
    0% { background-position: 0% }
    50% { background-position: 100% }
    100% { background-position: 0% }
}

@keyframes sweep {
    0% { left: -120%; }
    100% { left: 120%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

/* MOBILE */
@media (max-width: 768px) {

    .hero-wrapper {
        padding: 0 16px;
    }

    .g1 {
        padding: 35px 22px;
    }

    .g1 h1 {
        font-size: 30px;
    }

    .g2 {
        padding: 60px 16px;
    }
}
/* SECTION g2 */
.g2 {
    margin-top: 40px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* HEADING */
.eow {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a5f;
    position: relative;
    padding-left: 14px;
}

.eow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: linear-gradient(to bottom, #4da6ff, #fff3b0);
    border-radius: 3px;
}

/* GRID */
.g2 .wp-block-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* BUTTON WRAPPER */
.g2 .wp-block-button {
    width: 100%;
}

/* CARD BUTTON STYLE */
.g2 .wp-block-button__link {
    display: block !important;
    width: 100%;

    padding: 16px 14px !important;

    font-size: 14px;
    font-weight: 600;

    color: #1e3a5f !important;
    background: #ffffff !important;

    border-radius: 12px !important;
    border: 1px solid #e4edf7 !important;

    text-align: left !important;

    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;

    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

/* LEFT ACCENT BAR INSIDE BUTTON */
.g2 .wp-block-button__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;

    background: linear-gradient(to bottom, #4da6ff, #fff3b0);
    border-radius: 4px;
}

/* HOVER EFFECT (SAFE + VISIBLE TEXT) */
.g2 .wp-block-button__link:hover {
    background: #f5faff !important;
    color: #1e3a5f !important;

    transform: translateY(-4px);

    border-color: #4da6ff !important;

    box-shadow: 0 12px 24px rgba(30,144,255,0.15);
}

/* HOVER GLOW EFFECT */
.g2 .wp-block-button__link::after {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at top right, rgba(77,166,255,0.15), transparent 60%);
    opacity: 0;
    transition: 0.3s;
}

.g2 .wp-block-button__link:hover::after {
    opacity: 1;
}

/* ACTIVE CLICK */
.g2 .wp-block-button__link:active {
    transform: scale(0.97);
}

/* HIGHLIGHT IMPORTANT BUTTONS */
.g2 .wp-block-button:nth-child(10) .wp-block-button__link,
.g2 .wp-block-button:nth-child(9) .wp-block-button__link {
    border: 1px solid #4da6ff !important;
    background: #eef6ff !important;
}

/* DESKTOP */
@media (min-width: 768px) {
    .g2 .wp-block-buttons {
        grid-template-columns: repeat(4, 1fr);
    }

    .eow {
        font-size: 28px;
    }
}
body::before {
    content: "";
    position: absolute; /* changed from fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background:
        radial-gradient(circle at 15% 25%, rgba(77,166,255,0.22), transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(255,223,120,0.28), transparent 45%),
        radial-gradient(circle at 60% 75%, rgba(120,180,255,0.22), transparent 50%),
        radial-gradient(circle at 40% 50%, rgba(0,0,0,0.03), transparent 60%);

    filter: blur(20px);
    z-index: -1;
}
/* =========================
   ROOT VARIABLES (COLORS)
========================= */
:root {
    --primary: #1e3a5f;
    --accent: #4da6ff;
    --soft-yellow: #fff3b0;

    --bg-light: #f7fbff;
    --card-bg: rgba(255, 255, 255, 0.85);

    --text-dark: #2c3e50;
    --text-light: #6b7c93;

    --border: #e6eef7;
}

/* =========================
   MAIN SECTION
========================= */
.g3 {
    margin-top: 60px;
    padding: 60px 20px;

    display: flex;
    flex-direction: column;
    gap: 30px;

    background: linear-gradient(180deg, #ffffff, var(--bg-light));
}

/* =========================
   HEADING (H2)
========================= */
.g3 h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);

    position: relative;
    padding-left: 18px;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Accent Bar */
.g3 h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;

    background: linear-gradient(to bottom, var(--accent), var(--soft-yellow));
    border-radius: 4px;
}

/* =========================
   SUBTEXT
========================= */
.g3 p {
    font-size: 15.5px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 750px;
}

/* =========================
   LAYOUT GRID
========================= */
.g3-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .g3-columns {
        grid-template-columns: 320px 1fr;
        align-items: start;
    }
}

/* =========================
   LEFT PANEL (HIGHLIGHTS)
========================= */
.g3-left {
    padding: 18px;

    background: var(--card-bg);
    border-radius: 14px;
    border: 1px solid var(--border);

    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

/* H3 */
.g3 h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

/* LIST */
.g3 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g3 ul li {
    padding: 10px 12px;
    margin-bottom: 10px;

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

    background: #ffffff;

    font-size: 14px;
    color: var(--text-dark);

    transition: all 0.25s ease;
}

.g3 ul li:hover {
    transform: translateX(4px);
    border-color: var(--accent);
    background: #f5faff;
}

/* =========================
   RIGHT SIDE GRID (CARDS)
========================= */
.g3-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Desktop Cards Grid */
@media (min-width: 768px) {
    .g3-right {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   TOUR CARD
========================= */
.g3 .tour-card {
    padding: 18px;

    background: var(--card-bg);
    backdrop-filter: blur(8px);

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

    box-shadow: 0 10px 24px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    gap: 10px;

    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;
}

/* TOP GRADIENT LINE */
.g3 .tour-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;

    background: linear-gradient(to right, var(--accent), var(--soft-yellow));
}

/* HOVER */
.g3 .tour-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 32px rgba(30, 144, 255, 0.15);
}

/* =========================
   CARD CONTENT
========================= */
.g3 h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* DATE */
.g3 .date {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* SCHOOL LIST */
.g3 .schools {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* SCHOOL ITEMS */
.g3 .schools li {
    margin-bottom: 5px;
    padding-left: 14px;
    position: relative;
}

/* BULLET DOT */
.g3 .schools li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* =========================
   RESPONSIVE IMPROVEMENTS
========================= */
@media (min-width: 1024px) {
    .g3 {
        padding: 80px 60px;
    }

    .g3 h2 {
        font-size: 38px;
    }
}
/* home page cards */
/* =========================
   COLUMN CARD BASE (VERY IMPORTANT)
   Target WordPress columns inside g4 & g5
========================= */
.g4 .wp-block-column,
.g5 .wp-block-column {
  border-radius: 20px;
  padding: 25px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* Hover effect */
.g4 .wp-block-column:hover,
.g5 .wp-block-column:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* =========================
   G4 - EACH COLUMN DIFFERENT
========================= */
.g4 .wp-block-column:nth-child(1) {
  background: linear-gradient(135deg, #fff7cc, #e6f0ff);
}
.g4 .wp-block-column:nth-child(1) a {
  background: linear-gradient(135deg, #ffcc00, #007bff);
}

.g4 .wp-block-column:nth-child(2) {
  background: linear-gradient(135deg, #e6f7ff, #ffffff);
}
.g4 .wp-block-column:nth-child(2) a {
  background: linear-gradient(135deg, #00b0ff, #007bff);
}

.g4 .wp-block-column:nth-child(3) {
  background: linear-gradient(135deg, #fff0f5, #e6f0ff);
}
.g4 .wp-block-column:nth-child(3) a {
  background: linear-gradient(135deg, #ff6f91, #007bff);
}

/* =========================
   G5 - EACH COLUMN DIFFERENT
========================= */
.g5 .wp-block-column:nth-child(1) {
  background: linear-gradient(135deg, #f0fff4, #e6f7ff);
}
.g5 .wp-block-column:nth-child(1) a {
  background: linear-gradient(135deg, #00c853, #00b0ff);
}

.g5 .wp-block-column:nth-child(2) {
  background: linear-gradient(135deg, #fffbe6, #e6f7ff);
}
.g5 .wp-block-column:nth-child(2) a {
  background: linear-gradient(135deg, #ffb300, #00b0ff);
}

.g5 .wp-block-column:nth-child(3) {
  background: linear-gradient(135deg, #f9f0ff, #e6f0ff);
}
.g5 .wp-block-column:nth-child(3) a {
  background: linear-gradient(135deg, #9c27b0, #007bff);
}

/* =========================
   TEXT STYLE
========================= */
.g4 h3, .g5 h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.g4 p, .g5 p {
  font-size: 14.5px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* =========================
   BUTTON STYLE
========================= */
.g4 a, .g5 a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 25px;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.g4 a:hover, .g5 a:hover {
  transform: scale(1.08);
  opacity: 0.9;
}


/* =========================
   OUTER CARD
   ========================= */
.resources {
    max-width: 1100px;
    margin: 50px auto;
    padding: 28px;

    border-radius: 24px;

    background: linear-gradient(135deg, #ffffff, #f7fbff);

    border: 1px solid rgba(0,0,0,0.06);

    box-shadow: 0 18px 50px rgba(0,0,0,0.08);

    position: relative;
    overflow: hidden;
}

/* soft glow */
.resources::before {
    content: "";
    position: absolute;

    top: -80px;
    right: -80px;

    width: 200px;
    height: 200px;

    background: radial-gradient(circle,
        rgba(77,166,255,0.18),
        rgba(123,223,242,0.12),
        transparent 70%
    );

    filter: blur(30px);

    z-index: 0;
}

.resources > * {
    position: relative;
    z-index: 2;
}

/* =========================
   INNER CONTENT WRAPPER
   ========================= */
.resources > div {
    padding: 22px;

    border-radius: 18px;

    background: rgba(255,255,255,0.85);

    border: 1px solid rgba(77,166,255,0.12);
}

/* =========================
   H2 TITLE
   ========================= */
.resources h2 {
    font-size: 26px;
    font-weight: 800;

    color: #1f2d3d;

    margin-bottom: 8px;
}

/* =========================
   H3 SUBTITLE (TIGHT)
   ========================= */
.resources h3 {
    font-size: 15px;
    font-weight: 500;

    color: #6b7b8a;

    margin-bottom: 6px; /* reduced spacing */

    line-height: 1.5;
}

/* =========================
   PARAGRAPH (REPORT TEXT)
   ========================= */
.resources p {
    font-size: 14px;
    color: #4f5f6f;

    line-height: 1.6;

    margin: 0 0 8px 0; /* tight spacing */
}

/* =========================
   BUTTON (IMMEDIATE AFTER TEXT)
   ========================= */
.resources a,
.resources button {
    display: inline-block;

    margin: 0; /* IMPORTANT: removes gap */

    padding: 10px 16px;

    font-size: 14px;
    font-weight: 600;

    color: white;

    background: linear-gradient(135deg, #4da6ff, #7bdff2);

    border: none;
    border-radius: 12px;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.25s ease;

    box-shadow: 0 10px 20px rgba(77,166,255,0.22);
}

/* hover */
.resources a:hover,
.resources button:hover {
    transform: translateY(-2px) scale(1.03);
}

/* =========================
   EVENT LIST (IF USED BELOW)
   ========================= */
.resources ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.resources ul li {
    padding: 9px 12px;

    margin-bottom: 8px;

    border-radius: 10px;

    background: rgba(77,166,255,0.04);

    border-left: 3px solid rgba(77,166,255,0.35);

    font-size: 14px;
    color: #2c3e50;

    transition: 0.2s ease;
}

.resources ul li:hover {
    transform: translateX(4px);
    background: rgba(77,166,255,0.10);
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {

    .resources {
        margin: 25px 15px;
        padding: 18px;
    }

    .resources h2 {
        font-size: 20px;
    }

    .resources h3 {
        font-size: 14px;
    }

    .resources p {
        font-size: 13px;
    }

    .resources > div {
        padding: 16px;
    }
}