
:root { --brand:#2b4551; --accent:#6fb491; }
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:#111; }
h1, h2, h3 { text-transform: uppercase; letter-spacing: .3em; }
.container { width: min(1100px, 92%); margin: 0 auto; }
.btn { padding: .9rem 1.25rem; border-radius: .5rem; border:1px solid rgba(255,255,255,.7); color:#fff; background:transparent; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; min-width:11rem; }
.btn:hover { opacity:.9; color: #6fb491;}
.btn-accent { border:none; background: var(--accent); color:#fff; font-weight:600; }
.btn-accent:hover { opacity:.9; }
.text-muted { color:#6b7280; }


/* Sections */
section { padding: 96px 0; background:#fff; }

#home { position:relative; min-height:100vh; display:flex; align-items:center; padding:0; }
/* ===================== FIXED HEADER (transparent on hero) ===================== */
  #header{
    position: fixed; inset: 0 0 auto 0; z-index: 10000;
    height: 3.25em; line-height: 3.25em;
    display: flex; align-items: center;              /* transparent at top */
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
  }
  #header .inner{ width:100%; }
  #header .bar{ display:flex; align-items:center; background:transparent;}
  #header .logo{
    display:inline-block; height:inherit; line-height:inherit;
    font-weight:bold; letter-spacing:.25em; color:#6fb491; text-decoration:none !important; padding:.5em;
  }
  #header .logo strong{color:#fff;}
  #header .logo strong:hover { background:#6fb491; }
  #header .logo .tech:hover{ background:#2b4551; color:#fff;}
  #header nav{ margin-left:auto; display:flex; align-items:center; height:inherit; }
  #header nav a{ position:relative; display:block; height:inherit; line-height:inherit; color:#6fb491; text-decoration:inherit;  font-weight:bold;}
  
   #header nav a:hover {color:#529E77;}

  /* Burger icon sprite */
  #header nav a[href="#menu"]{ padding-right:3.5em !important; }
  #header nav a[href="#menu"]::before,
  #header nav a[href="#menu"]::after{
    content:""; position:absolute; right:1.5em; top:0; width:24px; height:100%;
    background-position:center; background-repeat:no-repeat; background-size:24px 32px;
  }
  #header nav a[href="#menu"]::before{
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 24 32'%3E%3Cstyle%3Eline%7Bstroke-width:2px;stroke:%236fb491%7D%3C/style%3E%3Cline x1='0' y1='11' x2='24' y2='11'/%3E%3Cline x1='0' y1='21' x2='24' y2='21'/%3E%3Cline x1='0' y1='16' x2='24' y2='16'/%3E%3C/svg%3E");
  }
  #header nav a[href="#menu"]::after{
    opacity:0; transition:opacity .2s ease-in-out;
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 24 32'%3E%3Cstyle%3Eline%7Bstroke-width:2px;stroke:%23529E77%7D%3C/style%3E%3Cline x1='0' y1='11' x2='24' y2='11'/%3E%3Cline x1='0' y1='21' x2='24' y2='21'/%3E%3Cline x1='0' y1='16' x2='24' y2='16'/%3E%3C/svg%3E");
  }
  #header nav a[href="#menu"]:hover::after{ opacity:1; }

  /* Glass background once scrolled or when menu is open */
  body.scrolled #header,
  body.is-menu-visible #header{
    background: rgba(18, 22, 35, .55);
    backdrop-filter: saturate(140%) blur(8px);
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
  }

  /* Offset the page for the fixed header */
  #wrapper { padding-top: 3.25em; }
  @media (max-width:736px){ #wrapper{ padding-top: 2.75em; } }

  /* ===================== OVERLAY MENU ===================== */
  #menu{
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
    display:flex; align-items:center; justify-content:center;
    pointer-events:none; visibility:hidden; opacity:0;
    position:fixed; inset:0; z-index:10002;
    background: rgba(36,41,67,.9);
    padding:3em 2em;
  }
  #menu .inner{
    transition: transform .35s ease-out, opacity .35s ease, visibility .35s;
    transform: rotateX(20deg); opacity:0; visibility:hidden;
    width:18em; max-width:100%; max-height:100vh; overflow:auto; text-align:center;
  }
  #menu ul{ margin:0 0 1em 0; padding:0; list-style:none; }
  #menu ul.links > li > a{
    display:block; font-size:.8em; font-weight:600; letter-spacing:.25em;
    text-transform:uppercase; line-height:4em; color:#6fb491;
    border-top:1px solid rgba(212,212,255,.1); text-decoration:none;
  }
  #menu ul.links > li > a:hover{font-weight:700; color:#fff; }
  #menu ul.links > li:first-child > a{ border-top:0; }
  #menu .close{
    position:absolute; right:0; top:0; width:8em; height:4em; line-height:4em; text-align:right;
    padding-right:1.25em; text-indent:8em; overflow:hidden; border:0; cursor:pointer; color:#6fb491;
  }
  #menu .close::before, #menu .close::after{
    content:""; position:absolute; right:0; top:0; width:4em; height:4em; background-position:center; background-repeat:no-repeat;
    transition:opacity .2s ease-in-out;
  }
  #menu .close::before{
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cstyle%3Eline%7Bstroke:%23ffffff;stroke-width:2%7D%3C/style%3E%3Cline x1='0' y1='0' x2='20' y2='20'/%3E%3Cline x1='20' y1='0' x2='0' y2='20'/%3E%3C/svg%3E");
  }
  #menu .close::after{
    opacity:0;
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cstyle%3Eline%7Bstroke:%236fb491;stroke-width:2%7D%3C/style%3E%3Cline x1='0' y1='0' x2='20' y2='20'/%3E%3Cline x1='20' y1='0' x2='0' y2='20'/%3E%3C/svg%3E");
  }
  #menu .close:hover::after{ opacity:1; }

  /* When visible */
  body.is-menu-visible #menu{ pointer-events:auto; visibility:visible; opacity:1; }
  body.is-menu-visible #menu .inner{ transform:none; opacity:1; visibility:visible; }

.hero { text-align:center; color:#fff; position:relative; z-index:2; }
.hero h1 { font-size: clamp(32px, 6vw, 64px); font-weight: 800; margin: 0; }
.hero h3 { margin-top: 16px; font-weight: 500; }
.hero .btn{
  border-radius: 999px;                /* both pill-shaped */
  font-weight: 600;                    /* same weight */
  min-width: 11rem;
  border: 2px solid rgba(255,255,255,.9);
  color: #fff;
  background: transparent;
}

/* keep secondary hover subtle on dark bg */
.hero .btn:hover{
  background: rgba(255,255,255,.12);
  color: #fff;                         /* don't flip to black */
}

/* primary button (Contact Us) */
.hero .btn.btn-accent{
  border: none;
  background: var(--accent);
  color: #fff;                    
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.hero .btn.btn-accent:hover{
  filter: brightness(.95);
}

/* slideshow bg */
.bg { position:absolute; inset:0; overflow:hidden; z-index:0; }
.bg .slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition: opacity 1.2s ease; transform: scale(1.1); }
.bg .slide.active { opacity:1; animation: zoomOut 6s linear both; }
.bg::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.4); }

@keyframes zoomOut { from { transform: scale(1.1); } to { transform: scale(1); } }

/* preloader */
.preloader { position:fixed; inset:0; display:grid; place-items:center; background:#fff; z-index:9999; transition:opacity .7s ease; }
.preloader.done { opacity:0; pointer-events:none; }
.sk { position:relative; width:48px; height:48px; }
.sk span { position:absolute; inset:0; }
.sk span::before { content:\"\"; display:block; width:15%; height:15%; margin:0 auto; background:#333; border-radius:999px; animation: sk 1.2s infinite ease-in-out both; }
@keyframes sk { 0%,80%,100%{ transform: scale(0);} 40%{ transform: scale(1);} }

/* grid */
.grid2 { display:grid; grid-template-columns: 1fr; gap: 32px; align-items:center; }
@media (min-width: 900px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* feature cards */
.media { display:flex; gap:16px; }
.media i { font-style: normal; color: var(--brand); font-size: 40px; line-height: 1; }
.media h2 { color: var(--brand); font-size: 22px; letter-spacing: .1em; }
.media p { color:#6b7280; margin: 8px 0 0; }

/* back to top */
.backtop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--accent);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;           /* white arrow */
  font-size: 2rem;       /* bigger arrow */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.backtop:hover {
  background: #5aa281;   /* slightly darker on hover */
}

.backtop i {
  line-height: 1;        /* proper centering */
}

/* Center the section heading + subtext */
#contact .section-title { text-align:center; }
#contact .section-title h2 { margin:0 0 .25rem; color:var(--brand); }
#contact .section-title p { color:#6b7280; margin:0 auto; }

/* 2-column layout that matches the example */
#contact .row.gy-4{
  display:grid; grid-template-columns:1fr; gap:24px; margin-top:24px;
  align-items:stretch;
}
@media (min-width:992px){
  #contact .row.gy-4{ grid-template-columns:5fr 7fr; }
}
#contact .row.gy-4 > *{ height:100%; }

/* Card look */
.contact-card{
  height:100%;
  display:flex; flex-direction:column;
  border:1px solid #e5e7eb;
  border-top:3px solid var(--accent);
  border-radius:12px;
  background:#fff;
  padding:20px;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}

/* Icon rows */
.contact-item{ display:flex; align-items:center; gap:12px; padding:10px 0; }
.contact-item .icon{
  flex:0 0 40px; width:40px; height:40px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:var(--accent); color:#fff;
  transition:background .2s ease, transform .2s ease;
}
.contact-item .icon i{ font-size:18px; line-height:1; }
.contact-item:hover .icon{ background:#5ca07e; transform:translateY(-1px); }

/* Form grid like the example: two above, then full-width rows */
#contact .php-email-form{ display:grid; gap:14px; }
#contact .php-email-form .row.g-3{
  display:grid; grid-template-columns:1fr; gap:14px;
}
@media (min-width:700px){
  #contact .php-email-form .row.g-3{ grid-template-columns:1fr 1fr; }
  #contact .php-email-form .row.g-3 .col-12{ grid-column:1 / -1; }
}

/* Labels + controls */
#contact .php-email-form .form-label{ display:block; margin:0 0 6px; color:#374151; font-weight:600; }
#contact .php-email-form .form-control{
  width:100%; padding:10px 12px; background:#fafafa;
  border:1px solid #d1d5db; border-radius:8px; font-size:14px; color:#111; outline:none;
}
#contact .php-email-form .form-control:focus{
  background:#fff; border-color:var(--accent); box-shadow:0 0 0 3px rgba(111,180,145,.25);
}

/* Centered button with comfy gap from textarea */
#contact .php-email-form .actions{
  display:flex; justify-content:center; margin-top:16px;
}
#contact .php-email-form .btn-accent{
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size:14px;
  border: 0;
  border-radius: 999px;
}
#contact .php-email-form .btn-accent:hover{
  background: #5ca07e;
  color: #fff;
}

/* Map box */
.map{ margin-top:12px; border-radius:10px; overflow:hidden; border:1px solid #e5e7eb; }
.map iframe{ display:block; width:100%; height:240px; border:0; }

/* Toast popup */
.toast {
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translateX(-50%) translateY(-10px);
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  opacity: 0;
  transition: all .3s ease;
  z-index: 99999;
  font-size: 14px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--accent); color: #374151; font-weight: 600; }
.toast.error   { background: #b91c1c; color:#fff; }



/* Services grid (Arsha-style cards) */
.services-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width:720px){ .services-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px){ .services-grid{ grid-template-columns: repeat(3, 1fr); } }

/* Make sure our rules win and animate smoothly */
#services .service-card{
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 3px solid var(--accent);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  opacity: 0;
  transform: translateY(18px);
  will-change: transform, box-shadow;
}
#services .service-card.visible{
  opacity: 1;
  transform: none;
}

/* Arsha-like hover lift + stronger shadow + subtle border emphasis */
#services .service-card:hover{
  transform: translateY(-14px) !important;                /* make it obvious */
  box-shadow: 0 22px 44px rgba(0,0,0,.12);
  border-color: rgba(111,180,145,.35);                    /* side/bottom border tint */
  border-top-color: var(--accent);                        /* keep the accent bar */
}

/* Nice touch: icon nudges up a bit on hover */
#services .service-card .icon{
  transition: transform .35s ease, box-shadow .35s ease;
}
#services .service-card:hover .icon{
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 18px rgba(111,180,145,.25);
}

/* icon pill */
.service-card .icon{
  width:52px; height:52px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(145deg, var(--accent), #8fcbad);
  color:#fff; margin-bottom:14px;
}
.service-card .icon i{ font-size:24px; line-height:1; }

.service-card h3{
  margin:0 0 8px;
  font-size:18px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--brand);
}
.service-card p{
  margin:0; color:#6b7280; font-size:14.5px; line-height:1.6;
}

/* ============ Auto-scrolling vendor strip (Bootstrap-safe) ============ */
.vendor-heading{
  text-align:center;
  font-size:1.8rem;
  font-weight:600;
  margin-bottom:20px;
  color:#2b4551;
}

.vendors-marquee{
  --gap:3.5rem;
  --speed:32s;
  background:#f8fafc;
  overflow:hidden;
  padding:22px 0;
  position:relative;
}

.vendors-track{
  display:inline-flex;          /* force horizontal */
  align-items:center;
  gap:var(--gap);
  white-space:nowrap;           /* no wrapping */
  width:max-content;            /* fit content width */
  animation:vendors-scroll var(--speed) linear infinite;
}
.vendors-marquee:hover .vendors-track{ animation-play-state:paused; }

.vendor{
  width:140px; height:60px;
  display:flex; align-items:center; justify-content:center;
  flex:0 0 auto;
}

.vendors-track img{
  display:block;
  max-height:50px; max-width:120px;
  object-fit:contain;
  filter:grayscale(100%); opacity:.8;
  transition:opacity .2s, filter .2s, transform .2s;
}
.vendors-track img:hover{ filter:none; opacity:1; transform:translateY(-1px); }

@keyframes vendors-scroll{
  from{ transform:translateX(0); }
  to  { transform:translateX(calc(-50% - var(--gap))); }
}

@media (prefers-reduced-motion: reduce){ .vendors-track{ animation:none; } }
@media (max-width:640px){
  .vendor{ width:110px; height:52px; }
  .vendors-track img{ max-height:42px; max-width:100px; }
}


/* reveal */
.reveal { opacity:0; transform: translateY(24px); transition: all .6s ease; }
.reveal.visible { opacity:1; transform: none; }


/* footer */
.footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.footer-logo img {
  max-height: 56px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
}

.footer-social h4 { margin: 0 0 6px; }
.footer-social p { margin: 0 0 8px; }

.footer .social-links { margin-top: 8px !important; }

.footer .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #2b4551;
  line-height: 1;
  margin-right: 10px;
  border: 1px solid #2b4551;
  border-radius: 50%;
  width: 36px; height: 36px;
  text-align: center;
  transition: .3s;
  vertical-align: middle;
}
.footer .social-links a:last-child { margin-right: 0; }
.footer .social-links a i { line-height: 34px; }
.footer .social-links a:hover {
  background: #6fb491;
  color: #fff;
  border-color: #6fb491;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #eee;
  background: #fff;
}

.footer-bottom strong {
  color: var(--accent);
}

.footer-bottom .footer-link {
  text-decoration: none;
  color: var(--accent);
}
.footer-bottom .footer-link:hover {

}
/* Mobile: stack and center */
@media (max-width:768px){
  .footer .container{ flex-direction:column; align-items:center; }
  .footer-social{ align-items:center; text-align:center; }
}

/* Collapsible trigger styles */
.footer-bar {
  background:#2b4551;
  text-align:center;
  padding:8px 0;
}
.footer-bar .collapsible{
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  border:0;
  color:#fff;
  font:600 14px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  cursor:pointer;
  padding:6px 10px;
}
.footer-bar .collapsible:hover,
.footer-bar .collapsible[aria-expanded="true"]{
  text-decoration:underline;
}

/* Panel body */
#more-about.content{
  padding:15px;
  background:#f9f9f9;
  color:#333;
  border:1px solid #ddd;
  border-radius:0 0 6px 6px;
  line-height:1.6;
}