/* ========================================================
   Philippines eTravel Pass — style.css
   Colors: #1A3C6E (Navy) | #0B7B8C (Teal) | DM Sans
   ======================================================== */

/* === RESET & BASE === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-weight:400;
  font-size:16px;
  color:#1A2A3A;
  background:#fff;
  line-height:1.7;
}
img{max-width:100%;height:auto;display:block}
a{color:#1A5FAD;text-decoration:none;transition:color .2s}
a:hover{color:#0B7B8C}
ul,ol{padding-left:1.5rem}
ul.list-styled{list-style:none;padding-left:0}

/* === TYPOGRAPHY === */
h1{font-size:clamp(26px,4vw,44px);font-weight:700;line-height:1.2;color:#1A2A3A;margin-bottom:1rem}
h2{font-size:clamp(22px,3vw,34px);font-weight:600;line-height:1.25;color:#1A3C6E;margin-bottom:.85rem}
h3{font-size:clamp(18px,2.5vw,24px);font-weight:500;line-height:1.3;color:#1A3C6E;margin-bottom:.75rem}
h4{font-size:clamp(16px,2vw,20px);font-weight:400;line-height:1.4;color:#1A2A3A;margin-bottom:.65rem}
h5{font-size:16px;font-weight:300;color:#1A2A3A;margin-bottom:.5rem}
p{margin-bottom:1rem;font-size:16px}
strong{font-weight:600}

/* === LAYOUT === */
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* === TOP BAR === */
.site-topbar{
  background:#1A3C6E;
  color:#fff;
  padding:8px 0;
  min-height:40px;
  position:relative;
  z-index:200;
}
.site-topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}
.topbar-logo a{display:flex;align-items:center;text-decoration:none}
.topbar-logo picture{display:block}
.topbar-logo img{
  width:300px;
  height:auto;
  min-height:60px;
  max-height:120px;
  object-fit:contain;
}
.topbar-contact{
  text-align:right;
  font-size:13px;
  color:#E8F0F8;
  line-height:1.6;
}
.topbar-contact a{color:#A8D0E8;text-decoration:none}
.topbar-contact a:hover{color:#fff;text-decoration:underline}

/* === NAVIGATION === */
.site-nav{
  background:#1A3C6E;
  position:relative;
  z-index:100;
  min-height:50px;
  max-height:70px;
  border-top:2px solid #0B7B8C;
}
.nav-inner{
  display:flex;
  align-items:center;
  min-height:50px;
  max-height:70px;
  position:relative;
}
.nav-menu{
  display:flex;
  list-style:none;
  padding:0;
  margin:0;
  align-items:center;
  flex:1;
  gap:0;
}
.nav-link{
  display:block;
  padding:14px 16px;
  color:#fff;
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  transition:background .2s,color .2s;
  white-space:nowrap;
  background:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
  line-height:1.4;
}
.nav-link:hover,.nav-link.active{
  background:#0B7B8C;
  color:#fff;
}
.nav-link:focus{outline:2px solid #A8D0E8;outline-offset:-2px}

/* Submenu toggle button */
.submenu-toggle{
  display:flex;
  align-items:center;
  gap:6px;
}
.submenu-arrow{font-size:10px;transition:transform .2s}
.has-submenu.submenu-open .submenu-arrow{transform:rotate(180deg)}

/* Dropdown submenu */
.has-submenu{position:relative}
.submenu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:#1A3C6E;
  min-width:220px;
  box-shadow:0 8px 24px rgba(0,0,0,0.25);
  border-top:3px solid #0B7B8C;
  list-style:none;
  padding:4px 0;
  z-index:999;
}
.has-submenu.submenu-open .submenu{display:block}
.submenu-link{
  display:block;
  padding:12px 20px;
  color:#E8F0F8;
  font-size:14px;
  font-weight:500;
  text-decoration:none;
  transition:background .2s;
  white-space:nowrap;
}
.submenu-link:hover,.submenu-link.active{background:#0B7B8C;color:#fff}

/* Hamburger */
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px;
  flex-direction:column;
  gap:5px;
  margin-left:auto;
}
.hamburger-line{
  display:block;
  width:24px;
  height:2px;
  background:#fff;
  transition:transform .3s,opacity .3s;
  border-radius:2px;
}

/* === HERO === */
.hero{
  position:relative;
  width:100%;
  min-height:500px;
  max-height:500px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#1A3C6E;
}
.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(26,60,110,0.65);
  z-index:1;
}
.hero-content{
  position:relative;
  z-index:2;
  min-width:1000px;
  max-width:1200px;
  width:100%;
  margin:0 auto;
  padding:40px 24px;
  text-align:center;
  color:#fff;
}
.hero-content h1{
  font-size:clamp(28px,4vw,48px);
  font-weight:700;
  color:#fff;
  margin-bottom:16px;
  text-shadow:0 2px 10px rgba(0,0,0,0.4);
}
.hero-content p{
  font-size:clamp(16px,2vw,20px);
  color:#E8F0F8;
  max-width:700px;
  margin:0 auto 28px;
}
.hero-badges{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:28px;
}
.hero-badge{
  background:rgba(255,255,255,0.15);
  border:1px solid rgba(255,255,255,0.4);
  color:#fff;
  padding:8px 20px;
  border-radius:50px;
  font-size:14px;
  font-weight:600;
}
.hero-badge strong{color:#A8D0E8}

/* === BUTTONS === */
.btn{
  display:inline-block;
  padding:12px 28px;
  border-radius:6px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  border:2px solid transparent;
  transition:all .2s;
  font-family:inherit;
  line-height:1.4;
}
.btn-primary{background:#1A3C6E;color:#fff;border-color:#1A3C6E}
.btn-primary:hover{background:#0d2d5a;border-color:#0d2d5a;color:#fff}
.btn-secondary{background:#0B7B8C;color:#fff;border-color:#0B7B8C}
.btn-secondary:hover{background:#075F70;border-color:#075F70;color:#fff}
.btn-outline{background:transparent;color:#1A3C6E;border-color:#1A3C6E}
.btn-outline:hover{background:#1A3C6E;color:#fff}
.btn-white{background:#fff;color:#1A3C6E;border-color:#fff}
.btn-white:hover{background:#E8F0F8;color:#1A3C6E}
.btn-lg{padding:16px 36px;font-size:18px}
.btn-sm{padding:8px 18px;font-size:14px}
.btn-group{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* === SECTIONS === */
.section{padding:64px 0}
.section-sm{padding:40px 0}
.section-lg{padding:80px 0}

.section-white{background:#fff}
.section-light{background:#F5F8FC}
.section-blue{background:#1A3C6E;color:#fff}
.section-blue h2,.section-blue h3,.section-blue h4{color:#fff}
.section-blue p{color:#E8F0F8}
.section-teal{background:#0B7B8C;color:#fff}
.section-teal h2,.section-teal h3{color:#fff}
.section-teal p{color:#E0F5F7}
.section-dark{background:#0D2444;color:#fff}
.section-dark h2,.section-dark h3{color:#fff}
.section-accent{background:#075F70;color:#fff}
.section-accent h2,.section-accent h3{color:#fff}
.section-accent p{color:#E0F5F7}
.section-soft{background:#EEF4FB}

.section-header{text-align:center;max-width:700px;margin:0 auto 48px}
.section-header h2{margin-bottom:16px}
.section-header p{font-size:18px;color:#4A5568}
.section-blue .section-header p,.section-teal .section-header p{color:#E8F0F8}

/* === GRID COLUMNS === */
.col-1{display:block}
.col-2{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;align-items:start}
.col-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:start}
.col-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;align-items:start}
.col-2-1{display:grid;grid-template-columns:2fr 1fr;gap:32px;align-items:start}
.col-1-2{display:grid;grid-template-columns:1fr 2fr;gap:32px;align-items:start}

/* === CARDS === */
.card{
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 16px rgba(26,60,110,0.08);
  overflow:hidden;
  transition:box-shadow .25s,transform .25s;
  display:flex;
  flex-direction:column;
}
.card:hover{box-shadow:0 8px 32px rgba(26,60,110,0.15);transform:translateY(-4px)}
.card-header{
  background:#1A3C6E;
  color:#fff;
  padding:20px 24px;
  font-size:18px;
  font-weight:600;
}
.card-body{padding:24px;flex:1}
.card-body p{color:#1A2A3A}
.card-footer{padding:16px 24px;border-top:1px solid #E8ECF2}
.card-img{width:100%;aspect-ratio:16/9;object-fit:cover}

/* Stat cards */
.stat-card{
  background:#1A3C6E;
  color:#fff;
  border-radius:10px;
  padding:32px 24px;
  text-align:center;
}
.stat-card .stat-number{
  font-size:48px;
  font-weight:700;
  line-height:1;
  color:#A8D0E8;
  display:block;
  margin-bottom:8px;
}
.stat-card .stat-label{font-size:16px;color:#E8F0F8;font-weight:500}

/* Feature cards */
.feature-card{
  background:#fff;
  border-radius:10px;
  padding:28px 24px;
  box-shadow:0 2px 12px rgba(26,60,110,0.07);
  border-top:4px solid #0B7B8C;
  transition:box-shadow .25s;
}
.feature-card:hover{box-shadow:0 6px 24px rgba(26,60,110,0.13)}
.feature-icon{
  font-size:40px;
  margin-bottom:16px;
  display:block;
}
.feature-card h3{color:#1A3C6E;margin-bottom:10px}
.feature-card p{color:#4A5568;font-size:15px;margin-bottom:0}

/* Step cards */
.step-card{
  background:#F5F8FC;
  border-radius:10px;
  padding:28px 24px;
  position:relative;
  border-left:4px solid #0B7B8C;
}
.step-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  background:#1A3C6E;
  color:#fff;
  border-radius:50%;
  font-size:18px;
  font-weight:700;
  margin-bottom:14px;
  flex-shrink:0;
}

/* === TILES / KAFELKI === */
.tiles{display:grid;gap:20px}
.tiles-2{grid-template-columns:repeat(2,1fr)}
.tiles-3{grid-template-columns:repeat(3,1fr)}
.tiles-4{grid-template-columns:repeat(4,1fr)}
.tile{
  background:#fff;
  border:1px solid #D1E0F0;
  border-radius:10px;
  padding:24px 20px;
  text-align:center;
  transition:box-shadow .2s,border-color .2s;
}
.tile:hover{box-shadow:0 4px 20px rgba(26,60,110,0.12);border-color:#0B7B8C}
.tile-icon{font-size:36px;margin-bottom:12px;display:block}
.tile h3{font-size:17px;color:#1A3C6E;margin-bottom:8px}
.tile p{font-size:14px;color:#4A5568;margin-bottom:12px}
.tile a.tile-link{
  display:inline-block;
  color:#0B7B8C;
  font-weight:600;
  font-size:14px;
  text-decoration:none;
}
.tile a.tile-link:hover{color:#1A3C6E;text-decoration:underline}

/* === ACCORDION === */
.accordion{border-radius:8px;overflow:hidden;border:1px solid #D1E0F0}
.accordion-item{border-bottom:1px solid #D1E0F0}
.accordion-item:last-child{border-bottom:none}
.accordion-button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:18px 24px;
  background:#1A3C6E;
  color:#fff;
  border:none;
  cursor:pointer;
  font-size:16px;
  font-weight:600;
  font-family:inherit;
  text-align:left;
  transition:background .2s;
  gap:16px;
}
.accordion-button:hover{background:#0d2d5a}
.accordion-button[aria-expanded="true"]{background:#0B7B8C}
.accordion-icon{
  flex-shrink:0;
  font-size:20px;
  transition:transform .3s;
  line-height:1;
}
.accordion-button[aria-expanded="true"] .accordion-icon{transform:rotate(45deg)}
.accordion-body{
  background:#F0F5FA;
  color:#1A2A3A;
  padding:20px 24px;
  display:none;
  font-size:16px;
  line-height:1.7;
}
.accordion-body.is-open{display:block}
.accordion-body p{margin-bottom:.75rem}
.accordion-body p:last-child{margin-bottom:0}
.accordion-body ul,.accordion-body ol{padding-left:1.5rem;margin-bottom:.75rem}
.accordion-body li{margin-bottom:.35rem}

/* === TABLE === */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:1.5rem}
.table-styled{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  min-width:480px;
}
.table-styled th{
  background:#1A3C6E;
  color:#fff;
  padding:14px 18px;
  text-align:left;
  font-weight:600;
}
.table-styled td{
  padding:12px 18px;
  border-bottom:1px solid #D1E0F0;
  color:#1A2A3A;
  vertical-align:top;
}
.table-styled tr:nth-child(even) td{background:#F5F8FC}
.table-styled tr:hover td{background:#E8F0F8}
.table-styled td strong{color:#1A3C6E}
.table-badge{
  display:inline-block;
  padding:3px 10px;
  border-radius:12px;
  font-size:12px;
  font-weight:600;
}
.badge-green{background:#E8F7EE;color:#1A4D2E}
.badge-blue{background:#E8F2FF;color:#0D2B5E}
.badge-orange{background:#FFF8E8;color:#7A5A00}

/* === ALERTS === */
.alert{
  border-radius:8px;
  padding:16px 20px;
  margin-bottom:1rem;
  border-left:4px solid;
  font-size:15px;
  line-height:1.6;
}
.alert-info{background:#E8F2FF;border-color:#1A5FAD;color:#0D2B5E}
.alert-warning{background:#FFF8E8;border-color:#D4A017;color:#7A5A00}
.alert-success{background:#E8F7EE;border-color:#2E8B57;color:#1A4D2E}
.alert-danger{background:#FFE8E8;border-color:#CE1126;color:#7A0010}
.alert strong{font-weight:700}
.alert p{margin-bottom:.5rem}
.alert p:last-child{margin-bottom:0}

/* === TWO-COL CONTENT BLOCKS (alternating image/text) === */
.content-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
.content-block.reverse{direction:rtl}
.content-block.reverse>*{direction:ltr}
.content-block-img{
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 20px rgba(26,60,110,0.12);
}
.content-block-img img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.content-block-text h2{margin-bottom:16px}
.content-block-text p{color:#4A5568;margin-bottom:16px}
.content-block-text ul{color:#4A5568;margin-bottom:20px}
.content-block-text li{margin-bottom:8px}

/* === PROCESS STEPS === */
.steps-list{
  display:flex;
  flex-direction:column;
  gap:20px;
  list-style:none;
  padding:0;
  counter-reset:step;
}
.steps-list li{
  display:flex;
  gap:16px;
  align-items:flex-start;
  background:#F5F8FC;
  border-radius:10px;
  padding:20px;
  border-left:4px solid #0B7B8C;
  counter-increment:step;
}
.step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  min-width:36px;
  background:#1A3C6E;
  color:#fff;
  border-radius:50%;
  font-weight:700;
  font-size:16px;
  flex-shrink:0;
}

/* === BREADCRUMBS === */
.breadcrumbs-nav{
  background:#EEF4FB;
  border-bottom:1px solid #D1E0F0;
  padding:10px 0;
}
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:0;
  gap:4px;
  align-items:center;
  font-size:14px;
}
.breadcrumb-item a{color:#1A5FAD;text-decoration:none;font-weight:500}
.breadcrumb-item a:hover{color:#0B7B8C;text-decoration:underline}
.breadcrumb-item span[aria-current]{color:#1A3C6E;font-weight:600}
.breadcrumb-sep{color:#8899AA;margin:0 4px;font-size:16px}

/* === PARALLAX SECTION === */
.parallax{
  position:relative;
  min-height:300px;
  background-attachment:fixed;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
}
.parallax-overlay{
  position:absolute;
  inset:0;
  background:rgba(26,60,110,0.70);
  z-index:0;
}
.parallax-content{
  position:relative;
  z-index:1;
  text-align:center;
  color:#fff;
  padding:48px 20px;
  max-width:800px;
}
.parallax-content h2{color:#fff;font-size:clamp(24px,3vw,38px);margin-bottom:16px}
.parallax-content p{color:#E8F0F8;font-size:18px;margin-bottom:24px}

/* === TEXT UTILITIES === */
.text-primary{color:#1A3C6E}
.text-teal{color:#0B7B8C}
.text-white{color:#fff}
.text-muted{color:#6B7A8D}
.text-center{text-align:center}
.text-lg{font-size:18px}
.text-bold{font-weight:700}
.lead{font-size:18px;line-height:1.7;color:#4A5568}

/* === DIVIDERS === */
.divider{height:1px;background:#D1E0F0;margin:32px 0;border:none}
.divider-thick{height:3px;background:#0B7B8C;margin:32px auto;width:80px;border:none;border-radius:2px}

/* === CALL TO ACTION BOX === */
.cta-box{
  background:linear-gradient(135deg,#1A3C6E 0%,#075F70 100%);
  border-radius:12px;
  padding:48px 40px;
  text-align:center;
  color:#fff;
}
.cta-box h2{color:#fff !important;margin-bottom:12px}
.cta-box p{color:#E8F0F8 !important;font-size:17px;margin-bottom:28px;max-width:600px;margin-left:auto;margin-right:auto}
.cta-box .btn-secondary{color:#fff !important}

/* === INFO BOX === */
.info-box{
  background:#F5F8FC;
  border:1px solid #D1E0F0;
  border-radius:8px;
  padding:24px;
  margin-bottom:24px;
}
.info-box.info-box-blue{
  background:#E8F2FF;
  border-color:#A8C8F0;
}

/* === CHECKER LIST === */
.check-list{list-style:none;padding:0;margin:0}
.check-list li{
  padding:8px 0;
  padding-left:32px;
  position:relative;
  color:#1A2A3A;
  font-size:16px;
  border-bottom:1px solid #E8ECF2;
}
.check-list li:last-child{border-bottom:none}
.check-list li::before{
  content:'✓';
  position:absolute;
  left:0;
  color:#0B7B8C;
  font-weight:700;
  font-size:18px;
  line-height:1.4;
}

/* === ICON BOX === */
.icon-box{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:20px 0;
  border-bottom:1px solid #E8ECF2;
}
.icon-box:last-child{border-bottom:none}
.icon-box .icon{
  flex-shrink:0;
  font-size:28px;
  width:48px;
  text-align:center;
  line-height:1;
}
.icon-box-content h4{margin-bottom:6px;color:#1A3C6E}
.icon-box-content p{margin-bottom:0;color:#4A5568;font-size:15px}

/* === COUNTRY TABLE ROWS === */
.flag-name{display:flex;align-items:center;gap:8px}

/* Highlight box */
.highlight-box{
  background:#1A3C6E;
  color:#fff;
  border-radius:10px;
  padding:32px;
  margin:24px 0;
}
.highlight-box h3{color:#fff;margin-bottom:12px}
.highlight-box p{color:#E8F0F8;margin-bottom:8px}
.highlight-box p:last-child{margin-bottom:0}

/* === QUICK LINKS / NAVIGATION BOX === */
.quick-links{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;
  margin-bottom:32px;
}
.quick-link-item{
  background:#F5F8FC;
  border:1px solid #D1E0F0;
  border-radius:8px;
  padding:16px 20px;
  text-align:center;
  transition:all .2s;
}
.quick-link-item:hover{border-color:#0B7B8C;background:#E8F2FF;transform:translateY(-2px)}
.quick-link-item a{
  text-decoration:none;
  color:#1A3C6E;
  font-weight:600;
  font-size:15px;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:center;
}
.quick-link-item .ql-icon{font-size:28px}

/* === FOOTER === */
.site-footer{background:#0D2444;color:#E8F0F8;margin-top:0}
.footer-disclaimer{
  background:#1A3C6E;
  padding-bottom:50px;
  color:#fff;
}
.footer-disclaimer .container{padding:20px 20px 0}
.footer-disclaimer p{color:#fff;font-size:13px;line-height:1.6;margin-bottom:0}
.footer-disclaimer strong{color:#A8D0E8}
.footer-main{padding:48px 0 32px}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:32px;
}
.footer-heading{
  font-size:16px;
  font-weight:700;
  color:#fff;
  margin-bottom:16px;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:8px}
.footer-links a{
  color:#7DB9E8;
  text-decoration:none;
  font-size:14px;
  transition:color .2s;
}
.footer-links a:hover{color:#fff;text-decoration:underline}
.footer-col p{color:#A8C8D8;font-size:14px;line-height:1.6;margin-bottom:8px}
.footer-col a{color:#7DB9E8}
.footer-col a:hover{color:#fff}
.footer-cookies{
  margin-top:16px;
  padding:12px;
  background:rgba(255,255,255,0.06);
  border-radius:6px;
}
.footer-cookies p{font-size:12px;color:#A8C8D8;margin-bottom:0}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
  padding:20px 0;
  background:#060F1E;
}
.footer-bottom p{
  text-align:center;
  font-size:13px;
  color:#6B8AAA;
  margin-bottom:0;
}

/* === RESPONSIVE === */
@media(max-width:1024px){
  .col-4{grid-template-columns:repeat(2,1fr)}
  .tiles-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .col-3{grid-template-columns:repeat(2,1fr)}
  .tiles-3{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  /* Nav mobile */
  .nav-toggle{display:flex}
  .site-nav{max-height:none}
  .nav-inner{flex-wrap:wrap;min-height:50px;max-height:none}
  .nav-menu{
    display:none;
    flex-direction:column;
    width:100%;
    background:#1A3C6E;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:999;
    box-shadow:0 8px 24px rgba(0,0,0,0.3);
    gap:0;
    max-height:80vh;
    overflow-y:auto;
  }
  .nav-menu.is-open{display:flex}
  .nav-link{padding:14px 20px;width:100%;border-bottom:1px solid rgba(255,255,255,0.1)}
  .submenu{
    position:static;
    box-shadow:none;
    border-top:none;
    padding:0;
    background:#0d2d5a;
  }
  .has-submenu.submenu-open .submenu{display:block}
  .submenu-link{padding:12px 32px;border-bottom:1px solid rgba(255,255,255,0.07)}

  /* Layout mobile */
  .col-2,.col-3,.col-4,.col-2-1,.col-1-2{grid-template-columns:1fr}
  .content-block,.content-block.reverse{grid-template-columns:1fr;direction:ltr}
  .tiles-2,.tiles-3,.tiles-4{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .hero{min-height:500px;max-height:none}
  .hero-content{min-width:auto;width:100%;padding:32px 16px}
  .topbar-logo img{width:200px}
  .cta-box{padding:32px 20px}
  .section{padding:48px 0}
  .parallax{background-attachment:scroll}
}
@media(max-width:480px){
  .footer-grid{grid-template-columns:1fr}
  .quick-links{grid-template-columns:1fr}
  .btn-group{flex-direction:column;align-items:stretch}
  .btn-group .btn{text-align:center}
}

/* ========================================================
   ARTICLE CONTENT — styles for interior pages (PHP subpages)
   ======================================================== */

/* Main article wrapper */
.article-content{
  padding:40px 0 60px;
}
.article-content .container{
  max-width:960px;
}

/* Article lead paragraph */
.article-lead{
  font-size:clamp(17px,2.2vw,20px);
  line-height:1.65;
  color:#2A3A4A;
  background:#F5F8FC;
  border-left:4px solid #1A3C6E;
  padding:20px 24px;
  border-radius:0 8px 8px 0;
  margin-bottom:32px;
  font-weight:400;
}

/* Article H1 */
.article-content h1{
  font-size:clamp(26px,4vw,40px);
  font-weight:700;
  color:#1A2A3A;
  line-height:1.2;
  margin-bottom:20px;
}

/* Article H2 sections */
.article-content section{
  margin-bottom:44px;
}
.article-content section:first-of-type{
  margin-top:32px;
}
.article-content h2{
  font-size:clamp(20px,3vw,30px);
  font-weight:600;
  color:#1A3C6E;
  margin-top:8px;
  margin-bottom:16px;
  padding-top:24px;
  border-top:2px solid #E8F0F8;
  line-height:1.25;
}
.article-content h3{
  font-size:clamp(17px,2.3vw,22px);
  font-weight:600;
  color:#0B4B7A;
  margin-top:24px;
  margin-bottom:12px;
}
.article-content h4{
  font-size:clamp(15px,2vw,18px);
  font-weight:600;
  color:#1A2A3A;
  margin-top:16px;
  margin-bottom:8px;
}
.article-content p{
  font-size:16px;
  line-height:1.75;
  margin-bottom:14px;
  color:#2A3A4A;
}
.article-content a{
  color:#1A5FAD;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}
.article-content a:hover{
  color:#0B7B8C;
}

/* Lists in articles */
.article-content ul:not(.check-list):not(.nav-menu):not(.footer-links):not(.submenu){
  padding-left:1.6rem;
  margin-bottom:16px;
}
.article-content ul:not(.check-list):not(.nav-menu):not(.footer-links):not(.submenu) li{
  margin-bottom:6px;
  line-height:1.7;
}
.article-content ol:not(.steps-list){
  padding-left:1.6rem;
  margin-bottom:16px;
}
.article-content ol:not(.steps-list) li{
  margin-bottom:8px;
  line-height:1.75;
}

/* Tip text inside steps */
.tip-text{
  background:#EBF5FF;
  border:1px solid #BBD9F5;
  border-radius:6px;
  padding:10px 14px;
  font-size:14px;
  color:#1A3C6E;
  margin-top:10px;
}

/* Info boxes */
.info-box{
  background:#F5F8FC;
  border:1px solid #C5D8F0;
  border-radius:10px;
  padding:16px 20px;
  margin-bottom:0;
}
.info-box-blue{
  background:#EBF5FF;
  border-color:#93C5FD;
}
.info-box h4{
  font-size:15px;
  font-weight:600;
  margin-bottom:8px;
  color:#1A3C6E;
}

/* Alert boxes */
.alert{
  padding:14px 18px;
  border-radius:8px;
  margin-bottom:20px;
  font-size:15px;
  line-height:1.6;
}
.alert-info{
  background:#EBF5FF;
  border-left:4px solid #1A5FAD;
  color:#1A3C6E;
}
.alert-warning{
  background:#FFF8E1;
  border-left:4px solid #F59E0B;
  color:#78350F;
}
.alert strong{
  font-weight:700;
}

/* FAQ Section specific */
.section-faq{
  background:#F9FAFC;
  border-radius:12px;
  padding:28px 24px 20px;
  margin-top:8px;
}
.section-faq h2{
  margin-top:0;
  padding-top:0;
  border-top:none;
}

/* Article related nav */
.article-related{
  background:#F0F6FF;
  border-radius:10px;
  padding:20px 24px;
  margin-top:32px;
}
.article-related h3{
  font-size:16px;
  margin-top:0;
  margin-bottom:12px;
  color:#1A3C6E;
}

/* Steps list overrides for small step nums */
.steps-list{
  list-style:none;
  padding-left:0;
  margin-bottom:20px;
}
.steps-list li{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom:20px;
}
.steps-list li h4{
  margin-top:0;
}

/* Table improvements for article pages */
.article-content .table-wrap{
  margin:20px 0;
  border-radius:10px;
  overflow:hidden;
}
.article-content .table-styled{
  font-size:14.5px;
}
.article-content .table-styled td,
.article-content .table-styled th{
  padding:11px 14px;
}

/* Blockquote-style note */
blockquote{
  border-left:4px solid #0B7B8C;
  background:#F0FAFA;
  padding:14px 18px;
  border-radius:0 8px 8px 0;
  margin:16px 0;
  font-style:italic;
  color:#1A3C6E;
}

/* Visually hidden (accessibility) */
.visually-hidden{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Article content responsive */
@media(max-width:768px){
  .article-content{
    padding:24px 0 40px;
  }
  .article-lead{
    font-size:16px;
    padding:16px 18px;
  }
  .article-content h2{
    font-size:22px;
    padding-top:20px;
  }
  .article-content h3{
    font-size:19px;
  }
  .section-faq{
    padding:20px 16px 14px;
  }
  .article-related{
    padding:16px 16px;
  }
}

/* === FLOATING ELIGIBILITY CHECKER BUTTON === */
.philipinestravelpass {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #1a9e3f;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(26,158,63,.45);
  transition: background .2s, transform .2s, box-shadow .2s;
  line-height: 1.3;
  text-align: center;
  max-width: 320px;
}
.philipinestravelpass:hover {
  background: #157a31;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,158,63,.55);
}
.philipinestravelpass:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 3px 12px rgba(26,158,63,.4);
}
@media(max-width:600px) {
  .philipinestravelpass {
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 28px);
    font-size: 14px;
    padding: 12px 16px;
  }
  .philipinestravelpass:hover {
    transform: translateX(-50%) translateY(-2px);
  }
  .philipinestravelpass:active {
    transform: translateX(-50%) translateY(0);
  }
}

/* Hero & topbar static variants — override fixed positioning */
.philipinestravelpass--hero,
.philipinestravelpass--topbar {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  display: inline-block;
}
.philipinestravelpass--hero:hover,
.philipinestravelpass--topbar:hover {
  transform: translateY(-2px);
}
.philipinestravelpass--hero:active,
.philipinestravelpass--topbar:active {
  transform: translateY(0);
}

/* Hero variant */
.philipinestravelpass--hero {
  border-color: #1a9e3f;
  border-radius: 6px;
  padding: 16px 36px;
  font-size: 18px;
  box-shadow: none;
  line-height: 1.4;
}
.philipinestravelpass--hero:hover {
  background: #157a31;
  border-color: #157a31;
}

/* Topbar variant */
.philipinestravelpass--topbar {
  margin-top: 8px;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

@media(max-width:600px) {
  .philipinestravelpass--hero,
  .philipinestravelpass--topbar {
    width: 100%;
    max-width: none;
    transform: none;
  }
  .philipinestravelpass--hero:hover,
  .philipinestravelpass--topbar:hover {
    transform: translateY(-2px);
  }
  .philipinestravelpass--topbar {
    font-size: 12px;
    padding: 7px 12px;
  }
}
