/*
Theme Name: Globolink
Theme URI: https://globolinkimmigration.com
Author: Globolink Immigration
Description: Fast, mobile-first theme for Globolink Immigration visas and study abroad. Follows the approved Globolink design.
Version: 0.3.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: globolink
*/

:root{--gl-navy:#0B1B3F;--gl-navy2:#15274F;--gl-teal:#0E7C6B;--gl-teal-d:#0A5F52;--gl-mint:#E3F2EE;--gl-bg:#F3F6FB;--gl-line:#E6E9F0;--gl-text2:#46516B;--gl-muted:#6B7590;--gl-r:18px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.6;color:var(--gl-navy);background:#fff}
h1,h2,h3,h4{font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif;line-height:1.2;font-weight:800;color:var(--gl-navy)}
a{color:var(--gl-teal)}
a:hover{color:var(--gl-teal-d)}
img{max-width:100%;height:auto}
.gl-wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.gl-muted{color:var(--gl-muted)}
.gl-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gl-skip{position:absolute;left:-9999px;top:0;background:#fff;padding:10px 14px;z-index:100}
.gl-skip:focus{left:10px;top:10px}
:focus-visible{outline:2px solid var(--gl-teal);outline-offset:2px}
.gl-center{text-align:center;margin-left:auto;margin-right:auto}
.gl-lead.gl-center{margin-left:auto;margin-right:auto}

/* Header */
.gl-header{background:#fff;border-bottom:1px solid var(--gl-line);position:relative;z-index:30}
.gl-header-in{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.gl-logo img{height:48px;width:auto;display:block}
.gl-nav{display:flex;align-items:center;gap:28px}
.gl-menu{display:flex;gap:28px;list-style:none;margin:0;padding:0}
.gl-menu a{display:block;padding:8px 0;color:var(--gl-navy);text-decoration:none;font-weight:500;font-size:15px}
.gl-menu a:hover,.gl-menu .current-menu-item a{color:var(--gl-teal)}
.gl-nav-cta{display:flex;gap:12px;align-items:center}
.gl-pill{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:999px;font-weight:600;font-size:14px;text-decoration:none;border:1px solid #CBD2E1;color:var(--gl-navy)}
.gl-pill:hover{border-color:var(--gl-navy);color:var(--gl-navy)}
.gl-pill-teal{background:var(--gl-teal);border-color:var(--gl-teal);color:#fff!important}
.gl-pill-teal:hover{background:var(--gl-teal-d);border-color:var(--gl-teal-d)}
.gl-burger{display:none;width:44px;height:44px;border:1px solid #DCE2EE;border-radius:12px;background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer}
.gl-burger span:not(.gl-sr){display:block;width:20px;height:2px;background:var(--gl-navy);border-radius:2px}
@media (max-width:1000px){
.gl-burger{display:flex}
.gl-header-in{min-height:64px}
.gl-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;padding:8px 16px 20px;border-bottom:1px solid var(--gl-line);gap:12px;box-shadow:0 12px 24px rgba(11,27,63,.08)}
.gl-nav-open .gl-nav{display:flex}
.gl-menu{flex-direction:column;gap:0}
.gl-menu a{padding:12px 4px;border-bottom:1px solid var(--gl-line);font-size:16px}
.gl-nav-cta .gl-pill{flex:1;padding:12px 18px}
.gl-logo img{height:38px}
}

/* Buttons */
.gl-btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:14px 22px;border-radius:12px;background:var(--gl-teal);color:#fff!important;font-weight:700;text-decoration:none;border:0;cursor:pointer;font-size:16px;font-family:inherit;line-height:1.2}
.gl-btn:hover{background:var(--gl-teal-d)}
.gl-btn-ghost{background:#fff;color:var(--gl-navy)!important;border:1px solid #CBD2E1;font-weight:600}
.gl-btn-ghost:hover{background:var(--gl-bg)}
.gl-btn-light{background:#fff;color:var(--gl-navy)!important}
.gl-btn-light:hover{background:var(--gl-mint)}
.gl-btn-navy{background:var(--gl-navy)}
.gl-btn-navy:hover{background:var(--gl-navy2)}
.gl-btn-line{background:transparent;border:1px solid #3A4A70;font-weight:600}
.gl-btn-line:hover{background:rgba(255,255,255,.06)}
.gl-btns{display:flex;gap:12px;flex-wrap:wrap}

/* Page shells */
.gl-page-head{background:var(--gl-bg);padding:48px 0 40px}
.gl-page-head h1{margin:0;font-size:clamp(30px,4.5vw,44px);letter-spacing:-.8px}
.gl-page-head .gl-muted{margin:6px 0 0}
.gl-prose{padding-top:32px;padding-bottom:64px;max-width:880px}
.gl-prose h2{font-size:24px;margin:32px 0 10px}
.gl-prose p{color:var(--gl-text2)}
.gl-feat{border-radius:var(--gl-r);margin-bottom:20px}
.gl-posts{padding-top:32px;padding-bottom:64px;display:grid;gap:18px}
.gl-post-card{display:grid;grid-template-columns:240px 1fr;gap:18px;background:#fff;border:1px solid var(--gl-line);border-radius:var(--gl-r);padding:16px}
.gl-post-card img{border-radius:12px;width:100%;height:160px;object-fit:cover}
.gl-post-card h2{margin:0;font-size:20px}
.gl-post-card h2 a{color:var(--gl-navy);text-decoration:none}
@media (max-width:640px){.gl-post-card{grid-template-columns:1fr}}

/* Bands */
.gl-band{padding:72px 0}
.gl-band-white{background:#fff}
.gl-band-soft{background:var(--gl-bg)}
.gl-band-navy{background:var(--gl-navy);color:#fff}
.gl-band-navy h1,.gl-band-navy h2,.gl-band-navy h3{color:#fff}
.gl-band-navy p,.gl-band-navy li{color:#D5DBEA}
.gl-band h2{font-size:clamp(26px,3.4vw,36px);letter-spacing:-.6px;margin:0 0 8px}
.gl-lead{font-size:17px;color:var(--gl-text2);margin:0 0 32px;max-width:680px}
.gl-band-navy .gl-lead{color:#D5DBEA}
.gl-eyebrow{font-size:13px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--gl-teal);margin:0 0 10px}
.gl-band-navy .gl-eyebrow{color:#7FD6C4}
.gl-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.gl-head-row .gl-lead{margin:0}
.gl-head-row > a{font-weight:600;font-size:15px;text-decoration:none}

/* Home hero (light, centred, as designed) */
.gl-hero-c{background:var(--gl-bg);padding:72px 0 64px}
.gl-hero-c .gl-wrap{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}
.gl-badge-mint{display:inline-block;margin:0;padding:6px 14px;border-radius:999px;background:var(--gl-mint);color:var(--gl-teal-d);font-size:13px;font-weight:600}
.gl-hero-c h1{margin:0;font-size:56px;line-height:1.08;letter-spacing:-1.2px;max-width:860px}
.gl-hero-c .gl-sub{margin:0;font-size:19px;line-height:1.55;color:var(--gl-text2);max-width:640px}
.gl-search{margin-top:10px;width:100%;max-width:760px;background:#fff;border:1px solid #DCE2EE;border-radius:20px;padding:10px;display:flex;gap:10px;flex-wrap:wrap;box-shadow:0 12px 32px rgba(11,27,63,.08)}
.gl-search-f{display:flex;flex-direction:column;text-align:left;padding:6px 14px;gap:2px;min-width:0}
.gl-search-f.gl-f-dest{flex:2 1 260px}
.gl-search-f.gl-f-why{flex:1 1 160px;border-left:1px solid var(--gl-line)}
.gl-search-f label{font-size:12px;font-weight:600;color:var(--gl-muted)}
.gl-search-f input,.gl-search-f select{border:0;outline:none;font-size:16px;font-family:inherit;color:var(--gl-navy);padding:4px 0;background:transparent;width:100%}
.gl-search .gl-btn{flex:0 0 auto;padding:16px 28px;border-radius:14px}
.gl-pop{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;font-size:14px;margin:0}
.gl-pop span{color:var(--gl-muted);padding:8px 0}
.gl-pop a{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #DCE2EE;color:var(--gl-navy);text-decoration:none}
.gl-pop a:hover{border-color:var(--gl-teal)}
.gl-search-err{margin:0;font-size:14px;color:#9A3412}

/* Grids */
.gl-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.gl-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gl-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
@media (max-width:1000px){.gl-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.gl-grid3,.gl-grid2{grid-template-columns:1fr;gap:32px}}
@media (max-width:640px){.gl-grid4{grid-template-columns:1fr}}
.gl-box{background:var(--gl-bg);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:10px}
.gl-band-soft .gl-box{background:#fff}
.gl-box h3{margin:6px 0 0;font-size:19px;font-weight:700}
.gl-box p{margin:0;font-size:15px;line-height:1.55;color:var(--gl-text2)}
.gl-num{display:inline-flex;width:40px;height:40px;border-radius:12px;background:var(--gl-navy);color:#fff;font-weight:700;font-family:"Plus Jakarta Sans",sans-serif;align-items:center;justify-content:center}
.gl-list{margin:0;padding:0 0 0 20px;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:1.5}
.gl-split-text{display:flex;flex-direction:column;gap:18px}
.gl-split-text h2{margin:0;font-size:38px;line-height:1.15}
.gl-split-text p,.gl-split-text .gl-eyebrow{margin:0}

/* Tracker preview */
.gl-track{background:#fff;color:var(--gl-navy);border-radius:22px;padding:26px;display:flex;flex-direction:column;gap:16px}
.gl-track-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.gl-track-top small{display:block;font-size:13px;color:var(--gl-muted)}
.gl-track-top strong{display:block;font-family:"Plus Jakarta Sans",sans-serif;font-size:20px;margin-top:2px}
.gl-badge{font-size:13px;font-weight:700;padding:6px 10px;border-radius:999px;background:#FDF1DC;color:#92560A;white-space:nowrap}
.gl-tl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.gl-tl li{display:flex;gap:14px;align-items:flex-start}
.gl-tl li::before{content:"";width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:var(--gl-teal);border:2px solid var(--gl-teal);box-sizing:border-box}
.gl-tl li.is-now::before{background:#fff;border-color:#E0A030}
.gl-tl li.is-next::before{background:#fff;border-color:#CBD2E1}
.gl-tl strong{display:block;font-size:15px;font-weight:600;color:var(--gl-navy)}
.gl-tl span{display:block;font-size:13px;color:var(--gl-muted)!important}

/* Study */
.gl-flags{display:flex;flex-wrap:wrap;gap:10px}
.gl-flags span{padding:8px 14px;border-radius:999px;background:var(--gl-bg);font-weight:600;font-size:14px}
.gl-photo{border-radius:24px;width:100%;height:420px;object-fit:cover;display:block}

/* Easy Tripping card */
.gl-et-band{border:1px solid var(--gl-line);border-radius:24px;padding:32px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;background:#fff}
.gl-et-band > div{flex:1 1 420px;min-width:0}
.gl-et-band h2{margin:0 0 8px;font-size:28px}
.gl-et-band p{color:var(--gl-text2);margin:0;font-size:16px}
.gl-et-band .gl-eyebrow{margin:0 0 6px;color:var(--gl-teal)}

/* FAQ */
.gl-faq{max-width:880px;margin:0 auto}
.gl-faq details{border-bottom:1px solid var(--gl-line);padding:18px 0}
.gl-faq summary{cursor:pointer;font-weight:600;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:12px}
.gl-faq summary::-webkit-details-marker{display:none}
.gl-faq summary::after{content:"+";font-size:22px;line-height:1;color:var(--gl-teal)}
.gl-faq details[open] summary::after{content:"–"}
.gl-faq details p{margin:10px 0 0;color:var(--gl-text2);font-size:15px;line-height:1.6}

/* CTA */
.gl-cta{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;background:var(--gl-mint);border-radius:24px;padding:40px}
.gl-cta h2{margin:0 0 6px;font-size:28px}
.gl-cta p{margin:0;color:#2E4A44}

/* Team */
.gl-team{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gl-person{background:#fff;border:1px solid var(--gl-line);border-radius:18px;padding:20px;text-align:center}
.gl-avatar{width:64px;height:64px;border-radius:50%;margin:0 auto 10px;background:var(--gl-mint);color:var(--gl-teal-d);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px}
.gl-person strong{display:block}
.gl-person span{font-size:14px;color:var(--gl-muted)}
@media (max-width:900px){.gl-team{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Footer */
.gl-footer{background:var(--gl-navy);color:#C9D1E4;padding:56px 0 0;font-size:14px}
.gl-foot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-bottom:32px}
.gl-foot-brand{margin:0 0 12px;font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;color:#fff;font-size:18px}
.gl-footer p{margin:0 0 10px;line-height:1.6}
.gl-foot-h{color:#fff;font-weight:700;margin:0 0 12px!important}
.gl-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.gl-footer a{color:#C9D1E4;text-decoration:none;overflow-wrap:anywhere}
.gl-footer a:hover{color:#fff}
.gl-foot-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:18px;padding-bottom:28px;border-top:1px solid #22335C;font-size:13px}
@media (max-width:1000px){.gl-foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.gl-foot-grid{grid-template-columns:1fr}}

/* WhatsApp button (teal, as designed) */
.gl-wa-float{position:fixed;right:16px;bottom:16px;width:56px;height:56px;border-radius:50%;background:var(--gl-teal);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(11,27,63,.25);z-index:40}
.gl-wa-float:hover{background:var(--gl-teal-d)}

/* Mobile, following the mobile design */
@media (max-width:640px){
.gl-wrap{padding:0 16px}
.gl-band{padding:40px 0}
.gl-band h2{font-size:24px}
.gl-lead{font-size:16px;margin-bottom:20px}
.gl-hero-c{padding:32px 0 28px}
.gl-hero-c .gl-wrap{align-items:stretch;text-align:left;gap:14px}
.gl-hero-c .gl-badge-mint{align-self:flex-start;font-size:12px;padding:5px 12px}
.gl-hero-c h1{font-size:32px;line-height:1.12;letter-spacing:-.6px}
.gl-hero-c .gl-sub{font-size:16px}
.gl-search{flex-direction:column;border-radius:16px;padding:14px;gap:10px;box-shadow:none;margin-top:0}
.gl-search-f{padding:0;gap:6px}
.gl-search-f.gl-f-why{border-left:0}
.gl-search-f input,.gl-search-f select{border:1px solid #E1E6EF;border-radius:10px;padding:12px}
.gl-search .gl-btn{width:100%;padding:14px}
.gl-pop{justify-content:flex-start}
.gl-box{flex-direction:row;align-items:flex-start;gap:14px;padding:16px;border-radius:14px}
.gl-box .gl-num{width:34px;height:34px;flex:0 0 34px;border-radius:10px}
.gl-box h3{margin:0 0 4px;font-size:16px}
.gl-box p{font-size:14px}
.gl-split-text h2{font-size:24px}
.gl-photo{height:200px;border-radius:18px}
.gl-track{padding:16px;border-radius:16px}
.gl-et-band{padding:22px}
.gl-et-band h2,.gl-cta h2{font-size:22px}
.gl-cta{padding:24px}
.gl-cta .gl-btn,.gl-et-band .gl-btn{width:100%}
.gl-faq summary{font-size:16px}
}

/* 404 */
.gl-404{padding:96px 0;text-align:center}
.gl-404 h1{font-size:clamp(30px,5vw,48px);margin:10px 0}
.gl-404 p{color:var(--gl-text2);max-width:560px;margin:0 auto 24px}
.gl-404 .gl-btns{justify-content:center}

/* 0.2.4 review fixes */
@media (max-width:640px){
.gl-search-f.gl-f-dest,.gl-search-f.gl-f-why{flex:0 0 auto}
.gl-wa-float{width:48px;height:48px;right:12px;bottom:12px}
.gl-wa-float svg{width:22px;height:22px}
.gl-pills{position:relative}
.gl-pills::after{content:"";position:absolute;right:0;top:0;bottom:0;width:40px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 85%);pointer-events:none}
}
body.gl-pay-off .gl-if-pay{display:none!important}
body.gl-pay-on .gl-if-nopay{display:none!important}

/* 0.2.5 new logo */
.gl-logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.gl-logo img{height:56px;width:56px}
.gl-logo-txt{display:flex;flex-direction:column;line-height:1.05}
.gl-logo-txt strong{font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;font-size:19px;letter-spacing:.3px;color:var(--gl-navy);text-transform:uppercase}
.gl-logo-txt small{font-size:11px;font-weight:600;letter-spacing:3.2px;color:#C8962F;text-transform:uppercase;margin-top:2px}
@media (max-width:640px){.gl-logo img{height:46px;width:46px}.gl-logo-txt strong{font-size:16px}.gl-logo-txt small{font-size:10px;letter-spacing:2.6px}}
/* 0.2.6 gold wordmark */
.gl-logo-txt strong{color:#C8962F;background:linear-gradient(90deg,#D9A847 0%,#C8962F 55%,#B98526 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.gl-logo-txt small{color:#A97A24}
/* 0.2.7 full logo image */
.gl-logo img{height:60px;width:auto}
@media (max-width:640px){.gl-logo img{height:50px;width:auto}}
.gl-header-in{min-height:88px}
.gl-logo img{height:74px}
@media (max-width:640px){.gl-header-in{min-height:72px}.gl-logo img{height:58px}}

/* 0.3.0 blog */
.gl-prose img{max-width:100%;height:auto;border-radius:12px}
.gl-prose .gl-feat{width:100%;max-height:440px;object-fit:cover;margin-bottom:20px}
.gl-prose h3{font-size:20px;margin:26px 0 8px}
.gl-prose table{width:100%;border-collapse:collapse;margin:16px 0}
.gl-prose td,.gl-prose th{border:1px solid var(--gl-line);padding:8px;text-align:left}
.gl-post-cta{margin:40px 0 0;padding:24px;border-radius:18px;background:#E3F2EE;border:1px solid #BFE3D8}
.gl-post-cta-t{font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;font-size:20px;color:var(--gl-navy);margin:0 0 6px}
.gl-post-cta p{margin:0 0 14px}
.gl-posts{display:grid;gap:18px;padding-top:32px;padding-bottom:64px;max-width:980px}
.gl-post-card h2{font-size:20px;margin:0 0 4px}
.gl-post-card h2 a{color:var(--gl-navy);text-decoration:none}
@media (max-width:640px){.gl-post-card img{height:180px}}
