/* ==========================================================================
   BDO Lebanon — Modern Theme Overlay
   A non-destructive restyle layer. Loaded AFTER the original style.css so its
   rules win. Refines color, typography, spacing, shadows, and interactions on
   the existing markup without changing the core HTML structure.

   Theme: Compact Modern Design in Logo Blue & Gold Yellow
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --brand:        #286582;   /* Logo primary blue */
  --brand-light:  #3b82f6;   /* brighter royal blue for hover/gradients */
  --brand-dark:   #1b465c;   /* darker brand blue */
  --brand-deep:   #0d1d26;   /* dark slate navy (headers, footers, dark backgrounds) */
  --brand-navy:   #152c3a;   /* secondary dark navy */
  --accent:       #eab308;   /* gold yellow */
  --accent-dark:  #ca8a04;   /* darker gold yellow hover */
  --ink:          #0f172a;   /* deep slate headings */
  --body:         #475569;   /* slate-600 body text */
  --muted:        #64748b;   /* slate-500 */
  --line:         #e2e8f0;   /* border lines */
  --surface:      #ffffff;
  --surface-2:    #f8fafc;
  --shadow-sm:    0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px 0 rgba(15, 23, 42, 0.03);
  --shadow-md:    0 8px 20px -4px rgba(15, 23, 42, 0.06), 0 6px 8px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg:    0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 10px 14px -6px rgba(15, 23, 42, 0.08);
  --radius-lg:    14px;
  --radius-md:    10px;
  --radius-sm:    6px;
  --radius-full:  9999px;
  --t:            0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Compact Spacing & Height Overrides --------------------------- */
.sec-padding {
  padding-top: 45px !important;
  padding-bottom: 45px !important;
}
.pt-70 { padding-top: 30px !important; }
.pb-70 { padding-bottom: 30px !important; }
.pt-80 { padding-top: 35px !important; }
.pb-90 { padding-bottom: 40px !important; }
.pt-90 { padding-top: 40px !important; }
.pb_60 { padding-bottom: 30px !important; }
.pb-40 { padding-bottom: 20px !important; }

.sec-title {
  margin-bottom: 32px !important;
}
.mb-20, .mb_20 { margin-bottom: 12px !important; }
.mb-30, .mb_30 { margin-bottom: 15px !important; }
.mb-40, .mb_40 { margin-bottom: 20px !important; }
.mb-60, .mb_60 { margin-bottom: 25px !important; }
.mt-60, .mt_60 { margin-top: 25px !important; }

.top-bar {
  padding: 6px 0 !important;
}
.header {
  /* Header height matches the logo (65px) with no top/bottom spacing */
  padding: 0 !important;
  height: 65px !important;
}
.header .container { height: 65px; }
/* Vertically center the logo and the right-side info within the 65px header */
.header .logo,
.header .logo a,
.header .header-right-info {
  height: 65px;
  display: flex;
  align-items: center;
}
.header .header-right-info { justify-content: flex-end; }
.nav-header > ul > li > a {
  padding: 16px 18px !important;
}
.mainmenu-area .search-box {
  height: 52px !important;
}

/* ---------- Base Typography ------------------------------------------------ */
body,
body.page-wrapper {
  font-family: 'Inter', sans-serif;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.65;
  background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p { color: var(--body); }

a { transition: color var(--t), background var(--t), border-color var(--t); }
a:hover { color: var(--brand); }

img { max-width: 100%; height: auto; }

::selection { background: var(--brand); color: #ffffff; }

/* ---------- Section Titles & Underlines ------------------------------------- */
.sec-title h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}
.sec-title p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 15px; }

/* Redesigned underline decor */
.sec-title .decor,
.welcome-title + * .decor { display: inline-block; position: relative; margin-top: 4px; }
.sec-title .decor .inner,
.decor .inner {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  width: 8px !important;
  height: 8px !important;
}
.sec-title span.decor:before,
.sec-title span.decor:after,
.sec-title.colored span.decor:before,
.sec-title.colored span.decor:after {
  background: var(--brand) !important;
  height: 2px !important;
  border-radius: 4px;
}
.sec-title span.decor:before { width: 45px !important; left: 16px !important; }
.sec-title span.decor:after { width: 45px !important; right: 16px !important; }

/* Single page headers */
.inner-header {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-navy)) !important;
  padding: 40px 0 !important;
  position: relative;
  overflow: hidden;
}
.inner-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.12), transparent 50%);
}
.inner-header h2 { color: #ffffff !important; font-size: 32px; font-weight: 800; }
.inner-header .breadcumb li,
.inner-header .breadcumb li a,
.inner-header .breadcumb li span {
  color: rgba(255, 255, 255, 0.8) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
}
.inner-header .breadcumb li a:hover { color: var(--accent) !important; }

/* ---------- Top Bar -------------------------------------------------------- */
.top-bar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  border: none;
}
.top-bar .left-text p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.top-bar .left-text span { color: var(--accent); font-weight: 600; }
.top-bar .social-icons ul { margin: 0; }
.top-bar .social-icons li a {
  color: rgba(255, 255, 255, 0.8);
  width: 28px; height: 28px; line-height: 28px;
  display: inline-block; text-align: center;
  border-radius: 50%;
  transition: var(--t);
  border-right: none !important;
  border-left: none !important;
  padding: 0 !important;
}
.top-bar .social-icons li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---------- Main Header & Branding ----------------------------------------- */
.header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line);
}
.header .logo img { height: 65px; max-height: 65px; width: auto; display: block; transition: var(--t); }
.header .logo a:hover img { opacity: 0.9; }

.single-header-info { padding-left: 30px; }
.single-header-info .icon-box .inner-box {
  border: 1px solid var(--line);
  color: var(--brand);
  background: var(--surface-2);
  width: 44px; height: 44px; line-height: 42px;
  transition: var(--t);
}
.single-header-info:hover .icon-box .inner-box {
  background: var(--brand);
  border-color: var(--brand);
}
.single-header-info:hover .icon-box .inner-box i:before {
  color: #ffffff;
}
.single-header-info .icon-box .inner-box i:before {
  color: var(--brand);
  font-size: 20px;
}
.single-header-info .content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}
.single-header-info .content p { color: var(--ink); font-weight: 600; margin: 0; font-size: 13.5px; }
.single-header-info .content p b { color: var(--ink); font-weight: 700; font-size: 14.5px; }

/* ---------- Buttons & Calls to Action (CTAs) ------------------------------ */
.thm-btn,
.single-header-info .thm-btn,
a.thm-btn,
button[type="submit"],
.contact-form button {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-full);
  padding: 10px 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(40, 101, 130, 0.2);
  transition: var(--t);
  display: inline-block;
  text-align: center;
}
.thm-btn:hover,
.single-header-info .thm-btn:hover,
a.thm-btn:hover,
button[type="submit"]:hover,
.contact-form button:hover {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(40, 101, 130, 0.3);
}

/* Make Donate Now button in header Stand Out in Accent Gold */
.single-header-info .thm-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.25);
  color: var(--brand-deep) !important;
}
.single-header-info .thm-btn:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.35);
}

.thm-btn.inverse {
  background: transparent;
  border: 2px solid var(--brand) !important;
  color: var(--brand) !important;
  box-shadow: none;
}
.thm-btn.inverse:hover {
  background: var(--brand);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(40, 101, 130, 0.2);
}
.thm-btn.btn-xs { padding: 6px 16px !important; font-size: 11.5px !important; }

.btn-details {
  color: var(--brand);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-details:hover { color: var(--brand-dark); }
.btn-details::after {
  content: "→";
  transition: transform var(--t);
}
.btn-details:hover::after {
  transform: translateX(4px);
}

/* ---------- Main Menu & Sticky Navigation ---------------------------------- */
.mainmenu-area {
  background: #ffffff;
  border-bottom: 3px solid var(--brand);
  border-top: none;
  box-shadow: var(--shadow-sm);
}
.mainmenu-area.stricky-fixed {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--brand);
}
.nav-header > ul > li > a {
  color: var(--brand-deep) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 15px 18px;
  position: relative;
  text-transform: capitalize;
}
.nav-header > ul > li:first-child > a { padding-left: 0 !important; }
.nav-header > ul > li > a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 8px;
  height: 2px;
  border-radius: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t);
}
.nav-header > ul > li:hover > a { color: var(--brand) !important; }
.nav-header > ul > li:hover > a::after { transform: scaleX(1); }

/* Dropdowns menu redesign */
.navigation .nav-header > ul > li > ul {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 6px 0;
}
.navigation .nav-header > ul > li > ul > li > a {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: var(--brand-deep);
  padding: 8px 16px;
  border-bottom: none;
}
.navigation .nav-header > ul > li > ul > li:hover > a {
  background: var(--surface-2);
  color: var(--brand);
}

.mainmenu-area .search-box {
  background: var(--surface-2);
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 16px;
}
.mainmenu-area .search-box input {
  color: var(--brand-deep);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.mainmenu-area .search-box button {
  color: var(--brand);
  font-size: 15px;
  cursor: pointer;
  transition: var(--t);
}
.mainmenu-area .search-box button:hover {
  color: var(--brand-dark);
  transform: scale(1.1);
}

/* ---------- Welcome & Projects Sections ----------------------------------- */
.welcome-section { background: var(--surface-2) !important; }
.welcome-title { font-size: 26px; font-weight: 800; color: var(--brand-deep); }

.welcome-project {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--t);
  height: 100%;
}
.welcome-project:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.welcome-project .thumb { position: relative; overflow: hidden; }
.welcome-project .thumb img {
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.welcome-project:hover .thumb img { transform: scale(1.05); }
.welcome-project .thumb .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 29, 38, 0.92), rgba(40, 101, 130, 0.25));
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--t);
}
.welcome-project:hover .thumb .overlay { opacity: 1; }
.welcome-project .thumb .overlay a {
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  transform: translateY(10px);
  transition: var(--t);
}
.welcome-project:hover .thumb .overlay a { transform: translateY(0); }
.welcome-project .thumb .overlay a:hover { background: #ffffff; color: var(--brand-deep); }

.welcome-project .caption { padding: 16px 20px !important; }
.welcome-project .caption .title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brand-deep);
}
.welcome-project .caption .title a { color: var(--brand-deep); }
.welcome-project .caption .title a:hover { color: var(--brand); }
.welcome-project .caption p { color: var(--body); font-size: 13.5px; line-height: 1.5; margin: 0; }

/* Projects detail list pages */
.causes {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--t);
  margin-bottom: 24px;
}
.causes:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.causes .causes-details { padding: 18px 20px !important; }
.causes .causes-details h4.title a {
  color: var(--brand-deep);
  font-weight: 750;
  font-size: 17px;
}
.causes .causes-details h4.title a:hover { color: var(--brand); }
.causes .causes-details p { color: var(--body); font-size: 13.5px; margin-bottom: 15px; }

/* ---------- Promote Project (Call to Action banner) ------------------------ */
.promote-project h3 { color: var(--brand); font-weight: 750; letter-spacing: 0.05em; font-size: 14px; }
.promote-project h2 { font-size: 28px; color: var(--brand-deep); font-weight: 850; margin: 8px 0 15px; }
.promote-project p { font-size: 15px; color: var(--body); line-height: 1.65; }
.overlay-white:before { background: var(--surface-2); opacity: 0.96; }

/* ---------- Mission / Services -------------------------------------------- */
.single-service-home {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px !important;
  height: 100%;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.single-service-home::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--brand), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t);
}
.single-service-home:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.single-service-home:hover::before { transform: scaleY(1); }
.single-service-home .content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.single-service-home .content h3 i:before {
  color: var(--brand);
  font-size: 24px;
}
.single-service-home .content p { color: var(--body); font-size: 13.5px; }

/* FAQ Accordions */
.accrodion-grp { margin-top: 20px; }
.accrodion {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.accrodion.active {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.accrodion .accrodion-title h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-deep);
  padding: 12px 18px;
  cursor: pointer;
  margin: 0;
}
.accrodion.active .accrodion-title h4 { color: var(--brand); }
.accrodion .accrodion-content {
  padding: 0 18px 18px 18px;
  color: var(--body);
  font-size: 13.5px;
}
.accrodion-title h4 span.decor { display: none; }

/* ---------- Facts & Counter Wrapper --------------------------------------- */
.fact-counter-wrapper {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-navy)) !important;
  padding: 50px 0 !important;
  position: relative;
}
.fact-counter-wrapper::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(234, 179, 8, 0.08), transparent 60%);
  z-index: 0;
}
.fact-counter-wrapper .container { position: relative; z-index: 1; }
.fact-counter-wrapper h2 {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
}
.fact-counter-wrapper h2 span { color: var(--accent); }
.single-fact { text-align: center; }
.single-fact .icon-box i:before { color: var(--accent) !important; font-size: 36px; }
.single-fact .timer {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  margin: 6px 0 2px;
}
.single-fact p { color: rgba(255, 255, 255, 0.85); font-family: 'Outfit', sans-serif; font-size: 14px; letter-spacing: 0.02em; }

/* ---------- Latest News & Blogs ------------------------------------------- */
.single-blog-post {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--t);
  height: 100%;
}
.single-blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.single-blog-post .img-box { position: relative; overflow: hidden; }
.single-blog-post .img-box img {
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.single-blog-post:hover .img-box img { transform: scale(1.05); }
.single-blog-post .img-box .overlay {
  position: absolute; inset: 0;
  background: rgba(13, 29, 38, 0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--t);
}
.single-blog-post:hover .img-box .overlay { opacity: 1; }
.single-blog-post .img-box .overlay a {
  color: #ffffff; font-size: 18px;
  width: 40px; height: 40px; line-height: 36px;
  border: 2px solid #ffffff; border-radius: 50%;
  display: inline-block; text-align: center;
}
/* Reset the original table-cell layout so the floating date badge and the
   text content stack as normal blocks (prevents the date overlapping the title). */
.single-blog-post .content-box {
  padding: 38px 20px 18px !important;   /* top padding clears the floating date badge */
  position: relative;
  display: block !important;
}
.single-blog-post .content-box .date-box,
.single-blog-post .content-box .content {
  display: block !important;            /* override style.css table-cell */
  vertical-align: top;
  width: auto !important;
  padding-right: 0 !important;
}
.single-blog-post .date-box {
  position: absolute;
  top: -22px;
  left: 20px;
  z-index: 2;
}
.single-blog-post .date-box .inner {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
  text-align: center;
  width: auto !important;               /* override fixed 65px from style.css */
  line-height: 1;
}
.single-blog-post .date-box .inner .date {
  background: transparent !important;    /* style.css set a solid teal bg + padding */
  padding: 0 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
}
.single-blog-post .date-box .date b {
  font-family: 'Outfit', sans-serif;
  font-size: 20px !important;
  display: block;
  line-height: 1 !important;
  font-weight: 800;
  color: #ffffff !important;
}
.single-blog-post .date-box .date { font-size: 12px; text-transform: uppercase; font-weight: 600; }
/* Hide the empty decorative comment sub-box that inflated the badge height */
.single-blog-post .date-box .comment { display: none !important; }

.single-blog-post .content { margin-top: 0; }
.single-blog-post .content h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; margin-top: 0; }
.single-blog-post .content h3 a { color: var(--brand-deep); }
.single-blog-post .content h3 a:hover { color: var(--brand); }
.single-blog-post .content p { color: var(--body); font-size: 13.5px; margin-bottom: 12px; }

/* ---------- Volunteers ---------------------------------------------------- */
.single-team-member {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--t);
  margin-bottom: 15px;
}
.single-team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.single-team-member .img-box img { width: 100%; transition: transform 0.5s var(--t); }
.single-team-member:hover .img-box img { transform: scale(1.04); }
.meet-Volunteer h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px !important;
  color: var(--brand-deep) !important;
  font-weight: 700 !important;
  margin-top: 10px !important;
  margin-bottom: 2px !important;
}
.meet-Volunteer span {
  color: var(--brand) !important;
  font-weight: 600;
  font-size: 12px;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
}
.meet-Volunteer p { color: var(--body); font-size: 13.5px; }

/* ---------- Client Sponsors / Partners Carousel --------------------------- */
.p_35 { background: var(--surface-2) !important; padding: 25px 0 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-carousel .img-box {
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  filter: grayscale(100%) opacity(0.65);
  transition: var(--t);
}
.clients-carousel .img-box:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* ---------- Contact Pages & Form Controls ---------------------------------- */
input:not([type="submit"]):not([type="button"]),
textarea, select {
  font-family: 'Inter', sans-serif;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--brand-deep);
  transition: var(--t);
  outline: none;
  margin-bottom: 12px;
  font-size: 13.5px;
}
input:not([type="submit"]):not([type="button"]):focus,
textarea:focus, select:focus {
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(40, 101, 130, 0.15);
}
/* ---------- Contact Page: Map ---------------------------------------------- */
.contact-content .sec-title { margin-bottom: 24px !important; }
.contact-map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  margin-bottom: 45px;
  line-height: 0;            /* removes iframe baseline gap */
}
.contact-map-box iframe { display: block; width: 100%; }

/* ---------- Contact Page: Address list ------------------------------------- */
.contact-main-row h2 {
  font-size: 24px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
}
.contact-main-row h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 44px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.contact-info { padding: 0; margin: 0; list-style: none; }
.contact-info li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;   /* icon aligns to top of text, no overlap */
  padding: 0;
}
.contact-info li::before { display: none !important; }   /* kill any inherited bullet/decor */
.contact-info li .icon-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--brand);
  border-radius: 50%;
  width: 44px; height: 44px;
  min-width: 44px;           /* never shrink, keeps text beside it */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  position: static;          /* override theme's absolute positioning */
  margin: 0;
  flex-shrink: 0;
  transition: var(--t);
}
.contact-info li .icon-box .inner { all: unset; }   /* neutralize old nested wrapper if present */
.contact-info li:hover .icon-box {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  transform: translateY(-2px);
}
.contact-info li .content-box { padding-top: 2px; }
.contact-info li .content-box h4 {
  font-size: 15px; font-weight: 700; color: var(--brand-deep); margin: 0 0 3px;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.contact-info li .content-box p { color: var(--body); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Footer Styling ------------------------------------------------- */
.footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 30px !important;
}
.footer .footer-widget p { color: rgba(255, 255, 255, 0.65); line-height: 1.6; font-size: 13.5px; }
.footer .footer-widget .title {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer .footer-widget .title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-light));
}

.footer .contact li i { color: var(--accent); font-size: 13px; margin-top: 4px; }
.footer .contact li span { color: rgba(255, 255, 255, 0.8); font-size: 13.5px; }

.footer .quick-links ul li a {
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Outfit', sans-serif;
  transition: var(--t);
  font-size: 13.5px;
}
.footer .quick-links ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer .quick-links ul li { margin-bottom: 8px; list-style: none; }
.footer .quick-links ul { padding-left: 0; }

.footer .latest-post ul { padding-left: 0; }
.footer .latest-post ul li { list-style: none; display: flex; gap: 10px; margin-bottom: 12px; }
.footer .latest-post .content a {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.35;
  display: block;
}
.footer .latest-post .content a:hover { color: var(--accent); }
.footer .latest-post .content span { color: var(--muted); font-size: 11px; display: block; margin-top: 2px; }

.footer .social { padding-left: 0; margin-top: 15px; }
.footer .social li { display: inline-block; list-style: none; }
.footer .social li a {
  width: 32px; height: 32px; line-height: 32px;
  display: inline-block; text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  margin-right: 6px;
  transition: var(--t);
}
.footer .social li a:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--brand-deep);
  transform: translateY(-2px);
}

.footer .contact-widget .contact-form input,
.footer .contact-widget .contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  width: 100%;
  margin-bottom: 8px;
  transition: var(--t);
  font-size: 13px;
}
.footer .contact-widget .contact-form input::placeholder,
.footer .contact-widget .contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.footer .contact-widget .contact-form input:focus,
.footer .contact-widget .contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}
.footer .contact-widget .contact-form button {
  width: 100%;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--brand-deep) !important;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}
.footer .contact-widget .contact-form button:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.3);
}

.footer-bottom {
  background: #071015;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Outfit', sans-serif;
}

/* ---------- Scroll To Top -------------------------------------------------- */
.scroll-to-top {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #ffffff;
  border-radius: 50%;
  width: 38px; height: 38px; line-height: 38px;
  box-shadow: var(--shadow-md);
  transition: var(--t);
  z-index: 999;
}
.scroll-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ---------- Facebook Feed Section ------------------------------------------ */
.fb-feed-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(40, 101, 130, 0.05), transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(234, 179, 8, 0.06), transparent 45%),
    var(--surface-2);
}

/* Fixed 2 x 2 grid of equally framed cards (full container width) */
.fb-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}

/* Decorative gradient frame: outer padding shows the gradient, inner card is white */
.fb-post-card {
  position: relative;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  padding: 4px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.fb-post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
/* Soft glow behind the frame */
.fb-post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  pointer-events: none;
}

/* Branded card header */
.fb-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 14px 14px 0 0;
  padding: 12px 16px;
}
.fb-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #1877f2;            /* Facebook blue */
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
}
.fb-card-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.fb-card-name small {
  font-weight: 500;
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 2px;
}

/* Card body holds the iframe; fixed height keeps all four cards uniform.
   Facebook embeds are capped at 500px wide, so we center the post inside the
   now full-width card instead of leaving an empty gap on the right. */
.fb-card-body {
  background: #ffffff;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  height: 460px;                 /* uniform height for the 2x2 grid */
  line-height: 0;
  display: flex;
  justify-content: center;       /* center the 500px FB post horizontally */
}
.fb-card-body iframe {
  display: block;
  width: 100% !important;
  max-width: 500px;              /* FB plugin's real max width */
  height: 100% !important;       /* fill the fixed body; FB content scrolls if taller */
  border: 0;
}
.fb-feed-cta { margin-top: 40px; }
.fb-feed-cta .thm-btn i { margin-right: 8px; }

@media (max-width: 767px) {
  .fb-feed-grid { grid-template-columns: 1fr; gap: 24px; }
  .fb-card-body { height: 420px; }
}

/* ---------- Small Responsive Refinements ---------------------------------- */
@media (max-width: 991px) {
  .sec-title h2 { font-size: 24px; }
  .welcome-project, .single-service-home, .single-blog-post { margin-bottom: 18px; }
  .single-fact { margin-bottom: 16px; }
  .nav-header > ul > li > a { padding: 12px 10px !important; font-size: 13px; }
  .single-header-info { padding-left: 15px; }
}

@media (max-width: 767px) {
  .fb-feed-grid { column-count: 1; }
}
