/* Simple responsive stylesheet for Mahabawga Remittance */
:root{
  --bg:#f6faf7;
  --card:#ffffff;
  --accent:#16679a;
  --front:#15b5e7;
  --muted:#6b7280;
  --maxWidth:1100px;
  --radius:10px;
  --gap:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  /* Primary requested font; if not installed, fall back to common system fonts */
  font-family: "Gloucester MT Extra Condensed", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:var(--bg);
  color:#1B3866;
  -webkit-font-smoothing:antialiased;
}

/* If you want to self-host the font, place the woff/woff2 in assets/fonts/ with these names.
   The @font-face below will attempt to load the files; if they are missing the browser
   will fall back to the Google-hosted font (Oswald) linked in the page head. */
@font-face {
  font-family: 'Gloucester MT Extra Condensed';
  src: url('/assets/fonts/GloucesterMTExtraCondensed.woff2') format('woff2'),
       url('/assets/fonts/GloucesterMTExtraCondensed.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.container{max-width:var(--maxWidth);margin:0 auto;padding:24px}
.site-header{background:#ffffff;color:#1B3866;padding:12px 0;position:relative;box-shadow:0 2px 8px rgba(0,0,0,0.15)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
/* Logo placeholder */
.logo-placeholder{flex-shrink:0;display:flex;align-items:center;height:70px}
.logo-img{height:114px;width:auto;max-width:226px;object-fit:contain}
.brand{flex:1;display:flex;align-items:center}
.brand h1{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:0.5px}
.brand .tag{margin:0;font-size:0.85rem;opacity:0.95;font-weight:300}
.nav a{color:#1B3866;text-decoration:none;margin-left:24px;font-size:0.95rem;font-weight:500;transition:opacity 0.3s}
.nav a:hover{opacity:0.8;text-decoration:none}
/* Mobile hamburger menu button */
.mobile-menu-toggle{display:none;flex-direction:column;gap:8px;background:none;border:none;cursor:pointer;padding:0;margin-left:auto}
.mobile-menu-toggle span{display:block;width:24px;height:3px;background:#1B3866;border-radius:2px;transition:0.3s}
.mobile-menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(8px, 8px)}
.mobile-menu-toggle.active span:nth-child(2){opacity:0}
.mobile-menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(8px, -8px)}
/* Mobile nav drawer */
.nav.mobile-open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background-color: #15B5E7;padding:12px 16px;gap:4px;z-index:1000;box-shadow:0 4px 8px rgba(0,0,0,0.1)}
.nav.mobile-open a{margin:0;color:#fff;padding:8px 12px;border-radius:4px;font-size:0.95rem}
.nav.mobile-open a:hover{background:rgba(255,255,255,0.1);text-decoration:none}
.card{background:var(--card);border-radius:var(--radius);padding:20px;margin:18px 0;}
.services-list{padding-left:1.1rem}
.site-footer{padding:18px 0;text-align:center;color:var(--muted);font-size:0.95rem}
.muted{color:var(--muted)}
.small{font-size:0.9rem}
.rates-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rate-actions{display:flex;align-items:center;gap:12px}
.btn{background:var(--accent);color:#fff;border:none;padding:8px 12px;border-radius:8px;cursor:pointer}
.btn:hover{opacity:0.95}
#rates table{width:100%;border-collapse:collapse;margin-top:12px}
#rates th,#rates td{padding:10px;border-bottom:1px solid #eef2f7;text-align:left}
#rates th{background:transparent;color:var(--muted);font-weight:600}
@media (max-width:720px){
  .header-inner{flex-direction:column;align-items:flex-start;gap:10px}
  .nav{display:none}
  .mobile-menu-toggle{display:flex}
}
.brand .brand-link{color:inherit;text-decoration:none;display:inline-block}
.brand .brand-link:hover{text-decoration:none;opacity:0.95}
.contact-note{margin-top:12px;padding:10px;border-left:4px solid rgba(22,103,154,0.12);background:#fbfffd;border-radius:6px}

/* Exchange widget styles */
.exchange-widget{padding:18px;background:linear-gradient(180deg,#fff,#fbfffe);background-image:url('exchangeratebg.png');background-size:cover;background-position:center;background-blend-mode:overlay}
.exchange-widget .daily-rate{display: flex;flex-direction: column;
background:linear-gradient(135deg,rgba(22,103,154,0.05),rgba(21,181,231,0.05));padding:16px;border-radius:10px;border-left:4px solid var(--accent)}
.exchange-widget .daily-rate h3{margin:0 0 10px;font-size:1.2rem;color:var(--accent)}
.exchange-widget .daily-rate p{margin:8px 0;font-size:1.05rem}
.exchange-widget .daily-rate p:first-of-type{font-weight:600;color:#0f172a}
.exchange-widget .daily-rate p.muted{color:var(--muted);font-size:0.9rem}
.exchange-widget .daily-rate .btn{margin-top:10px;padding:10px 16px;font-weight:600}
.exchange-widget .widget-calc{margin-top:16px}
.exchange-widget .calc-row{margin:10px 0}
.exchange-widget .calc-row.split{display:flex;gap:16px}
.exchange-widget .calc-row.split > div{flex:1}
.exchange-widget label{display:block;margin-bottom:5px;font-weight:600;font-size:0.95rem}
.exchange-widget input[type="number"],
.exchange-widget select{width:100%;padding:10px;border-radius:8px;border:1px solid #d4dce0;font-size:0.95rem}
.exchange-widget .calc-actions{margin-top:12px}
.exchange-widget #calcResult{margin-top:14px;font-size:1.05rem}

@media (max-width:720px){
  .exchange-widget .calc-row.split{flex-direction:column}
}

/* Hero video below exchange rate section */
.hero-video{height:351px;border-radius:var(--radius);margin:18px 0;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,0.1)}
.hero-video video{width:100%;height:100%;object-fit:cover;display:block}

/* Social media links in contact section */
.social-links{margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}
.social-links h3{margin-top:0;font-size:1.1rem;color:var(--accent)}
.social-icons{display:flex;gap:16px;flex-wrap:wrap}
.social-link{display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;text-decoration:none;font-weight:700;font-size:1.2rem;transition:all 0.3s ease;color:#fff;overflow:hidden}
.social-link img{width:100%;height:100%;object-fit:cover}
.social-link:hover{transform:translateY(-3px);box-shadow:0 6px 12px rgba(0,0,0,0.15)}
.social-link.facebook{background:linear-gradient(135deg,#1877f2,#0a66c2)}
.social-link.messenger{background:linear-gradient(135deg,#0084ff,#0060d6)}
.social-link.viber{background:linear-gradient(135deg,#665cac,#4a3a8f)}

@media (max-width:720px){
  .social-icons{gap:12px}
  .social-link{width:45px;height:45px;font-size:1rem}
}