
:root{
  --rf-purple:#5b0b65;
  --rf-pink:#d90a9d;
  --rf-orange:#fc8509;

  /* Header vars (Customizer controllable) */
  --rf-header-bg:#ffffff;
  --rf-header-link:#fc8509;
  --rf-header-hover:#5b0b65;
  --rf-header-active:#d90a9d;
}
*{box-sizing:border-box}
body{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Helvetica Neue',Arial,'Noto Sans','Liberation Sans',sans-serif;line-height:1.6;color:#2c3e50;background-color:#f8f9fa;margin:0}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

html, body{height:100%}
body{min-height:100vh;display:flex;flex-direction:column;}
main{flex:1 0 auto; padding: 0 1rem;}


/* Screenreader only */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Utility Bar */
.rf-utility{background:var(--rf-purple);color:#fff;font-size:.95rem}
.rf-utility .utility-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem 0}
.rf-utility .rf-social{display:flex;gap:.75rem;align-items:center}
.rf-utility .rf-social a{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;color:#fff;text-decoration:none;transition:transform .2s ease, color .2s ease}
.rf-utility .rf-social a i{font-size:1rem;line-height:1}
.rf-utility .rf-social a:hover{transform:scale(1.05);background:linear-gradient(135deg,var(--rf-purple),var(--rf-pink));-webkit-background-clip:text;background-clip:text;color:transparent}
.rf-utility .rf-contacts{margin-left:auto;text-align:right}

/* Header (white bg, brand nav colors) */
.site-header{background:var(--rf-header-bg);color:#2c3e50;position:sticky;top:0;z-index:1000;box-shadow:0 2px 20px rgba(0,0,0,.05)}
.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;padding:0.75rem 0;gap:1rem}
.branding{display:flex;align-items:Left;gap:10px}
.site-title{font-size:1.6rem;font-weight:700;color:#2c3e50;text-decoration:none}
.custom-logo{max-height:52px;height:auto;width:auto;margin-left: 0.5rem;}

/* Primary nav + mobile pattern */
/* Base styles */
.nav-toggle {
  background: none;
  border: 2px solid var(--rf-orange);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: none; /* Hidden by default on desktop */
  align-items: center;
  gap: 0.5rem;
  color: var(--rf-orange);
  cursor: pointer;
}

.nav-toggle:focus {
  outline: 3px solid rgba(252, 133, 9, 0.35);
  outline-offset: 2px;
}

.nav-toggle i {
  font-size: 1.25rem;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.menu a {
  color: var(--rf-header-link);
  text-decoration: none;
  font-weight: 600;
}

.menu a:hover {
  color: var(--rf-header-hover);
  text-decoration: none;
}

.menu a:active {
  color: var(--rf-header-active);
}

.menu .current-menu-item > a {
  border-bottom: 2px solid var(--rf-header-active);
}

/* Tablet and Mobile styles */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: row-reverse; /* Logo on right, toggle on left */
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
    margin: 0.5rem;
    order: -1; /* Moves the toggle button to the left */
  }

  .nav-area {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--rf-header-bg);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    z-index: 999;
  }

  .nav-area[data-visible="true"] {
    max-height: 50vh;
    padding: 1rem;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .menu a {
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    display: block;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .nav-area[data-visible="true"] {
    padding: 0.75rem;
  }
  
  .menu {
    gap: 0.75rem;
  }
  
  .menu a {
    padding: 0.4rem;
    font-size: 0.95rem;
  }
}

/* Hero (optional) */
.rf-hero{background:linear-gradient(135deg,var(--rf-purple) 0%,var(--rf-orange) 100%);color:#fff;text-align:center;padding:4.5rem 0;height:100vh}
.rf-hero h1{font-size:clamp(2rem,3.5vw + 1rem,3rem);font-weight:300;margin:0 0 1rem}
.rf-hero p{max-width:800px;margin:.5rem auto 2rem;font-size:1.125rem;opacity:.95}
.cta-buttons{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}
.cta-button{display:inline-block;background:#fff;color:var(--rf-purple);padding:.8rem 1.5rem;border-radius:999px;font-weight:700;text-decoration:none}
.cta-button.secondary{background:transparent;color:#fff;border:2px solid #fff}

/* Layout */
.main-content{padding:2.5rem 2.5rem} 
.section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 5px 20px rgba(0,0,0,.08);margin-bottom:1.5rem}
.section-title{font-size:2rem;margin:0 0 1rem;color:var(--rf-purple);border-bottom:3px solid var(--rf-orange);padding-bottom:.5rem;display:inline-block}

/* Converter & Rates */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

  .converter {
    background: linear-gradient(135deg, #d90a9d 0%, #fc8509 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
  }
  .converter h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
  }

  .converter-tabs {
    display: flex;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
  }
  .tab-btn {
    flex: 1;
    padding: 0.9rem 1rem;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.25s ease;
    font-size: 1rem;
  }
  .tab-btn:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  .tab-btn.active {
    background: rgba(255, 255, 255, 0.25);
  }

  .converter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .converter-row {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .converter select,
  .converter input {
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
  }
  #rf_amount {
    flex: 1;
  }

  .convert-btn {
    background: #fcf1e6;
    color: #b63544;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 0.28rem;
    margin-top: 0.5rem;
  }
  .convert-btn:hover {
    filter: brightness(2.1);
  }

  .convert-result {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 1.1rem;
    text-align: center;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media (max-width: 600px) {
    .converter-row {
      flex-direction: column;
      align-items: stretch;
    }
  }

.rates-table{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px rgba(0,0,0,.08)}
.rates-table h3{background:var(--rf-purple);color:#fff;padding:1rem 1.25rem;margin:0}
.rates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.rate-card{padding:1rem;text-align:center;border-bottom:1px solid #eee;border-right:1px solid #eee}
.currency-code{font-weight:700;color:var(--rf-purple);margin-bottom:.25rem}
.rate-info{display:flex;justify-content:space-between;margin-bottom:.25rem}
.rate-value{font-weight:700;color:var(--rf-orange)}

/* Footer + Subfooter (same as v3) */
.site-footer-main{background:linear-gradient(135deg,var(--rf-pink) 0%,var(--rf-orange) 100%);color:#fff;padding:2rem 0}
.site-footer-main a{color:#fff;text-decoration:underline}
.site-subfooter{background:var(--rf-purple);color:#fff;text-align:center;padding:1rem 0}
.site-subfooter a{color:#bdc3c7;text-decoration:none}
.site-subfooter a:hover{color:#fff}

/* Responsive overrides */
@media (max-width: 900px){
  .converter-grid{grid-template-columns:1fr}
  .rf-utility .utility-inner{flex-direction:column;gap:.5rem}
  .rf-utility .rf-contacts{text-align:center;margin-left:0}
}

/* Keep existing footer colors/styles; no overrides here */
.footer-widgets-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem;margin:1.5rem 0
}
.footer-newsletter{display:flex;gap:.5rem}
.footer-newsletter input{flex:1;padding:.6rem .8rem;border-radius:10px;border:1px solid rgba(0,0,0,.1)}
.footer-newsletter button{padding:.6rem .9rem;border-radius:10px;border:0;background:var(--rf-orange);color:#fff;cursor:pointer}
.footer-newsletter button:hover{filter:brightness(.95)}
@media (max-width: 782px){
  .footer-widgets-grid{grid-template-columns:1fr 1fr}
}


/* === Roseby v3.1 Patches === */

:root{--tile-radius:12px;--tile-shadow:0 5px 20px rgba(0,0,0,.08);--tile-gap:2rem;--tile-padding:2rem;--hero-gradient-start:#5b0b65;--hero-gradient-end:#fc8509;--hero-gradient-opacity:0.85;--header-height:72px;}
html,body{width:100%;overflow-x:hidden;}body{margin:0;padding:0;}
@media (max-width:768px){body{margin:0;padding:0;}}
.site-header,header{position:sticky;top:0;z-index:1000;box-shadow:0 2px 20px rgba(0,0,0,.1);backdrop-filter:saturate(110%) blur(6px);}
.site-content{padding-top:calc(var(--header-height) + 8px);}@media (max-width:768px){.site-content{padding-top:calc(var(--header-height) + 4px);}}
.tile,.card,.service-card,.team-card,.rate-card,.section{border-radius:var(--tile-radius);box-shadow:var(--tile-shadow);padding:var(--tile-padding);}
.converter-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;}
.converter{background:linear-gradient(135deg,#d90a9d 0%,#fc8509 100%);color:#fff;padding:2rem;border-radius:12px;}
.converter-tabs{display:flex;border-radius:8px;overflow:hidden;background:rgba(255,255,255,.1);}
.converter .tab-btn{flex:1;padding:1rem;background:transparent;color:#fff;border:none;font-weight:700;cursor:pointer;transition:.3s;}
.converter .tab-btn.active{background:rgba(255,255,255,.2);} .converter .converter-form{display:flex;flex-direction:column;gap:1rem;}
.converter-row{display:flex;gap:1rem;align-items:center;}
.converter select,.converter input{padding:.8rem;border:none;border-radius:6px;font-size:1rem;}
.converter input{flex:1;}
.convert-result{background:rgba(255,255,255,.1);padding:1rem;border-radius:6px;margin-top:1rem;font-size:1.1rem;text-align:center;}
.rates-table{background:#fff;border-radius:12px;overflow:hidden;}
.rates-table h3{background:#5b0b65;color:#fff;padding:1.5rem;margin:0;}
.rates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));}
.rate-card{padding:1.5rem;text-align:center;border-bottom:1px solid #eee;border-right:1px solid #eee;}
.currency-flag{font-size:2rem;margin-bottom:.5rem;}
.currency-code{font-size:1.2rem;font-weight:700;color:#5b0b65;margin-bottom:.5rem;}
.rate-info{display:flex;justify-content:space-between;margin-bottom:.3rem;}
.rate-value{font-weight:700;color:#fc8509;}
.hero--home{min-height:86vh;display:flex;align-items:center;background:linear-gradient(135deg,rgba(91,11,101,var(--hero-gradient-opacity)),rgba(252,133,9,var(--hero-gradient-opacity))),var(--hero-image,linear-gradient(135deg,#5b0b65,#fc8509));color:#fff;text-align:center;padding:4rem 0;}
.hero--inner{min-height:16vh;display:flex;align-items:center;background:linear-gradient(135deg,rgba(91,11,101,var(--hero-gradient-opacity)),rgba(252,133,9,var(--hero-gradient-opacity))),var(--hero-image-inner,linear-gradient(135deg,#5b0b65,#fc8509));color:#fff;text-align:center;padding:3rem 0;}
.hero--home h1{font-size:clamp(2.4rem,4vw,3.2rem);margin-bottom:1rem;font-weight:300;}
.hero--home p{font-size:clamp(1.05rem,1.5vw,1.3rem);opacity:.95;max-width:800px;margin:0 auto 1.5rem;}
.cta-buttons{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;}
.cta-button{display:inline-block;background:#fff;color:#5b0b65;padding:1rem 2rem;text-decoration:none;border-radius:50px;font-weight:700;transition:transform .3s;}
.cta-button.secondary{background:transparent;color:#fff;border:2px solid #fff;}
.cta-button:hover{transform:translateY(-2px);}
.footer .newsletter-form,.newsletter-form{display:flex;gap:.5rem;}
.newsletter-input{flex:1;min-width:0;}
@media (max-width:768px){.converter-grid{grid-template-columns:1fr;}.converter-row{flex-direction:column;align-items:stretch;}.newsletter-form{flex-direction:column;}.footer .footer-links,.footer-links{flex-direction:column;gap:1rem;}.cta-buttons{flex-direction:column;align-items:center;}}

/* Team Section Patterns Styles */
.team-section {
    background: #f8f9fa;
}

.team-card {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s ease !important;
}

.team-card:hover {
    transform: translateY(-5px) !important;
}

/* Make the emoji avatar look more like the original design */
.team-card p:first-of-type {
    background: linear-gradient(135deg, #d90a9d 0%, #5b0b65 100%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto !important;
    color: white;
}

/* Responsive: Stack columns on mobile */
@media (max-width: 768px) {
    .team-section .wp-block-columns {
        flex-direction: column;
    }
}

.plain-phone-link {
      color: inherit;           /* Match surrounding text color */
      text-decoration: none;    /* Remove underline */
      font: inherit;            /* Use same font as surrounding text */
      cursor: pointer;          /* Optional: show pointer cursor */
    }

/* Back to Top Button */
#rf-backtotop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    color: var(--rf-purple);
    display: none; /* Start hidden - JS will control visibility */
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease, transform .15s ease;
    z-index: 9999;
    border: none;
    font-size: 20px;
    font-weight: bold;
}

#rf-backtotop:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--rf-purple), var(--rf-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#rf-backtotop.show {
    opacity: 1;
    visibility: visible;
    display: flex; /* Show as flex when visible */
}



/* 404 Hero Section with Background Image */
.error-hero {
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height:86vh;
    padding-bottom: 8vh;
}

.error-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #5b0b65;
    background: linear-gradient(135deg, rgba(91, 11, 101, 0.85) 0%,rgba(91, 11, 101, 0.85) 80%),
        url('../img/404.jpg') center/cover no-repeat;
    z-index: -1;
}

.error-hero h1 {
    font-size: 12rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1;
}

.error-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.error-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #5b0b65;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Error Content */
.error-content {
    padding: 4rem 0;
    flex: 1;
}

.error-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-link-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.quick-link-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fc8509;
}

.quick-link-card h3 {
    color: #5b0b65;
    margin-bottom: 1rem;
}

.quick-link-card p {
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.quick-link-card .cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* 404 Illustration */
.error-illustration {
    max-width: 300px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.error-illustration div {
    font-size: 8rem;
    line-height: 1;
}

/* Contact Section */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.contact-form-404 {
    margin-top: 1.5rem;
}

.contact-form-404 input,
.contact-form-404 textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form-404 input:focus,
.contact-form-404 textarea:focus {
    outline: none;
    border-color: #fc8509;
}

.contact-form-404 .error {
    border-color: #e74c3c;
}

.contact-form-404 .error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    display: none;
}

.submit-btn {
    background: #5b0b65;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #d90a9d;
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.form-feedback {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.form-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

