:root {
  --color-primary:      #540602;   /* maroon – logo cross & wordmark  */
  --color-primary-dark: #3c0401;
  --color-accent:       #ff6b01;   /* orange – logo flame & wordmark  */
  --color-accent-dark:  #e05f00;
  --color-text-body:    #4a4e52;   /* slightly darker for readability */
  --color-text-muted:   #6a6a6a;
  --color-text-heading: #2d1a1a;   /* deep warm dark for headings     */

  /* Section background palette */
  --bg-about:       #fdf6f0;       /* warm cream  */
  --bg-features:    #f0f4ff;       /* cool lavender-white */
  --bg-projects:    #f5fff8;       /* soft mint   */
  --bg-contact:     #fffbf0;       /* pale gold   */
  --bg-alt:         #f7f7fb;       /* neutral off-white for variety   */
}


/* ─────────────────────────────────────────────
   01. Webfont import
   ───────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");


/* ─────────────────────────────────────────────
   02. Reset + base  (merged – was duplicated)
   ───────────────────────────────────────────── */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside,
footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.clearfix          { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix   { height: 1%; }

ul, li { padding: 0; margin: 0; list-style: none; }

header, nav, section, article, aside, footer, hgroup { display: block; }

/* Single declaration of box-sizing (was repeated in slick block too) */
*, *:before, *:after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Single html/body rule (was declared twice) */
html, body {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  overflow-x: hidden;
}

a  { text-decoration: none !important; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0; }
ul { margin-bottom: 0; }

p {
  font-size: 14px;
  line-height: 25px;
  color: var(--color-text-body);
}

::selection       { background: var(--color-accent); color: #fff; }
::-moz-selection  { background: var(--color-accent); color: #fff; }


/* ─────────────────────────────────────────────
   03. Global styles
   ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .mobile-top-fix        { margin-top: 30px; margin-bottom: 0; }
  .mobile-bottom-fix     { margin-bottom: 30px; }
  .mobile-bottom-fix-big { margin-bottom: 60px; }
}

/* Buttons */
a.main-stroked-button {
  font-size: 13px;
  border-radius: 25px;
  padding: 11px 25px;
  background-color: rgba(255,255,255,0.12);
  border: 2px solid #fff;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  /* FIX: <a> is inline by default — inline elements' vertical padding
     bleeds into the line above/below when they wrap, which is what
     caused the overlapping pill buttons on mobile. */
  display: inline-block;
}
a.main-stroked-button:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

a.main-filled-button {
  font-size: 13px;
  border-radius: 25px;
  padding: 13px 25px;
  background-color: var(--color-accent);
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  /* FIX: same reason as .main-stroked-button above */
  display: inline-block;
}
a.main-filled-button:hover { background-color: var(--color-accent-dark); color: #fff; }

a.main-button-icon {
  font-size: 13px;
  border-radius: 25px;
  padding: 13px 25px;
  background-color: var(--color-accent);
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}
a.main-button-icon:hover { background-color: var(--color-accent-dark); }
a.main-button-icon i { margin-left: 5px; transition: all 0.3s ease-in-out; }
a.main-button-icon:hover i { padding-left: 5px; }

button.main-button {
  outline: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  border-radius: 25px;
  padding: 10px 25px;
  background-color: #fff;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
button.main-button:hover { color: #fff; background-color: var(--color-accent); }

button.main-button-icon {
  border: none;
  outline: none;
  font-size: 13px;
  border-radius: 25px;
  padding: 13px 25px;
  background-color: var(--color-accent);
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
button.main-button-icon:hover { background-color: var(--color-accent-dark); }
button.main-button-icon i { margin-left: 5px; transition: all 0.3s ease-in-out; }
button.main-button-icon:hover i { padding-left: 5px; }

a.text-button-icon {
  text-transform: uppercase;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
a.text-button-icon i { margin-left: 5px; transition: all 0.3s ease-in-out; }
a.text-button-icon:hover { color: var(--color-accent); }
a.text-button-icon:hover i { padding-left: 5px; }

/* Section headings */
.section-heading h6 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0;
  margin-bottom: 0;
  color: var(--color-accent);
}
.section-heading h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--color-text-heading);
}

/* Generic .section padding helper */
.section { padding: 80px 0; }


/* ─────────────────────────────────────────────
   04. Header
   ───────────────────────────────────────────── */
.background-header {
  background-color: #fff;
  height: 80px !important;
  position: fixed !important;
  top: 0; left: 0; right: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.15) !important;
}
.background-header .logo,
.background-header .main-nav .nav li a {
  color: var(--color-primary) !important;
}
.background-header .nepali-title { color: var(--color-primary); }
.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: var(--color-accent) !important;
  opacity: 1;
}

.header-area {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 100px;
  transition: all .5s ease;
}
.header-area .main-nav { min-height: 80px; background: transparent; }

/* Logo */
.header-area .main-nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 80px;
  line-height: normal;
  overflow: visible;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  float: left;
  transition: all 0.3s ease;
}
.header-area .main-nav .logo img {
  height: 220px;
  width: auto;
  display: block;
  transform: translateY(10px);
}

.nepali-title {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Nav */
.header-area .main-nav .nav {
  float: right;
  margin-top: 27px;
  background-color: transparent;
  transition: all 0.3s ease;
  position: relative;
  z-index: 999;
}
.header-area .main-nav .nav li { padding-left: 20px; padding-right: 20px; }
.header-area .main-nav .nav li a {
  display: block;
  position: relative;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
  height: 40px;
  line-height: 40px;
  border: transparent;
}
.header-area .main-nav .nav li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: var(--color-accent) !important;
  opacity: 1;
}
.header-area .main-nav .nav li a:hover::after,
.header-area .main-nav .nav li a.active::after { width: 70%; }

/* Submenu */
.header-area .main-nav .nav li.submenu { position: relative; padding-right: 35px; }
.header-area .main-nav .nav li.submenu:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: #fff;
  position: absolute;
  right: 18px;
  top: 12px;
}
.background-header .main-nav .nav li.submenu:after { color: var(--color-text-muted); }

.header-area .main-nav .nav li.submenu ul {
  position: absolute;
  width: 200px;
  border-radius: 12px;
  box-shadow: 0 2px 28px 0 rgba(0,0,0,0.06);
  overflow: hidden;
  top: 40px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(2em);
  visibility: hidden;
  z-index: -1;
  transition: all 0.3s ease-in-out, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}
.header-area .main-nav .nav li.submenu ul li { margin-left: 0; padding-left: 0; padding-right: 0; }
.header-area .main-nav .nav li.submenu ul li a {
  opacity: 1;
  display: block;
  background: #fff;
  color: var(--color-text-muted) !important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f5f5f5;
}
.header-area .main-nav .nav li.submenu ul li a::after { display: none; }
.header-area .main-nav .nav li.submenu ul li a:hover {
  background: #fff;
  color: var(--color-accent) !important;
  padding-left: 25px;
}
.header-area .main-nav .nav li.submenu:hover ul {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0.3s;
}

/* Hamburger trigger */
.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: none;
  position: absolute;
  top: 23px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
}
.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after { width: 75%; content: ""; }
.header-area .main-nav .menu-trigger span       { top: 16px; }
.header-area .main-nav .menu-trigger span:before {
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}
.header-area .main-nav .menu-trigger span:after  {
  transform-origin: 33% 0;
  top: 10px;
}
.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}
.header-area .main-nav .menu-trigger.active span:before {
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #1e1e1e;
}
.header-area .main-nav .menu-trigger.active span:after {
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #1e1e1e;
}

.header-area.header-sticky { min-height: 80px; }
.header-area.header-sticky .nav { margin-top: 20px !important; }
.header-area.header-sticky .nav li a.active { color: var(--color-accent); }

@media (max-width: 1200px) {
  .header-area .main-nav .nav li { padding-left: 12px; padding-right: 12px; }
}

@media (max-width: 767px) {
  .header-area .main-nav .logo { color: var(--color-primary); font-size: 16px; gap: 8px; }
  .header-area .main-nav .logo img { height: 160px; transform: translateY(8px); }
  .nepali-title { font-size: 20px; }

  .header-area {
    background-color: #f7f7f7;
    padding: 0 15px;
    height: 80px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container { padding: 0; }
  .header-area .logo      { margin-left: 30px; }
  .header-area .menu-trigger { display: block !important; }
  .header-area .main-nav     { overflow: hidden; }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    transition: none;
    margin-left: 0;
  }
  .header-area .main-nav .nav li:first-child { border-top: 1px solid #eee; }
  .header-area.header-sticky .nav            { margin-top: 80px !important; }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0 !important;
    border: none !important;
    background: #f7f7f7 !important;
    color: #191a20 !important;
  }
  .header-area .main-nav .nav li a::after { display: none; }
  .header-area .main-nav .nav li a:hover  { background: #eee !important; color: var(--color-accent) !important; }
  .header-area .main-nav .nav li.submenu ul {
    position: relative;
    visibility: inherit;
    opacity: 1;
    z-index: 1;
    transform: translateY(0);
    top: 0;
    width: 100%;
    box-shadow: none;
    height: 0;
  }
  .header-area .main-nav .nav li.submenu ul.active { height: auto !important; }
  .header-area .main-nav .nav li.submenu:after      { color: #3B566E; right: 25px; font-size: 14px; top: 15px; }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active       { color: var(--color-accent) !important; opacity: 1; }
}

@media (min-width: 768px) {
  .header-area .main-nav .nav { display: flex !important; align-items: center; }
}


/* ─────────────────────────────────────────────
   05. Banner / Slick slider
   ───────────────────────────────────────────── */
.img-fill {
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
  text-align: center;
}
.img-fill img {
  min-height: 100%;
  min-width: 100%;
  position: relative;
  display: inline-block;
  max-width: none;
}

.blocks-box, .slick-slider { margin: 0; padding: 0 !important; }
.slick-slide { float: left; padding: 0; }

.Modern-Slider { background: #000; }
.Modern-Slider .item .img-fill {
  height: 95vh;
  background: #000;
  position: relative;
}
.Modern-Slider .item .img-fill:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.Modern-Slider .NextArrow,
.Modern-Slider .PrevArrow {
  position: absolute;
  top: 50%;
  border: 0 none;
  background-color: transparent;
  text-align: center;
  font-size: 36px;
  font-family: 'FontAwesome';
  color: #fff;
  z-index: 5;
  outline: none;
}
.Modern-Slider .NextArrow       { right: 30px; }
.Modern-Slider .NextArrow:before{ content: '\f105'; }
.Modern-Slider .PrevArrow       { left: 30px; }
.Modern-Slider .PrevArrow:before{ content: '\f104'; }

ul.slick-dots { display: none !important; }

.Modern-Slider .text-content {
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.Modern-Slider .item h3 {
  margin-bottom: 25px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-accent);
  animation: fadeOutRight 1s both;
}
.Modern-Slider .item h5 {
  margin-bottom: 50px;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: fadeOutLeft 1s both;
}
.Modern-Slider .item a {
  margin: 0 5px;
  /* FIX: <a> is inline by default. Inline elements' vertical padding
     (11-13px top/bottom, set on .main-stroked-button / .main-filled-button)
     bleeds into the line above/below when the buttons wrap onto separate
     lines on mobile, which is what produced the overlapping pill shapes.
     display:inline-block below makes each button a proper box that pushes
     its own line height instead of overlapping its neighbour. */
  display: inline-block;
}
.Modern-Slider .item.slick-active h3 { animation: fadeInDown 1s both 1s; }
.Modern-Slider .item.slick-active h5 { animation: fadeInLeft 1s both 1.5s; }
.Modern-Slider .item.slick-active    { animation: Slick-FastSwipeIn 1s both; }

/* Slick internals (no box-sizing repeat here) */
.slick-slider        { position:relative;display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent }
.slick-list          { position:relative;display:block;overflow:hidden;margin:0;padding:0 }
.slick-list:focus    { outline:none } .slick-list.dragging{cursor:hand}
.slick-slider .slick-track,
.slick-slider .slick-list { -webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0) }
.slick-track         { position:relative;top:0;left:0;display:block }
.slick-track:before,.slick-track:after { display:table;content:'' } .slick-track:after{clear:both}
.slick-loading .slick-track { visibility:hidden }
.slick-slide         { display:none;float:left;height:100%;min-height:1px }
.slick-slide.dragging img { pointer-events:none }
.slick-initialized .slick-slide { display:block }
.slick-loading .slick-slide     { visibility:hidden }
.slick-vertical .slick-slide    { display:block;height:auto;border:1px solid transparent }

/* FIX: mobile banner spacing — shrinks the oversized 52px headline so the
   absolutely-centered .text-content block doesn't overflow the 95vh slide,
   and gives the now-inline-block buttons breathing room so they stack
   cleanly instead of touching. Scoped to max-width:767px only, so desktop
   and tablet are untouched. */
@media (max-width: 767px) {
  .Modern-Slider .item h3 { font-size: 16px; margin-bottom: 15px; }
  .Modern-Slider .item h5 { font-size: 34px; margin-bottom: 30px; }
  .Modern-Slider .item a  { margin: 8px 6px 0; }
}


/* ─────────────────────────────────────────────
   06. About  — warm cream background
   ───────────────────────────────────────────── */
#about {
  padding: 120px 0 0;
  position: relative;
  z-index: 9;
  background-color: var(--bg-about);
}
#about .container {
  border-bottom: 5px solid #f0d9c5;   /* amber-tinted divider on cream bg */
  padding-bottom: 80px;
}
#about .section-heading { margin-bottom: 10px; }
#about .service-item    { margin-top: 30px; }
#about .service-item img { float: left; margin-right: 15px; width: 46px; height: 46px; }
#about .service-item h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  line-height: 46px;
  color: var(--color-primary);         /* maroon — pops on cream */
}
#about a.main-button-icon    { display: inline-block; margin-top: 60px; }
#about .right-text-content   { margin-top: 40px; }
#about .right-text-content p {
  font-size: 16px;
  line-height: 28px;
  color: #4a3020;                      /* rich warm brown — readable on cream */
}


/* ─────────────────────────────────────────────
   07. Features  — soft lavender-white background
   ───────────────────────────────────────────── */
#features {
  padding-top: 80px;
  padding-bottom: 70px;
  background-color: var(--bg-features);
}
#features .features-item       { margin-bottom: 50px; }
.features-item .features-icon  { float: left; }
#features .features-content    { margin-left: 75px; }
.features-item .features-content h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  color: #1a1a4e;                      /* deep navy — strong contrast on lavender */
}
.features-item .features-content p {
  margin-bottom: 15px;
  color: #3a3a5c;                      /* muted indigo-grey for body text */
}


/* ─────────────────────────────────────────────
   08. Subscribe (retained for compat)
   ───────────────────────────────────────────── */
#subscribe {
  padding: 80px 0;
  background-image: url(../images/slide-02.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#subscribe .section-heading { text-align: center; margin-bottom: 25px; }
#subscribe .section-heading h6,
#subscribe .section-heading h2 { color: #fff; }
#subscribe p { text-align:center; font-size:16px; line-height:27px; color:#fff; margin-bottom:40px; }
#subscribe input {
  width: 100%;
  height: 38px;
  border-radius: 19px;
  border: 1px solid #fff;
  background-color: transparent;
  padding: 0 20px;
  font-size: 13px;
  color: #fff;
  outline: none;
}
.subscribe-form ::placeholder { color: #fff; }
@media (max-width: 767px) { #subscribe fieldset { text-align:center; margin-bottom:20px; } }


/* ─────────────────────────────────────────────
   09. Footer  (replaces all inline styles)
   ───────────────────────────────────────────── */
.site-footer {
  background: #1a1a2e;
  padding: 60px 0 0;
  margin-top: 0;
}

.footer-col { margin-bottom: 40px; }

/* Brand block */
.footer-brand         { text-align: center; margin-bottom: 18px; }
.footer-logo          {
  width: 180px; height: 180px;
  object-fit: contain;
  filter: invert(1) brightness(2);
  margin: 0 auto 12px;
  display: block;
}
.footer-brand-name    { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; }
.footer-brand-nepali  { color: #5578ff; font-size: 13px; font-family: 'Noto Sans Devanagari', sans-serif; }
.footer-desc          { color: #aaa; font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-tagline       {
  color: #5578ff;
  font-size: 13px;
  font-style: italic;
  font-family: 'Noto Sans Devanagari', sans-serif;
  text-align: center;
  margin: 0;
}

/* Headings */
.footer-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #5578ff;
  display: inline-block;
}

/* Quick links */
.footer-links         { list-style: none; padding: 0; margin: 0; }
.footer-links li      { margin-bottom: 10px; }
.footer-links li a    { color: #aaa; font-size: 14px; transition: color 0.2s; }
.footer-links li a i  { margin-right: 8px; color: #5578ff; }
.footer-links li a:hover { color: #5578ff; }

/* Contact list */
.footer-contact       { list-style: none; padding: 0; margin: 0; }
.footer-contact li    { color: #aaa; font-size: 14px; margin-bottom: 15px; display: flex; align-items: flex-start; }
.footer-contact li i  { color: #5578ff; margin-right: 12px; margin-top: 3px; min-width: 16px; }

/* Social buttons */
.footer-socials       { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  width: 42px; height: 42px;
  background: #5578ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.social-btn:hover { background: #fff; color: #5578ff; }

/* Established card */
.footer-established {
  margin-top: 30px;
  padding: 15px;
  border: 1px solid #333;
  border-radius: 8px;
  text-align: center;
  background: #111827;
}
.est-label    { color: #5578ff; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 5px; }
.est-year     { color: #fff; margin: 0; font-size: 28px; font-weight: 700; }
.est-location { color: #aaa; font-size: 12px; margin: 5px 0 0; }

/* Bottom bar */
.footer-bottom {
  background: #111827;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #222;
}
.footer-bottom p       { color: #666; font-size: 13px; margin: 0; }
.footer-bottom .text-right { text-align: right; }
.footer-star           { color: #5578ff; }
.back-top              { color: #5578ff; text-decoration: none; }
.back-top:hover        { text-decoration: underline; }


/* ─────────────────────────────────────────────
   10. Preloader
   ───────────────────────────────────────────── */
#preloader {
  overflow: hidden;
  background-image: linear-gradient(145deg, var(--color-primary) 0%, var(--color-accent) 100%);
  left: 0; right: 0; top: 0; bottom: 0;
  position: fixed;
  z-index: 99999;
  color: #fff;
}
#preloader .jumper {
  left: 0; top: 0; right: 0; bottom: 0;
  display: block;
  position: absolute;
  margin: auto;
  width: 50px;
  height: 50px;
}
#preloader .jumper > div {
  background-color: #fff;
  width: 50px; height: 50px;
  border-radius: 100%;
  animation-fill-mode: both;
  position: absolute;
  opacity: 0;
  animation: jumper 1s 0s linear infinite;
}
#preloader .jumper > div:nth-child(2) { animation-delay: 0.33333s; }
#preloader .jumper > div:nth-child(3) { animation-delay: 0.66666s; }

@keyframes jumper {
  0%   { opacity: 0; transform: scale(0); }
  5%   { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}


/* ─────────────────────────────────────────────
   11. Search (inline expanding bar)
   ───────────────────────────────────────────── */
.search-icon { position: relative; }

.header-area .main-nav .nav .search-icon { float: none; margin-left: 15px; }
.header-area .main-nav .nav .search-icon a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  transition: background-color 0.3s, color 0.3s;
}
.header-area .main-nav .nav .search-icon a:hover {
  opacity: 1;
  background-color: #fff;
  color: var(--color-accent) !important;
}
.background-header .main-nav .nav .search-icon a {
  background-color: #f1f1f1;
  color: var(--color-primary);
}

#search {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background-color: transparent;
  display: block;
  pointer-events: none;
  z-index: 998;
}
#search.open  { pointer-events: auto; }
#search .close { display: none; }

#search form#search-box {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: max-width 0.4s ease, opacity 0.3s ease;
  margin: 0;
  pointer-events: none;
}
#search.open form#search-box { max-width: 280px; opacity: 1; pointer-events: auto; }

#search form#search-box fieldset { margin: 0; padding: 0; border: 0; white-space: nowrap; }
#search form#search-box fieldset:first-child { flex: 1 1 auto; min-width: 0; }

#search input[type="search"] {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  color: #1e1e1e;
  background: transparent;
  border: 0;
  outline: none;
  padding: 10px 0 10px 18px;
  height: 40px;
}
#search input[type="search"]::placeholder { color: #aaa; }

#search .main-button {
  margin: 0 6px 0 0;
  border-radius: 18px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
#search .main-button:hover { background-color: var(--color-accent-dark); }

@media (max-width: 767px) {
  .header-area .main-nav .nav .search-icon {
    width: 100%;
    text-align: center;
    margin-left: 0;
    display: flex;
    justify-content: center;
    padding: 10px 0;
  }
  #search { right: 0; left: 0; margin-top: 8px; }
  #search.open form#search-box { max-width: 92vw; margin: 0 auto; }
}


/* ─────────────────────────────────────────────
   12. Portfolio / Gallery  — soft mint background
   ───────────────────────────────────────────── */
#projects {
  padding-top: 120px;
  background-color: var(--bg-projects);
}
#projects .section-heading {
  margin-bottom: 60px;
}
/* Override heading colour to complement mint */
#projects .section-heading h2 { color: #0d3320; }  /* deep forest green */
#projects .section-heading h6 { color: #1a7a45; }  /* medium green accent */

/* Vertical filter list (desktop) */
#projects .filters      { margin-top: 50px; }
#projects .filters ul   { padding: 0; }
#projects .filters ul li {
  list-style: none;
  display: block;
  padding: 15px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #5a7a68;                       /* muted sage for inactive items */
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}
#projects .filters ul li.active,
#projects .filters ul li:hover { color: var(--color-accent); }

/* Grid */
#projects .filters-content          { margin-top: 50px; }
#projects .filters-content .all     { margin-bottom: 30px; }
#projects .filters-content .item    {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
#projects .filters-content .item:hover { opacity: 0.8; }
#projects .filters-content .item img   { width: 100%; }

@media (max-width: 992px) {
  #projects .filters ul li   { display: inline-block; margin-right: 10px; padding: 0; }
  #projects .section-heading { margin-bottom: 0; }
}


/* ─────────────────────────────────────────────
   13. Contact  — pale gold / warm ivory background
   ───────────────────────────────────────────── */
#contact-us {
  padding: 120px 0;
  background-color: var(--bg-contact);
  background-image: url(../images/dotted-map-bg.png);
  background-position: center;
  background-repeat: no-repeat;
}
#contact-us .section-heading { margin-bottom: 50px; }
#contact-us .section-heading h2 { color: #3d2800; }   /* dark amber-brown */
#contact-us .section-heading h6 { color: #c97a00; }   /* golden accent */

#contact-us .left-text-content ul li {
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #5a4020;                        /* warm dark brown for contact info */
}
#contact-us .left-text-content ul li img { margin-right: 15px; }

#contact { margin-top: 40px; }

.contact-form input,
.contact-form textarea {
  color: #3d2800;                        /* dark amber-brown text in inputs */
  font-size: 15px;
  border: 1px solid #e0c98a;            /* golden border on pale gold bg */
  background-color: #fffef7;            /* near-white with gold tint */
  width: 100%;
  height: 46px;
  outline: none;
  padding: 3px 20px;
  -webkit-appearance: none;
  appearance: none;
  margin-bottom: 30px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus  {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,107,1,0.12);
}
.contact-form textarea        { height: 150px; resize: none; padding: 20px; }
.contact-form ::placeholder   { color: #b09060; }   /* warm muted gold placeholder */


/* ─────────────────────────────────────────────
   14. Testimonials / Team (Office Bearers)
   ───────────────────────────────────────────── */
#testimonials {
  margin-top: 120px;
  padding: 120px 0;
  background-image: url(../images/slide-03.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#testimonials .section-heading { text-align: center; margin-bottom: 60px; }
#testimonials .section-heading h6,
#testimonials .section-heading h2 { color: #fff; }

#testimonials .item { position: relative; text-align: center; }
#testimonials .item h4 {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 22px;
  margin-bottom: 7px;
}
#testimonials .item span {
  color: #ffd580;                      /* warm gold — readable over dark image bg */
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Member thumb hover */
#testimonials .item .member-thumb       { position: relative; }
#testimonials .item .hover-effect {
  cursor: pointer;
  position: absolute;
  top: 0; bottom: 0;
  width: 100%;
  background-color: rgba(84,6,2,0.92);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}
#testimonials .item .hover-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
#testimonials .item:hover .hover-effect { opacity: 1; visibility: visible; }

#testimonials .item .hover-effect ul li         { display: inline-block; margin: 0 5px; }
#testimonials .item .hover-effect ul li a {
  width: 32px; height: 32px;
  display: inline-block;
  text-align: center;
  line-height: 32px;
  font-size: 14px;
  background-color: #fff;
  border-radius: 50%;
  color: var(--color-accent);
  transition: all 0.3s ease;
}
#testimonials .item .hover-effect ul li a:hover { color: #fff; background-color: var(--color-accent); }

/* Owl dots */
#testimonials .owl-carousel { padding-bottom: 60px; }

.owl-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}
.owl-dots .owl-dot { outline: none; height: 10px; }
.owl-dots .owl-dot span {
  width: 8px; height: 8px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  outline: none;
  transition: all 0.2s ease;
}
.owl-dots .active span {
  width: 10px; height: 10px;
  margin-bottom: -1px;
  background-color: var(--color-accent);
}