/* ================================================================
   Elite Enterprises — Professional Redesign
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Raleway:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary:    #f5a623;
  --primary-dk: #e0921a;
  --accent:     #00b4c8;
  --accent-dk:  #0098aa;
  --dark:       #1c1c1c;
  --dark-2:     #2a2a2a;
  --dark-3:     #333333;
  --text:       #444444;
  --text-light: #777777;
  --heading:    #1c1c1c;
  --border:     #e8e8e8;
  --white:      #ffffff;
  --bg-light:   #f9f9f9;
  --bg-section: #f4f4f4;
  --shadow-sm:  0 2px 10px rgba(0,0,0,.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.14);
  --radius:     10px;
  --radius-lg:  16px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%; width: 100%;
  padding: 0; margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 14px;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: .95rem; }
h6 { font-size: .875rem; }

p {
  margin-bottom: 18px;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-light);
}

a {
  color: var(--accent);
  text-decoration: none;
  outline: none;
  transition: var(--transition);
}
a:hover, a:focus { color: var(--primary); text-decoration: none; }

img { max-width: 100%; height: auto; }

/* Override Bootstrap container to fill full page width */
.container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

::selection { background: var(--primary); color: var(--dark); }

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Page Loader ──────────────────────────────────────────────── */

#pageloader {
  width: 100%; height: 100%;
  position: fixed;
  background: #1c1c1c;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exact-loader {
  width: 300px;
  height: 300px;
  border: 0;
  background: transparent;
  transform: scale(.46);
  transform-origin: center;
  opacity: 0;
  transition: opacity .12s ease;
}
.exact-loader.is-ready { opacity: 1; }

/* ── Scroll-to-top ────────────────────────────────────────────── */

.scrollup {
  width: 44px; height: 44px;
  position: fixed;
  bottom: 30px; right: 20px;
  display: none;
  background: var(--primary);
  color: var(--dark);
  border-radius: 4px;
  text-align: center;
  line-height: 44px;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transition: var(--transition);
}
.scrollup:hover { background: var(--primary-dk); transform: translateY(-3px); color: var(--dark); }

/* ── Section ──────────────────────────────────────────────────── */

.section {
  padding: 100px 0 70px;
  position: relative;
}

.section .container { position: relative; }

/* ── Section Title ────────────────────────────────────────────── */

.title-box {
  margin-bottom: 60px;
  position: relative;
}

.title-box h2.title {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -.5px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.title-box h2.title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.title-box.text-center h2.title::after {
  left: 50%;
  transform: translateX(-50%);
}

.title-box.white h2.title { color: #fff; }
.title-box.white h2.title::after { background: var(--primary); }

/* Legacy before pseudo — keep for compat */
.title-box h2:before { display: none; }

/* ── Overlay ──────────────────────────────────────────────────── */

.overlay {
  background: rgba(10,14,23,.72);
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
}

section { position: relative; }

.parallax .container { position: relative; }
.parallax {
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.clear { clear: both; }

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.4;
  box-shadow: none;
}

.btn-red {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}
.btn-red:hover, .btn-red:focus {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-white:hover, .btn-white:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  font-weight: 700;
}
.btn-green:hover, .btn-green:focus {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-gray-border {
  border: 2px solid var(--border);
  background: transparent;
  color: var(--heading);
}
.btn-gray-border:hover, .btn-gray-border:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ================================================================
   NAVIGATION
   ================================================================ */

#header {
  top: 0; z-index: 99999;
  width: 100%;
  position: fixed;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(245, 166, 35, 0.4);
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(12, 12, 12, 0.99) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
  border-bottom-color: var(--primary);
}

/* Nav inner layout — flex row, vertically centered */
#header .container > .row { margin: 0; }

#header .col-sm-12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 20px;
}

/* Logo */
.logo-nav {
  float: none;
  height: 74px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-nav a,
.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none !important;
  gap: 12px;
}

.logo-nav img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 5px 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  transition: var(--transition);
}

.logo-nav a:hover img,
.logo-link:hover img {
  transform: scale(1.05);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
}

/* Logo text block */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.logo-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.92;
  transition: var(--transition);
}

.logo-link:hover .logo-name { color: var(--primary); }
.logo-link:hover .logo-sub  { color: #ffffff; }

/* Nav menu */
#main-menu {
  z-index: 300;
  float: none !important;
  align-items: center;
  height: 74px;
}

#main-menu ul {
  display: flex !important;
  align-items: center;
  height: 100%;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

#main-menu ul li {
  display: flex !important;
  align-items: center;
  height: 100%;
  position: relative;
}

#main-menu ul li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

#main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

#main-menu ul li a:hover::after,
#main-menu ul li.active > a::after { width: 65%; }

#main-menu ul li a:hover { color: var(--primary); }

#main-menu ul.nav > li > a:hover,
#main-menu ul.nav > li > a:focus,
#main-menu ul.nav > li > a:active {
  background: none !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

#main-menu ul li.active > a { color: var(--primary); }

/* Mobile toggle button */
.clear-toggle { display: none; clear: both; }

.navbar-toggle {
  display: none;
  color: #fff;
  font-size: 22px;
  margin: 0;
  padding: 8px 10px;
  border: 1.5px solid rgba(245,166,35,0.6);
  border-radius: 6px;
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
  position: absolute;
  right: 20px;
}

.navbar-toggle:hover,
.navbar-toggle.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.navbar-toggle.active .fa-bars::before { content: "\f00d"; }

.navbar-toggle .icon-bar { display: none; }

.menu-bg {
  background: rgba(18, 18, 18, 0.96);
  border-bottom: 2px solid var(--primary);
}

/* ================================================================
   HERO SLIDER
   ================================================================ */

.home {
  overflow: hidden;
  font-family: 'Raleway', sans-serif;
}

.home .slides { display: inline-block; width: 100%; }
.home .flexslider { overflow: hidden; }

.flexslider .slides img {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  object-fit: cover;
  display: block;
}

.slider-overlay {
  background: rgba(15,20,30,.65);
  position: absolute;
  left: 0; top: 0; right: 0;
  z-index: 100;
  width: 100%; height: 100%;
}

.slider-text-wrapper {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-align: center;
  z-index: 999;
  padding: 0 20px;
}

.big {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
  margin-bottom: 20px;
}

.small {
  font-size: clamp(.95rem, 2vw, 1.25rem);
  font-weight: 400;
  color: rgba(255,255,255,.85);
  margin: 0 auto 35px;
  max-width: 620px;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: .3px;
}

.slider-text-wrapper .btn {
  margin-top: 10px;
  font-size: .85rem;
  padding: 14px 36px;
}

/* Flexslider controls */
.flex-control-nav {
  bottom: 30px;
  z-index: 999;
  position: absolute;
  width: 100%;
  text-align: center;
}
.flex-control-nav li { display: inline-block; }

.flex-control-paging li a {
  width: 8px !important; height: 8px !important;
  box-shadow: none !important;
  background: rgba(255,255,255,.4) !important;
  display: inline-block !important;
  text-indent: -9999px !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
}
.flex-control-paging li a.flex-active {
  background: var(--primary) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

.flexslider { position: relative; margin: 0; padding: 0; }

.flex-prev, .flex-next {
  color: rgba(255,255,255,.7);
  font-size: 36px;
  height: 50px; width: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
}
.flex-prev { left: 20px; }
.flex-next { right: 20px; }
.flex-prev:hover, .flex-next:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.slides, .flex-control-nav, .flex-direction-nav { margin: 0; padding: 0; list-style: none; }

.flexslider .slides > li { display: none; -webkit-backface-visibility: hidden; }
.flex-pauseplay span { text-transform: capitalize; }

.slides:after {
  content: "\0020"; display: block;
  clear: both; visibility: hidden;
  line-height: 0; height: 0;
}
html[xmlns] .slides { display: block; }
* html .slides { height: 1%; }
.no-js .slides > li:first-child { display: block; }

/* ================================================================
   ABOUT / FEATURES
   ================================================================ */

#about {
  background: var(--white);
}

/* Equal-height feature cards row */
#about .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#about .col-md-4 {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.features-icon-box {
  flex: 1;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 0;
}

.features-icon-box::before {
  display: none;
}

.features-icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245,166,35,.3);
}

.features-icon-box .features-icon {
  width: 56px; height: 56px;
  min-width: 56px;
  font-size: 24px;
  color: var(--primary);
  background: rgba(245,166,35,.1);
  border-radius: var(--radius);
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.features-icon-box:hover .features-icon {
  background: var(--primary);
  color: var(--dark);
}

.features-icon-box .features-icon img {
  transition: var(--transition);
}

.features-icon-box:hover .features-icon img {
  filter: brightness(0);
}

.features-icon-box .features-info {
  margin-left: 20px;
  flex: 1;
}

.features-info h4 {
  margin-bottom: 6px;
  font-size: .95rem;
  color: var(--heading);
}

.features-info p { margin-bottom: 0; font-size: .875rem; }

/* ================================================================
   FACTS / COUNTER
   ================================================================ */

#facts {
  background: url(../images/parallax/facts.jpg) no-repeat;
  padding: 120px 0;
}

.facts-box {
  text-align: center;
  padding: 30px 20px;
}

.facts-box i {
  color: var(--primary);
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.facts-box h3 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--primary);
  line-height: 1;
}

.facts-box span {
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ================================================================
   CONTENT TABS
   ================================================================ */

.content-tab-1 .nav {
  text-align: center;
  text-transform: uppercase;
  border-bottom: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

.content-tab-1 > .nav > li {
  float: none;
  display: inline-block;
  border: 2px solid var(--border);
  padding: 12px 24px;
  border-radius: 50px;
  margin-bottom: 5px;
  transition: var(--transition);
}

.content-tab-1 > .nav li > a {
  color: var(--text);
  background-color: transparent;
  padding: 0;
  transition: var(--transition);
  border: none !important;
}

.content-tab-1 > .nav li > a > i {
  color: var(--text);
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
  transition: var(--transition);
}

.content-tab-1 > .nav > li > a > h4 {
  display: block;
  color: var(--text);
  font-size: .85rem;
  margin-bottom: 0;
  transition: var(--transition);
}

.content-tab-1 > .nav > li.active {
  border-color: var(--primary);
  background: var(--primary);
}

.content-tab-1 > .nav > li.active > a > h4,
.content-tab-1 > .nav > li.active > a > i { color: var(--dark); }

.content-tab-1 > .nav > li:hover:not(.active) {
  border-color: var(--primary);
  background: rgba(245,166,35,.08);
}

.tab-content-main {
  padding: 60px 0 0;
}

/* Tab carousel */
.tab-carousel.owl-theme .owl-controls {
  text-align: center;
  position: absolute;
  top: 45%;
  width: 100%;
}

.tab-carousel.owl-theme .owl-controls .owl-buttons div {
  display: block;
  width: 34px; height: 34px;
  line-height: 22px;
  font-size: 20px;
  border-radius: 50%;
  opacity: 1;
  background: var(--primary);
  position: absolute;
  margin: 0;
}

.tab-carousel .owl-prev { left: 0; position: absolute; }
.tab-carousel .owl-next { right: 0; position: absolute; }
.tab-carousel .owl-prev:hover, .tab-carousel .owl-next:hover { background: var(--dark); }
.tab-carousel .item img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

/* Tab1 features */
.tab1-features {
  margin-bottom: 28px;
  padding: 20px 20px 20px 70px;
  border-radius: var(--radius);
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  min-height: 70px;
}

.tab1-features:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(245,166,35,.25);
}

.tab1-features .icon {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--dark);
  text-align: center;
  line-height: 44px;
  font-size: 18px;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab1-features:hover .icon {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.tab1-features .info { margin-left: 0; }

/* Tab2 services box */
.tab2-services-box {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--white);
}

.tab2-services-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tab2-services-box .media { margin-bottom: 20px; overflow: hidden; border-radius: 8px; }
.tab2-services-box .media img { width: 100%; border-radius: 8px; }
.tab2-services-box .services-info p { margin-bottom: 0; }

/* Tab3 features */
.features-tab3 { margin-top: 20px; display: inline-block; width: 100%; }
.features-tab3 .features-left, .features-tab3 .features-right { padding-top: 20px; }
.features-tab3 .features-left .features-item, .features-tab3 .features-right .features-item { margin-bottom: 36px; }

.features-tab3 .features-left .features-icon,
.features-tab3 .features-right .features-icon {
  width: 56px; height: 56px;
  line-height: 56px; text-align: center;
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  border: 2px solid rgba(0,180,200,.25);
  border-radius: 50%;
  transition: var(--transition);
  background: rgba(0,180,200,.05);
}

.features-tab3 .features-left .features-item:hover .features-icon,
.features-tab3 .features-right .features-item:hover .features-icon {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.features-tab3 .features-left .features-icon { float: right; }
.features-tab3 .features-right .features-icon { float: left; }
.features-tab3 .features-left .features-info { text-align: right; margin-right: 80px; }
.features-tab3 .features-right .features-info { text-align: left; margin-left: 80px; }

/* Tab4 */
.tab4-services-box {
  margin-bottom: 30px;
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  display: block;
}

.tab4-services-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245,166,35,.25);
}

.tab4-services-box .icon {
  text-align: center;
  font-size: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  width: 80px; height: 80px;
  border: 2px solid rgba(0,180,200,.2);
  border-radius: 50%;
  margin-bottom: 16px;
  transition: var(--transition);
  background: rgba(0,180,200,.06);
}

.tab4-services-box:hover .icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tab4-services-box .info { margin-top: 10px; }
.tab4-services-box .info h4 { margin-bottom: 8px; font-size: .9rem; }
.tab4-services-box .info p { font-size: .83rem; margin-bottom: 0; color: var(--text-light); }

/* Core features list */
.core-features .list { margin: 0; padding: 0 0 0 4px; }
.core-features .list li {
  font-size: .9rem;
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 20px;
  position: relative;
  padding: 0 0 0 26px;
  list-style: none;
  color: var(--text);
}
.core-features .list li::after {
  top: 0; left: 0;
  content: "\f058";
  position: absolute;
  font-family: "FontAwesome";
  color: var(--primary);
}

/* ================================================================
   HISTORY / TIMELINE
   ================================================================ */

#history {
  background: url(../images/parallax/timeline.jpg);
}

ul.timeline {
  margin: 40px auto 0;
  width: 100%;
  background: url(../images/timeline-bg.jpg) center center repeat-y;
  height: auto;
  position: relative;
  padding: 0 0 80px;
  z-index: 200;
}

.timeline .year {
  background: var(--primary);
  clear: both;
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  height: 70px; width: 70px;
  border-radius: 50%;
  line-height: 70px;
  margin: 31px auto;
  text-align: center;
  border: 3px solid rgba(255,255,255,.3);
  position: relative;
  top: -5px;
  box-shadow: 0 0 0 6px rgba(245,166,35,.3);
}

.timeline .timeline-item {
  float: left;
  padding: 22px 24px;
  width: 47.5%;
  background: rgba(10,14,23,.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  margin: 10px 0;
  position: relative;
  z-index: 550;
  transition: var(--transition);
}

.timeline .timeline-item:hover {
  background: rgba(245,166,35,.12);
  border-color: rgba(245,166,35,.4);
  transform: translateY(-3px);
}

.timeline .timeline-item h4 { color: #fff; font-size: .95rem; margin-bottom: 8px; }
.timeline .timeline-item p { color: rgba(255,255,255,.75); margin-bottom: 6px; font-size: .85rem; }
.timeline .timeline-item span { font-size: .78rem; font-weight: 600; text-transform: uppercase; color: var(--primary); }

.timeline .timeline-item:after {
  content: '';
  position: absolute;
  right: -6.8%;
  display: block;
  width: 16px; height: 16px;
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 100%;
  top: 20px;
  z-index: 20;
}

.timeline .timeline-item:nth-of-type(2n):before {
  border: 10px solid transparent;
  border-right: 10px solid rgba(10,14,23,.85);
  content: "";
  right: 100%;
  position: absolute;
}

.timeline .timeline-item:before {
  border: 10px solid transparent;
  border-left: 10px solid rgba(10,14,23,.85);
  content: "";
  right: -20px;
  position: absolute;
}

.timeline .timeline-item:nth-of-type(2n) { float: right; clear: right; }
.timeline .year + .timeline-item { margin-top: -20px; }
.timeline .timeline-item:nth-of-type(2n):after { left: -6.8%; }

.timeline .end-icon {
  height: 64px; width: 64px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  font-size: 22px;
  bottom: 0;
  left: 50%;
  margin-left: -32px;
  text-align: center;
  padding: 19px 0;
  clear: both;
  position: absolute;
}

/* ================================================================
   PORTFOLIO / WORKS
   ================================================================ */

#works {
  position: relative;
  padding-bottom: 0;
  line-height: 0;
  background: var(--white);
}

#works .title-box { line-height: 1; padding: 80px 0 20px; }

.work-grid .mix { opacity: 0; display: none; }

.filtering {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0;
  margin: 0 0 20px;
}

.filter {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  padding: 9px 20px;
  color: var(--text);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .4px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  margin: 4px;
}

.filter.active, .filter:hover {
  color: var(--dark);
  background: var(--primary);
  border-color: var(--primary);
}

.work-main {
  width: 100%;
  clear: both;
  margin-top: 40px;
  display: inline-block;
}

.work-grid { width: 100%; padding: 0; }

.work-grid .work-item { overflow: hidden; }

.work-grid .work-item .work-image {
  overflow: hidden;
  width: 100%;
  transition: var(--transition);
}

.work-grid .work-item .work-image img {
  width: 100%;
  height: auto;
  transition: transform .6s ease;
}

.work-grid .work-item:hover .work-image img {
  transform: scale(1.08);
}

.work-grid .work-item .work-caption {
  position: absolute;
  width: 100%;
  left: 0; bottom: 0; top: auto;
  height: auto;
  opacity: 1;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.0) 100%);
}

.work-grid .work-item:hover .work-caption { opacity: 1; }

.work-grid .work-item .work-caption h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  letter-spacing: .4px;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

.work-grid .work-item .work-caption p {
  font-size: .72rem;
  color: #f5a623;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.work-grid .work-item .hover-link {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 9999;
  opacity: 0;
  transition: var(--transition);
  display: flex;
  gap: 8px;
}

.work-grid .work-item:hover .hover-link { opacity: 1; }

.work-grid .work-item .hover-link a {
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.95);
  color: var(--dark);
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 200;
  transition: var(--transition);
}

.work-grid .work-item .hover-link a:hover {
  background: var(--primary);
  color: var(--dark);
}

.thumnail-img {
  position: relative;
  float: left;
  display: inline-block;
  width: 25%;
  overflow: hidden;
}

/* ================================================================
   CALL TO ACTION
   ================================================================ */

#cta {
  background: url(../images/parallax/cta.jpg) no-repeat;
  padding: 110px 0;
}

#cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 28px;
  font-weight: 800;
  letter-spacing: -.3px;
}

#cta .btn-white { margin-right: 12px; }

/* ================================================================
   TEAM
   ================================================================ */

#team {
  padding: 100px 0;
  background: var(--bg-light);
}

.team-items { width: 100%; height: auto; overflow: hidden; position: relative; }

.team-items .item {
  background: var(--white);
  margin: 0 10px 10px;
  padding: 28px 20px 20px;
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

.team-items .item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245,166,35,.2);
}

.team-items .item img {
  margin-bottom: 16px;
  border-radius: 50%;
  width: 100px; height: 100px;
  object-fit: cover;
  border: 3px solid var(--border);
  transition: var(--transition);
}

.team-items .item:hover img {
  border-color: var(--primary);
}
.team-items .item h4 { margin-bottom: 4px; font-size: .95rem; }
.team-items .item h5 {
  font-weight: 600;
  font-size: .78rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
}
.team-items .item p { margin-bottom: 10px; font-size: .84rem; flex: 1; }

.socials { margin: 14px 0 0; }
.socials ul { margin: 0; padding: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.socials ul li { list-style: none; }

.socials ul li a {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  width: 32px; height: 32px;
  border-radius: 50%;
  transition: var(--transition);
}

.socials ul li a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

#team .owl-theme .owl-controls { margin-top: 20px; text-align: center; position: relative; height: 40px; }

#team .owl-prev, #team .owl-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 18px;
  background: var(--primary);
  position: absolute;
  transition: var(--transition);
}

#team .owl-prev { right: 50%; margin-right: 10px; }
#team .owl-next { left: 50%; margin-left: 10px; }
#team .owl-prev:hover, #team .owl-next:hover { background: var(--dark); }

/* ================================================================
   SKILLS
   ================================================================ */

#skills {
  text-align: center;
  padding: 100px 0 80px;
  background: url(../images/parallax/skills.jpg) no-repeat;
}

.pie-chart-main {
  margin-bottom: 60px;
  text-align: center;
}

.pie-chart {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 150px;
  margin-top: 20px;
}

.pie-chart canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px !important;
  height: 150px !important;
}

.percent {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}
.percent:after { content: '%'; margin-left: .05em; font-size: 1rem; color: var(--primary); }

.pie-chart-main h4 {
  color: #fff;
  font-size: 1rem;
  margin-top: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.pie-chart-main p {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
}

/* ================================================================
   SERVICES
   ================================================================ */

#services {
  padding: 80px 0 60px;
  background: var(--bg-light);
}

.services-box {
  text-align: center;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px 28px;
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.services-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.services-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245,166,35,.25);
}

.services-box:hover::after { transform: scaleX(1); }

.services-box .services-icon {
  width: 72px; height: 72px;
  color: var(--primary);
  font-size: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(245,166,35,.1);
  border: 2px solid rgba(245,166,35,.2);
  transition: var(--transition);
}

.services-box:hover .services-icon {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(245,166,35,.35);
}

.services-box .services-desc { margin-top: 0; }
.services-box .services-desc h4 {
  margin: 0 0 10px;
  font-size: .95rem;
  color: var(--heading);
}
.services-box .services-desc p {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ================================================================
   WHY CHOOSE US
   ================================================================ */

#why-choose { background: var(--bg-section); }

.tabs-main { padding-right: 15px; margin-bottom: 30px; }
.accordion-main { padding-left: 15px; margin-bottom: 30px; }

.tabs .nav-tabs { border-bottom: 2px solid var(--border); }

.tabs .nav-tabs li a {
  border-radius: 8px 8px 0 0;
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border) !important;
  border-bottom: none !important;
  transition: var(--transition);
}

.tabs .nav-tabs li.active a {
  border-top: 2px solid var(--primary) !important;
  background: var(--white);
  color: var(--heading);
}

.tabs .nav-tabs li a:hover { background: var(--white); }
.tabs .nav-tabs li.active a:hover { background: var(--white); }
.tabs .tab-content {
  border: 1px solid var(--border);
  border-top: none;
  padding: 24px 18px;
  font-size: .9rem;
  color: var(--text-light);
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
}

.panel-group .panel-heading { cursor: pointer; padding: 16px 18px; }
.panel-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--heading);
  text-transform: none;
}

.panel-group .panel {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  border-radius: var(--radius) !important;
  box-shadow: none;
  transition: var(--transition);
}

.panel-group .panel:hover { box-shadow: var(--shadow-sm); }
.panel-group .panel-body { border: none; padding: 0 18px 18px; }
.panel-body ul li { margin-bottom: 5px; line-height: 20px; font-weight: 300; }

#accordion .accordion-toggle:after {
  font-family: 'FontAwesome';
  content: "\f068";
  float: right;
  color: var(--accent);
  font-size: 12px;
}
#accordion .panel-heading.collapsed .accordion-toggle:after { content: "\f067"; color: var(--text-light); }

/* ================================================================
   VIDEO
   ================================================================ */

#video {
  background: url(../images/parallax/cta.jpg) no-repeat;
}

.video-caption-main { margin-bottom: 30px; }

.video-caption {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.video-caption h4 { line-height: 1.4; font-size: 1rem; color: #fff; text-transform: none; margin-bottom: 6px; }
.video-caption p { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 0; }

.video-caption .video-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  line-height: 64px;
  text-align: center;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-caption:hover .video-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  box-shadow: 0 6px 20px rgba(245,166,35,.4);
}

.video-caption .video-caption-info { flex: 1; }

.play-video { margin-bottom: 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.play-video iframe { width: 100%; height: 340px; border: none; display: block; }

/* ================================================================
   BLOG / PROJECTS
   ================================================================ */

#blog { background: var(--white); }

/* Equal-height project carousel items */
#blog-row .owl-item {
  display: flex !important;
}
#blog-row .item {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  padding: 0 10px;
}

.blog-post {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.blog-post:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245,166,35,.2);
}

.post-media {
  overflow: hidden;
  height: 200px;
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.blog-post:hover .post-media img { transform: scale(1.05); }

.post-desc {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-desc h4 {
  font-size: .95rem;
  line-height: 1.4;
  margin-bottom: 5px;
  color: var(--heading);
}

.post-desc h5 {
  color: var(--primary);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Keep a long project description from making one carousel card taller than
   the others. */
.post-desc p {
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 14px;
  min-height: 65px !important;
  max-height: 65px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-blog .btn { text-transform: uppercase; margin-top: 12px; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */

#testimonials {
  background: url(../images/parallax/testimonials.jpg) no-repeat;
  color: #fff;
  position: relative;
  padding: 100px 0;
}

#testimonials .container { position: relative; }

#testimonials .items {
  margin-bottom: 30px;
  margin-top: -7px;
  color: #fff;
  text-align: center;
}

#testimonials .testimonial-pic {
  margin: 16px 0;
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.3);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

#testimonials .desc {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  font-family: 'Roboto', sans-serif;
  color: rgba(255,255,255,.88);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

#testimonials .desc::before {
  content: '\201C';
  font-size: 3.5rem;
  position: absolute;
  top: -14px; left: -20px;
  color: rgba(255,255,255,.2);
  font-family: Georgia, serif;
  line-height: 1;
}

#testimonials .name {
  color: rgba(255,255,255,.8);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .5px;
}

#testimonials .owl-controls .owl-page span {
  background: none;
  display: block;
  margin: 5px 4px;
  opacity: 1;
  width: 10px; height: 10px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
}
#testimonials .owl-controls .owl-page.active span {
  background: var(--primary);
  border-color: var(--primary);
  width: 28px;
  border-radius: 5px;
}
/* ================================================================
   CLIENTS
   ================================================================ */

#clients { background: var(--bg-light); text-align: center; }

.clients-carousel .item figure {
  margin: 10px;
  width: 150px;
  margin: 0 auto;
}

.clients-carousel .item figure img {
  display: block;
  margin: 0 auto;
  opacity: 1;
  filter: none;
  transition: var(--transition);
}

.clients-carousel .item figure img:hover {
  opacity: .8;
  transform: scale(1.05);
}

/* ================================================================
   CONTACT
   ================================================================ */

#contact {
  background: url(../images/parallax/contact.jpg) no-repeat;
}

.contact-form {
  display: block;
  padding: 0 0 30px;
}

.contact-info {
  margin-bottom: 50px;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: rgba(255,255,255,.85);
}

/* Form fields */
select, textarea,
input[type="text"], input[type="password"],
input[type="datetime"], input[type="datetime-local"],
input[type="date"], input[type="month"],
input[type="time"], input[type="week"],
input[type="number"], input[type="email"],
input[type="url"], input[type="search"],
input[type="tel"], input[type="color"],
.form-control {
  display: inline-block;
  margin-bottom: 20px;
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
  height: 50px;
  width: 100%;
  vertical-align: middle;
  box-shadow: none;
  border-radius: 10px;
  transition: var(--transition);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: 0 16px;
  backdrop-filter: blur(8px);
}

textarea.form-control { height: auto; padding: 14px 16px; }

input:focus, textarea:focus, .form-control:focus {
  outline: none;
  border-color: var(--accent) !important;
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(0,180,200,.15) !important;
}

::-webkit-input-placeholder { color: rgba(255,255,255,.5) !important; font-weight: 400; letter-spacing: .5px; }
:-moz-placeholder            { color: rgba(255,255,255,.5) !important; }
::-moz-placeholder           { color: rgba(255,255,255,.5) !important; }
:-ms-input-placeholder       { color: rgba(255,255,255,.5) !important; }

/* ================================================================
   FOOTER
   ================================================================ */

/* ── Footer Main ────────────────────────────────────────────── */

#footer {
  background: #111111;
  color: rgba(255,255,255,.72);
  border-top: 3px solid var(--primary);
}

.footer-main {
  padding: 70px 0 50px;
}

.footer-widget { margin-bottom: 10px; }

/* Logo */
.footer-about .footer-logo { margin-bottom: 22px; }
.footer-about .footer-logo img {
  max-height: 46px;
  width: auto;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 5px 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.footer-about .logo-name { font-size: 1.35rem; }
.footer-about .logo-sub  { letter-spacing: 3px; }

.footer-about p {
  color: rgba(255,255,255,.58);
  line-height: 1.75;
  font-size: .875rem;
  margin-bottom: 22px;
}

/* Social Icons */
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

/* Section Title */
.footer-title {
  color: var(--white);
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 36px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Quick Links & Services */
.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 10px; }

.footer-links li a {
  color: rgba(255,255,255,.58);
  font-size: .875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a::before {
  content: '›';
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.footer-links li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Contact Items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.62);
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.footer-contact-item span {
  font-size: .875rem;
  line-height: 1.65;
}

/* ── Footer Bottom Bar ──────────────────────────────────────── */

.footer-bottom {
  background: #0a0a0a;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-copy {
  color: rgba(255,255,255,.42);
  font-size: .82rem;
  margin: 0;
  line-height: 2.2;
}

.footer-copy a {
  color: var(--primary);
  font-weight: 600;
}

.footer-copy a:hover { color: var(--primary-dk); }

.footer-bottom-links {
  color: rgba(255,255,255,.42);
  font-size: .82rem;
  margin: 0;
  line-height: 2.2;
}

.footer-bottom-links a {
  color: rgba(255,255,255,.42);
  margin: 0 8px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-bottom-links a:hover { color: var(--primary); }

.footer-bottom-links span { opacity: .35; margin: 0 2px; }

/* Keep old .social-icons for any other pages */
.social-icons ul { margin: 0; padding: 0; display: flex; gap: 8px; }
.social-icons ul li { list-style: none; }
.social-icons ul li a {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  transition: var(--transition);
}
.social-icons ul li a:hover {
  color: var(--dark);
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ================================================================
   FEATURED WORKS CAROUSEL
   ================================================================ */

#featured-works { background: var(--bg-light); padding-top: 70px; }
.featured-work-carousel { display: inline-block; width: 100%; }

#featured-works .item { height: auto; z-index: 300; cursor: pointer; }
#featured-works .item .fworks-image { overflow: hidden; width: 100%; transition: var(--transition); }
#featured-works .item .fworks-image img { width: 100%; height: auto; transition: transform .6s ease; }
#featured-works .item:hover .fworks-image img { transform: scale(1.06); }

#featured-works .item .featured-caption {
  position: absolute;
  width: 100%; height: 100%;
  left: 0; top: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(28,28,28,.9) 0%, rgba(0,180,200,.3) 100%);
  transition: var(--transition);
}

#featured-works .item:hover .featured-caption { opacity: 1; }

#featured-works .item .featured-caption h4 { font-size: .9rem; color: #fff; margin: 28px 0 0 24px; }
#featured-works .item .featured-caption p { font-size: .8rem; color: rgba(255,255,255,.75); margin: 4px 0 0 24px; text-transform: uppercase; }

#featured-works .item .hover-link {
  left: 80px;
  position: absolute;
  bottom: 16px;
  opacity: 0;
  z-index: 200;
  transition: var(--transition);
}
#featured-works .item:hover .hover-link { opacity: 1; }

#featured-works .item .hover-link a {
  font-size: 18px;
  line-height: 46px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.95);
  color: var(--dark);
  width: 46px; height: 46px;
  border-radius: 50%;
  transition: var(--transition);
}
#featured-works .item .hover-link a:hover { background: var(--primary); color: #fff; }

#featured-works .owl-controls {
  margin-top: 30px;
  position: absolute;
  top: 28%; width: 100%;
}

#featured-works .owl-prev, #featured-works .owl-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 18px;
  opacity: .9;
  background: var(--primary);
  position: absolute;
}
#featured-works .owl-prev { left: 0; }
#featured-works .owl-next { right: 0; }
#featured-works .owl-prev:hover, #featured-works .owl-next:hover { opacity: 1; }

/* ================================================================
   SINGLE WORK / PAGE HEADER
   ================================================================ */

#page-header {
  background: url('../images/page-header.jpg');
  padding: 140px 0 80px;
  text-align: center;
}

#page-header::after {
  background: rgba(0,0,0,.55);
  position: absolute;
  left: 0; right: 0;
}

#page-header h1 { margin-bottom: 0; color: #fff; font-weight: 800; }

.breadcrumb { background: none; padding-top: 30px; }
.breadcrumb ul { list-style: none; padding: 0; margin: 0; }
.breadcrumb ul li { display: inline-block; padding: 0 5px; }

.breadcrumb ul li::after {
  content: "\f101";
  font-family: 'fontawesome';
  color: rgba(255,255,255,.6);
  padding-left: 10px;
}
.breadcrumb ul li:last-child::after { display: none; }

.breadcrumb ul li a { color: rgba(255,255,255,.6); font-weight: 600; font-size: .85rem; }
.breadcrumb ul li a:hover { color: var(--primary); }
.breadcrumb ul li.current a { color: #fff; }

.work-detail .btn { margin-top: 15px; }
.work-detail h3, #featured-works h3 { text-transform: none; }

.work-detail-list { list-style: none; padding: 0; margin: 0; }
.work-detail-list li {
  padding: 0 0 8px;
  line-height: 22px;
  font-size: .95rem;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 8px;
}
.work-detail-list li span {
  padding-right: 14px;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 700;
  color: var(--heading);
}

#single-work-slider { margin-bottom: 30px; }

#single-work-slider .owl-controls {
  margin-top: 30px;
  position: absolute;
  width: 100%;
  top: 37%;
}

#single-work-slider .owl-prev, #single-work-slider .owl-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 18px;
  opacity: .85;
  background: var(--primary);
  position: absolute;
}

#single-work-slider .owl-prev { left: 0; }
#single-work-slider .owl-next { right: 0; }
#single-work-slider .owl-prev:hover, #single-work-slider .owl-next:hover { opacity: 1; }
#single-work-slider .item img { display: block; width: 100%; height: auto; }

#related-project {
  background: url('../images/pattern.png') repeat;
  padding: 100px 0 80px;
  position: relative;
}
#related-project .image-wrapper { margin-bottom: 20px; }

.owl-theme .owl-controls .owl-page span { background: rgba(160,160,160,.5); }

/* ================================================================
   BLOG PAGE
   ================================================================ */

.post-content { margin-top: 0; }
.post-img { margin: 0 0 25px; overflow: hidden; position: relative; border-radius: var(--radius); }
.post-img img { width: 100%; border-radius: var(--radius); }

.blog-img-hover {
  position: absolute;
  width: 100%; height: 100%;
  left: 0; top: 0;
  opacity: 0;
  text-align: center;
  background: rgba(0,0,0,.5);
  transition: var(--transition);
  border-radius: var(--radius);
}
.post-img:hover .blog-img-hover { opacity: 1; }

.blog-img-hover span {
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  line-height: 36px;
  border-radius: 50%;
  text-align: center;
}

.post-meta { margin: 10px 0 20px; line-height: 20px; color: #999; }
.post-meta a { font-size: .82rem; color: var(--text); font-weight: 600; }
.post-meta a i { color: var(--primary); margin-right: 5px; }

.post-description p { margin-bottom: 22px; }
.post-description h3 { text-transform: none; font-size: 1.2rem; }
.post-description h3 a { color: var(--heading); }
.post-description h3 a:hover { color: var(--primary); }

blockquote {
  display: block;
  padding: 20px 24px;
  background: var(--bg-light);
  margin: 25px 0;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Comment form */
.comment-form input, .search-box input, .comment-form textarea {
  border: 2px solid var(--border);
  background: var(--bg-light);
  color: var(--text);
  border-radius: 8px;
}
.comment-form .form-control:focus, .search-box .form-control:focus {
  border: 2px solid var(--primary) !important;
}

.comment-form ::-webkit-input-placeholder { color: #aaa !important; font-weight: 400; letter-spacing: .5px; }

.comment-list { margin: 40px 0; padding-top: 20px; }
.comment-list h3 { margin-bottom: 35px; text-transform: none; }
.comment-list ol { list-style: none; margin-left: 0; padding: 0; }

li.comment .single_comment {
  padding: 20px;
  background: var(--white);
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

li.comment ol.comment-sub { margin-left: 60px; }
.comment-list ol .comment-avatar { float: left; margin-right: 20px; }
.comment-list ol .comment-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.comment-list ol .comment-content { overflow: hidden; }
.comment-list ol .comment-name { font-weight: 700; }
.comment-list ol .comment-name span { font-weight: normal; color: #aaa; margin: 0 8px; }
.comment-list ol .comment-name a { font-size: .9rem; font-weight: 600; color: var(--text); }
.comment-list ol .comment-name a.comment-reply { font-size: .8rem; color: var(--accent); }
.comment-list ol .comment-desc { font-size: .82rem; margin: 8px 0 6px; color: var(--text-light); }

/* Widget */
.widget-main { margin-bottom: 30px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.widget-sidebar .search-box { position: relative; }
.widget-sidebar .search-box input { padding-left: 14px; }
.widget-sidebar .search-box i { position: absolute; right: 16px; top: 14px; font-size: 15px; color: var(--text-light); }

.post-categories ul { padding: 0; margin: 0; }
.post-categories li {
  list-style: none;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--border);
  padding: 6px 0 6px 18px;
  position: relative;
}
.post-categories li:last-child { border-bottom: none; }
.post-categories li a:before { content: "\f105"; display: block; font-family: FontAwesome; position: absolute; left: 0; color: var(--primary); }
.post-categories a { color: var(--text); font-size: .85rem; display: inline-block; width: 100%; padding-bottom: 8px; font-weight: 600; transition: var(--transition); }
.post-categories a:hover { color: var(--primary); }

.sidebar-widget { font-size: .75rem; line-height: 1.4; margin-right: 8px; }
.sidebar-widget a { color: var(--text-light); font-weight: 600; font-size: .82rem; }
.sidebar-widget a:hover { color: var(--primary); }
.sidebar-widget img { float: left; width: 90px; margin: 4px 14px 18px 0; border-radius: 8px; }
.sidebar-widget p.date { color: var(--text); font-weight: 600; font-size: .82rem; }
.sidebar-widget p.sidebar-widget-title { font-size: .88rem; line-height: 1.4; margin-bottom: 4px; }

.tags { padding: 8px 0; display: inline-block; }
.tags a {
  float: left;
  padding: 8px 14px;
  font-size: .8rem;
  color: var(--text);
  margin: 0 6px 6px 0;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: transparent;
  transition: var(--transition);
}
.tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.pagenation { padding: 40px 0 50px; }
.pagenation ul { list-style: none; padding: 0; margin: 0; }
.pagenation li {
  float: left;
  margin-left: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.pagenation li.active { border-color: var(--primary); background: var(--primary); }
.pagenation li:hover { border-color: var(--primary); }
.pagenation li a { color: var(--text-light); font-size: .85rem; padding: 10px 16px; display: inline-block; }
.pagenation li.active a { color: #fff; }
.pagenation li:hover a { color: var(--primary); }
.pagenation li.active:hover a { color: #fff; }

/* ================================================================
   SPACING UTILITIES
   ================================================================ */

.margin-top-5  { margin-top: 5px !important; }
.margin-top-10 { margin-top: 10px !important; }
.margin-top-15 { margin-top: 15px !important; }
.margin-top-20 { margin-top: 20px !important; }
.margin-top-25 { margin-top: 25px !important; }
.margin-top-30 { margin-top: 30px !important; }
.margin-top-35 { margin-top: 35px !important; }
.margin-top-40 { margin-top: 40px !important; }
.margin-top-45 { margin-top: 45px !important; }
.margin-top-50 { margin-top: 50px !important; }

.margin-bottom-5  { margin-bottom: 5px !important; }
.margin-bottom-10 { margin-bottom: 10px !important; }
.margin-bottom-15 { margin-bottom: 15px !important; }
.margin-bottom-20 { margin-bottom: 20px !important; }
.margin-bottom-25 { margin-bottom: 25px !important; }
.margin-bottom-30 { margin-bottom: 30px !important; }
.margin-bottom-35 { margin-bottom: 35px !important; }
.margin-bottom-40 { margin-bottom: 40px !important; }
.margin-bottom-50 { margin-bottom: 50px !important; }
.margin-bottom-60 { margin-bottom: 60px !important; }
.margin-bottom-70 { margin-bottom: 70px !important; }
.margin-bottom-80 { margin-bottom: 80px !important; }
.margin-bottom-90 { margin-bottom: 90px !important; }

.margin-left-5  { margin-left: 5px !important; }
.margin-left-10 { margin-left: 10px !important; }
.margin-left-15 { margin-left: 15px !important; }
.margin-left-20 { margin-left: 20px !important; }
.margin-left-25 { margin-left: 25px !important; }
.margin-left-30 { margin-left: 30px !important; }
.margin-left-90 { margin-left: 90px !important; }

.margin-right-5  { margin-right: 5px !important; }
.margin-right-10 { margin-right: 10px !important; }
.margin-right-15 { margin-right: 15px !important; }
.margin-right-20 { margin-right: 20px !important; }
.margin-right-25 { margin-right: 25px !important; }
.margin-right-30 { margin-right: 30px !important; }

.padding-top-5   { padding-top: 5px; }
.padding-top-10  { padding-top: 10px; }
.padding-top-15  { padding-top: 15px; }
.padding-top-20  { padding-top: 20px; }
.padding-top-25  { padding-top: 25px; }
.padding-top-30  { padding-top: 30px; }
.padding-top-35  { padding-top: 35px; }
.padding-top-40  { padding-top: 40px; }
.padding-top-45  { padding-top: 45px; }
.padding-top-50  { padding-top: 50px; }
.padding-top-55  { padding-top: 55px; }
.padding-top-60  { padding-top: 60px; }
.padding-top-70  { padding-top: 70px; }
.padding-top-80  { padding-top: 80px; }
.padding-top-90  { padding-top: 90px; }
.padding-top-100 { padding-top: 100px; }

.padding-bottom-5   { padding-bottom: 5px; }
.padding-bottom-10  { padding-bottom: 10px; }
.padding-bottom-15  { padding-bottom: 15px; }
.padding-bottom-20  { padding-bottom: 20px; }
.padding-bottom-25  { padding-bottom: 25px; }
.padding-bottom-30  { padding-bottom: 30px; }
.padding-bottom-35  { padding-bottom: 35px; }
.padding-bottom-40  { padding-bottom: 40px; }
.padding-bottom-45  { padding-bottom: 45px; }
.padding-bottom-50  { padding-bottom: 50px; }
.padding-bottom-55  { padding-bottom: 55px; }
.padding-bottom-60  { padding-bottom: 60px; }
.padding-bottom-70  { padding-bottom: 70px; }
.padding-bottom-80  { padding-bottom: 80px; }
.padding-bottom-90  { padding-bottom: 90px; }
.padding-bottom-100 { padding-bottom: 100px; }

.padding-5  { padding: 5px; }
.padding-10 { padding: 10px; }
.padding-15 { padding: 15px; }
.padding-20 { padding: 20px; }
.padding-25 { padding: 25px; }
.padding-30 { padding: 30px; }

.no-margin-bottom { margin-bottom: 0 !important; }
.color-white h2 { color: #fff !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (min-width: 992px) {
  #main-menu { display: flex !important; }
}

@media (min-width: 768px) and (max-width: 992px) {
  .thumnail-img { width: 50%; }
}

@media (max-width: 992px) {
  /* ── Navbar bar row: logo LEFT, hamburger RIGHT ── */
  #header .col-sm-12 {
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    padding: 0 15px;
    position: relative;
    align-items: center;
  }

  .logo-nav {
    order: 1;
    flex: 1;
    height: 54px;
  }

  .navbar-toggle {
    display: block !important;
    position: static;
    order: 2;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* full-width divider pushes menu below the logo+hamburger row */
  .clear-toggle {
    display: block;
    width: 100%;
    order: 3;
  }

  /* ── Dropdown menu — shown/hidden by JS via .show()/.hide() ── */
  #main-menu {
    order: 4;
    width: 100%;
    height: auto !important;
    background: rgba(15, 15, 15, 0.98);
    border-top: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }

  #main-menu ul {
    display: block !important;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #main-menu ul li {
    display: block !important;
    height: auto;
    text-align: left;
  }

  #main-menu ul li a {
    display: block;
    height: auto;
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    letter-spacing: .5px;
    white-space: normal;
  }

  #main-menu ul li a::after { display: none; }

  #main-menu ul li a:hover,
  #main-menu ul li.active > a {
    background: rgba(245,166,35,.12) !important;
    color: var(--primary);
    padding-left: 26px;
  }
}

@media (max-width: 768px) {
  .footer-main { padding: 50px 0 30px; }
  .footer-widget { margin-bottom: 36px; }
  .footer-bottom .text-right { text-align: left !important; }
  .footer-bottom-links { margin-top: 4px; }
  .thumnail-img { width: 50%; }
  .flexslider .slides img { height: 60vh; }
  .big { font-size: 2rem; }
  .small { font-size: 1rem; }
  .features-icon-box { padding: 20px; }
  .tab-content-main img { float: none; margin: 0 0 20px; width: 100%; }
}

@media (max-width: 550px) {
  .thumnail-img { width: 100%; }
}

@media (max-width: 480px) {
  .big { font-size: 1.75rem; line-height: 1.2; }
  .small { font-size: .9rem; }
  .flexslider .slides img { height: 70vh; }
}
