/* ============================================================
   N-Global Dark Mode — Redesigned 2026
   Modern industrial theme | Nakayama Iron Works
   ============================================================ */

/* ======= DESIGN TOKENS ======= */
:root {
  --bg:           #07070f;
  --bg-soft:      #0c0c1a;
  --bg-card:      #0d0d1e;
  --text:         #eff0f5;
  --text-2:       #8b93a8;
  --text-3:       #555e72;
  --accent:       #e8392d;
  --accent-bright:#ff5244;
  --accent-glow:  rgba(232, 57, 45, 0.25);
  --border:       #1a1a2e;
  --border-2:     #252540;
  --header-bg:    rgba(7, 7, 15, 0.90);
  --menu-bg:      #07070f;
  --footer-bg:    #040408;
  --shadow-xs:    0 1px 6px rgba(0,0,0,0.4);
  --shadow-sm:    0 2px 16px rgba(0,0,0,0.5);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.6);
  --shadow-lg:    0 24px 80px rgba(0,0,0,0.7);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-pill:  50px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ======= RESET & BASE ======= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-soft);
  padding-bottom: 180px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ======= PRELOADER ======= */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  width: 44px;
  height: 44px;
  position: relative;
}

.loader::before,
.loader::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.loader::before {
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.75s linear infinite;
  box-shadow: 0 0 20px var(--accent-glow);
}

.loader::after {
  border: 3px solid transparent;
  border-bottom-color: rgba(232,57,45,0.35);
  animation: spin 1.3s linear infinite reverse;
}

.loader-inner { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ======= LAYOUT ======= */
.wrapper {
  position: relative;
  z-index: 1;
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding-bottom: 900px;
}

.cont {
  width: 76%;
  margin-left: 12%;
}

/* ======= HEADER ======= */
header {
  padding: 22px 40px;
  width: 100%;
  position: absolute;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
}

header.scrolled {
  position: fixed;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 14px 40px;
}

.full-open header { position: fixed; }

header.white .nav-icon span { background: var(--text); }
.full-open .nav-icon span { background: var(--text) !important; }

/* ======= NAV ICON ======= */
.nav-icon {
  width: 30px;
  height: 18px;
  position: relative;
  cursor: pointer;
  z-index: 200;
  flex-shrink: 0;
  float: right;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  background: var(--text);
  opacity: 1;
  transform: rotate(0deg);
  transition: 0.3s var(--ease);
  border-radius: 2px;
}

.nav-icon span:nth-child(1) { top: 0; width: 100%; }
.nav-icon span:nth-child(2) { top: 9px; width: 65%; right: 0; }

.nav-icon:hover span:nth-child(2) { width: 100%; }

.full-open .nav-icon span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.full-open .nav-icon span:nth-child(2) { transform: rotate(-45deg); width: 100%; top: 9px; }

/* ======= THEME TOGGLE ======= */
.theme-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border-2);
  color: var(--text);
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.theme-toggle:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 28px var(--accent-glow);
}

/* ======= FULL MENU ======= */
.full-menu {
  background: var(--menu-bg);
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

.full-menu .full-inner { height: 100%; display: flex; }

.full-menu .full-inner nav {
  flex: 2;
  display: flex;
  align-items: center;
  padding-left: 8%;
}

.full-menu .full-inner nav ul { padding: 0; margin: 0; }

.full-menu .full-inner nav ul li {
  list-style: none;
  overflow: hidden;
  margin-bottom: 4px;
}

.full-menu .full-inner nav ul li a {
  color: var(--text-2);
  font-size: 52px;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(64px);
  display: block;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), color 0.25s;
  line-height: 1.15;
  letter-spacing: -1px;
}

.full-menu .full-inner nav ul li a:hover { color: var(--accent-bright); }

.full-menu .full-inner .full-contact {
  flex: 1;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  padding: 5% 6%;
  border-left: 1px solid var(--border);
}

.full-menu .full-inner .full-contact ul { padding: 0; margin: 0; width: 100%; }

.full-menu .full-inner .full-contact ul li {
  list-style: none;
  transform: translateY(28px);
  opacity: 0;
  transition: all 0.5s var(--ease) 0.3s;
  margin-bottom: 18px;
}

.full-menu .full-inner .full-contact ul li.title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 22px;
}

.full-menu .full-inner .full-contact ul li {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 600;
}

.full-menu .full-inner .full-contact ul li .social { display: flex; gap: 10px; margin-top: 14px; }

.full-menu .full-inner .full-contact ul li .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  border: 1px solid var(--border-2);
}

.full-menu .full-inner .full-contact ul li .social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* Full Menu Open State */
.full-open .full-menu { transform: translateX(0); }

.full-open .full-menu .full-inner nav ul li:nth-child(1) a { transform: translateY(0); transition-delay: 0.1s; }
.full-open .full-menu .full-inner nav ul li:nth-child(2) a { transform: translateY(0); transition-delay: 0.2s; }
.full-open .full-menu .full-inner nav ul li:nth-child(3) a { transform: translateY(0); transition-delay: 0.3s; }
.full-open .full-menu .full-inner nav ul li:nth-child(4) a { transform: translateY(0); transition-delay: 0.4s; }

.full-open .full-menu .full-inner .full-contact ul li:nth-child(1) { transform: translateY(0); opacity: 1; transition-delay: 0.50s; }
.full-open .full-menu .full-inner .full-contact ul li:nth-child(2) { transform: translateY(0); opacity: 1; transition-delay: 0.65s; }
.full-open .full-menu .full-inner .full-contact ul li:nth-child(3) { transform: translateY(0); opacity: 1; transition-delay: 0.80s; }

/* ======= HOME / HERO SECTION ======= */
.home {
  display: table;
  width: 100%;
  padding: 3% 5%;
  position: relative;
  background: radial-gradient(ellipse at 70% 30%, rgba(232,57,45,0.08) 0%, transparent 50%),
              linear-gradient(140deg, #07070f 0%, #0a0a1a 50%, #0d0d22 100%);
  min-height: 100vh;
}

.home .home-content {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  z-index: 2;
  padding-top: 80px;
}

.home .home-content .hero-title {
  font-size: 130px;
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 115px;
  color: var(--text);
}

.home .home-content .hero-title span {
  color: var(--accent-bright);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 40px var(--accent-glow);
}

.home .home-content p {
  font-size: 24px;
  color: var(--text-2);
  font-weight: 500;
  margin-top: 20px;
  line-height: 1.5;
}

.home .home-content p span { color: var(--text); font-weight: 800; }

/* Social vertical bar */
.home .home-content .social {
  right: 50px;
  position: absolute;
  top: 45%;
  transform: translateY(-60%) rotate(90deg);
  margin-right: -155px;
  z-index: 6;
}

.home .home-content .social a {
  display: block;
  color: var(--text-2);
  font-size: 13px;
  margin-top: 10px;
  float: left;
  margin-right: 15px;
  transition: all 0.3s var(--ease);
  font-weight: 600;
  text-decoration: none;
}

.home .home-content .social a.text { margin-right: 0; color: var(--text-3); }
.home .home-content .social a:hover { color: var(--accent-bright); }
.home .home-content .social a:hover i { transform: rotate(-90deg); }

.home .home-content .line {
  float: left;
  width: 72px;
  background: var(--border-2);
  height: 1px;
  margin: 20px 17px;
}

/* Particles / Globe container */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#particles-js canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ======= PORTFOLIO SECTION ======= */
#portfolio { position: relative; }

.portfolio .portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding: 0;
  position: static;
  float: none;
  transform: none;
  justify-content: center;
  margin-top: 0;
  margin-left: 0;
}

.portfolio .portfolio-filter div {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  transition: all 0.22s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.3px;
  float: none;
  margin-right: 0;
  list-style: none;
}

.portfolio .portfolio-filter div:hover {
  color: var(--text);
  border-color: var(--border-2);
  background: var(--bg-card);
}

.portfolio .portfolio-filter .cbp-filter-item-active {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 4px 16px var(--accent-glow) !important;
}

/* Portfolio Cards */
.cbp-item figure {
  margin: 0;
  position: relative;
  float: left;
  overflow: hidden;
  width: 100%;
  color: var(--text);
  text-align: left;
  font-size: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s;
}

.cbp-item figure:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(232,57,45,0.2);
  border-color: rgba(232,57,45,0.3);
  transform: translateY(-4px);
}

.cbp-item figure img,
.work figure { width: 100%; padding: 20px; transition: all 0.45s var(--ease); object-fit: contain; }

.cbp-item figure:hover img { opacity: 0.2; transform: scale(1.07); }

.cbp-item figure figcaption {
  z-index: 10;
  padding: 20px;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.cbp-item figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,3,12,0.92) 0%, rgba(3,3,12,0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  border-radius: var(--radius);
}

.cbp-item figure:hover::after { opacity: 1; }

.cbp-item figure figcaption h3 {
  font-size: 18px;
  font-weight: 700;
  opacity: 0;
  color: #fff;
  transform: translateY(14px);
  transition: all 0.35s var(--ease);
  margin: 0 0 5px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.cbp-item figure p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0;
  color: rgba(255,255,255,0.6);
  transform: translateY(8px);
  transition: all 0.35s var(--ease) 0.05s;
  margin: 0;
  position: relative;
  z-index: 2;
}

.cbp-item figure:hover figcaption h3,
.cbp-item figure figcaption:hover h3 { opacity: 1; transform: translateY(0); }

.cbp-item figure:hover figcaption p,
.cbp-item figure figcaption:hover p { opacity: 1; transform: translateY(0); }

.cbp-item .shine { opacity: 0.15; }
.portfolio .site-btn { margin: 0 auto; }

/* grid container */
.portfolio .grid-container .cbp-item img { width: 100%; height: auto; object-fit: contain; }

.cbp-l-loadMore-link {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  font-family: 'Montserrat', sans-serif !important;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-2) !important;
  padding: 10px 32px !important;
  transition: all 0.3s var(--ease) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent !important;
  margin-left: 0 !important;
  display: inline-block;
}

.cbp-l-loadMore-link:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 6px 20px var(--accent-glow) !important;
}

/* ======= BUTTONS ======= */
/* MD3 Filled Button — Dark */
.md-button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 24px;
  border-radius: 20px;
  border: none;
  outline: none;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  line-height: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 4px 12px rgba(232,57,45,0.25);
  transition: box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1);
  z-index: 100;
}

/* State layer overlay */
.md-button-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
  z-index: 1;
}

/* Ripple */
.md-button-primary::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: translate(-50%, -50%) scale(0);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.md-button-primary:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 8px 24px rgba(232,57,45,0.4);
}
.md-button-primary:hover::before { opacity: 0.08; }
.md-button-primary:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }
.md-button-primary:focus-visible::before { opacity: 0.12; }
.md-button-primary:active::before { opacity: 0.12; }
.md-button-primary:active::after {
  transform: translate(-50%, -50%) scale(2.5);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0, 0, 0.2, 1),
              opacity 0.45s cubic-bezier(0, 0, 0.2, 1);
}

/* Lift text/icon above state layer and ripple */
.md-button-primary span,
.md-button-primary i {
  position: relative;
  z-index: 2;
}

.md-button-primary i {
  font-size: 16px;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.md-button-primary:hover i { transform: translateX(4px); }

.site-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  border: 2px solid var(--border-2);
  border-radius: var(--radius-pill);
  padding: 12px 36px;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s var(--ease);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.site-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.site-btn.arrow { font-size: 12px; padding: 12px 22px; }
.site-btn.arrow:after { font-family: 'Font Awesome 5 Free'; content: "\f30b"; font-weight: 900; float: right; margin-left: 28px; }

.site-btn2 {
  background: var(--border-2);
  font-size: 12px;
  font-weight: 700;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 14px 60px;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.site-btn2:hover { background: var(--accent); color: #fff; box-shadow: 0 6px 20px var(--accent-glow); }

/* ======= FOOTER ======= */
footer {
  width: 100%;
  padding: 48px 0 38px;
  position: fixed;
  z-index: 0;
  bottom: 0;
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
}

footer .copyright p { color: var(--text-3); font-size: 12.5px; margin-top: 10px; font-weight: 400; line-height: 1.5; }

footer .social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 6px;
  margin: 0 auto;
  width: fit-content;
}

footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 14px;
  border: 1.5px solid var(--border);
  transition: all 0.3s var(--ease-spring);
  text-decoration: none;
}

footer .social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px var(--accent-glow);
}

footer .getintouch { text-align: right; }
footer .getintouch a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color 0.3s; display: block; }
footer .getintouch a:hover { color: var(--accent-bright); }
footer .getintouch strong { font-size: 18px; color: var(--text); display: block; margin-bottom: 5px; font-weight: 800; }

/* ======= UTILITIES ======= */
.subtitle { font-size: 22px; font-weight: bold; }
.classic-title { font-size: 22px; font-weight: bold; color: var(--text); }
.top_15 { margin-top: 15px; } .top_30 { margin-top: 30px; } .top_45 { margin-top: 45px; }
.top_60 { margin-top: 60px; } .top_90 { margin-top: 90px; } .top_120 { margin-top: 120px; }
.padding_30 { padding: 30px 0; } .padding_45 { padding: 45px 0; } .padding_60 { padding: 60px 0; }
.padding_90 { padding: 90px 0; } .padding_120 { padding: 120px 0; }
.bottom_15 { margin-bottom: 15px; } .bottom_30 { margin-bottom: 30px; } .bottom_45 { margin-bottom: 45px; }
.bottom_60 { margin-bottom: 60px; } .bottom_90 { margin-bottom: 90px; } .bottom_120 { margin-bottom: 120px; }
.padbot_15 { padding-bottom: 15px; } .padbot_30 { padding-bottom: 30px; }
.padbot_45 { padding-bottom: 45px; } .padbot_60 { padding-bottom: 60px; }

/* ======= PORTFOLIO SINGLE ======= */
.portfolio-single.type-1 .hero-image img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-lg); }
.portfolio-single .information { width: 100%; float: left; padding: 30px 5px 15px; }
.portfolio-single .information li { float: left; list-style: none; margin-right: 35px; color: var(--text-3); font-weight: 400; }
.portfolio-single .information li span { font-weight: bold; color: var(--text); }
.portfolio-single .title { font-size: 28px; line-height: 38px; font-weight: bold; }
.portfolio-single p { line-height: 30px; color: var(--text-2); }
.portfolio-lightbox figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.portfolio-hero { width: 100%; height: 100%; display: table; background-size: cover !important; position: relative; }
.portfolio-hero::before { height: 100%; background: rgba(0,0,0,0.7); position: absolute; width: 100%; content: ''; }
.portfolio-hero .hero-inner { position: relative; z-index: 4; text-align: center; display: table-cell; vertical-align: middle; color: #fff; }
.portfolio-hero .hero-inner .title { font-size: 70px; font-weight: bold; }
.portfolio-hero .hero-inner p { font-size: 18px; font-weight: 500; line-height: 32px; margin: 20px 0 30px; }
.portfolio-hero .hero-inner .information { font-size: 12.5px; font-weight: 400; display: inline-block; margin: 0 auto; opacity: 0.8; padding-left: 0; }
.portfolio-hero .hero-inner .information li { float: left; list-style: none; margin-right: 20px; }

header.white .logo { display: none; }
.full-open header.white .logo { display: inline; }
.full-open header.white .logo-white { display: none; }

.portfolio-single.type-2 .title { font-size: 34px; font-weight: 900; }
.portfolio-single.type-2 .subtitle { font-size: 25px; color: var(--text-2); font-weight: 600; margin: 15px 0; }
.portfolio-single.type-2 p { color: var(--text-2); font-size: 20px; }
.portfolio-images figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.portfolio-single.type-3 .title { font-size: 60px; line-height: 65px; font-weight: 900; }
.portfolio-single.type-3 .information { margin: 0 auto; float: none; display: inline-block; padding: 0; width: auto; }
.portfolio-video iframe { width: 100%; min-height: 750px; border-radius: var(--radius); }

.portfolio-nav .port-next { text-decoration: none; overflow: hidden; height: 70px; display: inline-block; }
.portfolio-nav .port-next .nav-title { color: var(--text); font-size: 60px; font-weight: 600; }
.portfolio-nav .port-next .next-title { color: var(--text); font-size: 30px; font-weight: 600; }
.portfolio-nav .port-next .next-title, .portfolio-nav .port-next .nav-title { transform: translateY(0); transition: all 0.2s var(--ease); }
.portfolio-nav .port-next:hover .next-title, .portfolio-nav .port-next:hover .nav-title { transform: translateY(-150%); }

/* ======= TITLEBAR ======= */
.titlebar { padding: 94px 0; height: 300px; text-align: center; }
.titlebar .page-title { font-size: 120px; font-weight: 900; letter-spacing: -2px; }
.titlebar .page-title span { font-size: 120px; font-weight: 900; }
.titlebar #particles-js { height: 300px; }

/* ======= ABOUT PAGE ======= */
.about .about-text .subtitle { font-size: 26px; font-weight: bold; letter-spacing: -1px; }
.about .about-text p { color: var(--text-2); font-size: 22px; font-weight: bold; letter-spacing: -1px; line-height: 35px; }
.about .clients .client { height: 200px; display: table; opacity: 0.4; }
.about .clients .client:hover { transition: all 0.3s; opacity: 1; }
.about .clients .client figure { vertical-align: middle; display: table-cell; text-align: center; }
.about .clients .client figure img { max-width: 50%; filter: invert(1) brightness(0.85); }

/* ======= NEWS PAGE ======= */
.news { transform: translateY(5px); transition: all 0.3s var(--ease); }
.news:hover { text-decoration: none; transform: translateY(0); }
.news-box figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.news-box .title { font-size: 22px; font-weight: bold; color: var(--text); }
.news-box small { font-weight: 500; }
.news-box p { font-size: 15px; color: var(--text-2); margin: 18px 0; }
.news-box .information { font-size: 13px; color: var(--text-2); }
.news-box .information span { color: var(--text-3); }
.news-list { border-bottom: solid 1px var(--border); padding-bottom: 50px; }
.news-list:last-child { border: none; }
.news-list .left-list { padding-top: 45px; }
.news-list:hover { text-decoration: none; }
.news-article .article-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.news-article .title { font-size: 45px; font-weight: bold; padding: 10px 0; }
.news-article .information { font-size: 13px; color: var(--text-2); }
.news-article .information span { color: var(--text-3); }
.news-article p { line-height: 30px; color: var(--text-2); }
.news-article .category { font-weight: bold; color: var(--accent-bright); }
.news-article blockquote { font-size: 30px; font-weight: bold; text-align: center; border-left: 4px solid var(--accent); padding-left: 20px; color: var(--text-2); }
.article-comments .comment { border-bottom: solid 1px var(--border); padding-bottom: 30px; }
.article-comments .comment:last-child { border: none; }
.article-comments .comment.reply { padding-left: 60px; }
.article-comments .comment figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article-comments .comment-content .title { font-weight: bold; font-size: 18px; margin-bottom: 0; }
.article-comments .comment-content .date { color: var(--text-3); font-size: 13px; }
.article-comments .comment-content p { color: var(--text-3); font-size: 15px; line-height: 24px; font-weight: 400; margin-top: 15px; }
.article-comments .comment-content .reply { font-size: 13.5px; color: var(--accent-bright); }
.article-comments .comment-content .reply:hover { text-decoration: none; color: var(--accent); }
.article-comments .comment-content .reply::before { content: "\f3e5"; font-family: 'Font Awesome 5 Free'; font-weight: bold; margin-right: 7px; }
.article-video iframe { width: 100%; height: 470px; }
.article-slider img { width: 100%; border-radius: var(--radius); }

/* ======= SIDEBAR WIDGETS ======= */
.widgets-title { font-size: 22px; font-weight: 600; }

.search {
  border: 2px solid var(--border-2);
  border-radius: var(--radius-pill);
  height: 54px;
  padding-left: 15px;
  padding-top: 3px;
  background: var(--bg-soft);
}

.search input {
  font-size: 14px;
  float: left;
  border: none;
  height: 42px;
  width: 80%;
  color: var(--text-2);
  outline: 0;
  padding-left: 15px;
  background: transparent;
}

.search .search-icon button { float: right; background: none; border: none; margin-top: 9px; outline: 0; cursor: pointer; color: var(--text-2); }
.widget-latest-news ul { padding-left: 0; }
.widget-latest-news ul a { text-decoration: none; transition: all 0.3s; }
.widget-latest-news ul li { list-style: none; padding: 18px 0 15px; border-bottom: solid 1px var(--border); }
.widget-latest-news ul li:last-child { border: 0; }
.widget-latest-news ul li p { font-size: 14px; margin-bottom: 6px; color: var(--text); }
.widget-latest-news ul li span { font-size: 13px; color: var(--text-3); font-weight: 400; }
.widget-categories ul { padding: 0; }
.widget-categories ul li { list-style: none; border-bottom: solid 1px var(--border); font-size: 14px; font-weight: 400; }
.widget-categories ul li a { color: var(--text-2); display: block; padding: 10px 0; text-decoration: none; font-weight: 500; transition: all 0.3s; }
.widget-categories ul li a:hover { color: var(--accent-bright); }

/* ======= CONTACT PAGE ======= */
.contact .contact-info { font-size: 21px; color: var(--text-2); font-weight: 500; }
.contact .contact-info a { color: var(--text-2); font-weight: 500; margin-bottom: 15px; display: block; text-decoration: none; }
.contact .contact-info a:hover { color: var(--accent-bright); }

input.inp {
  width: 100%;
  margin-bottom: 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  height: 52px;
  font-size: 13px;
  padding-left: 18px;
  outline: 0;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: var(--bg-soft);
  color: var(--text);
}

input.inp:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }

textarea.form-message {
  width: 100%;
  margin-bottom: 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  padding: 16px 18px;
  outline: 0;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: var(--bg-soft);
  color: var(--text);
}

textarea.form-message:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }

.widget-twitter { text-align: center; overflow: hidden; width: 400px; margin: 0 auto; }
.tweet ul { width: 99999px; height: auto; text-align: center; padding: 0; }
.tweet ul li { margin: 20px 0 0; width: 400px; min-height: 130px; float: left; list-style: none; font-size: 16px; font-weight: 400; }
.tweet ul li span.date { font-size: 13px; color: var(--text-3); margin-top: 12px; display: block; }

/* ======= RESPONSIVE ======= */
@media (min-width: 768px) and (max-width: 1024px) {
  header { padding: 18px 28px; }
  .cont { width: 90%; margin-left: 5%; }
  .home .home-content .hero-title { font-size: 96px; line-height: 86px; }
  .home .home-content p { font-size: 20px; }
  .portfolio .portfolio-filter { justify-content: flex-start; }
  .titlebar .page-title, .titlebar .page-title span { font-size: 70px; }
  .titlebar { padding: 74px 0; height: 210px; }
  .portfolio-nav .port-next .nav-title { font-size: 45px; }
  .portfolio-video iframe { min-height: 460px; }
  .news-article .title { font-size: 32px; }
  .portfolio-single.type-3 .title { font-size: 50px; }
  .portfolio-single .information li { float: none; text-align: center; margin: 0 auto; line-height: 38px; }
}

@media (min-width: 481px) and (max-width: 767px) {
  header { padding: 14px 20px; }
  .cont { width: 90%; margin-left: 5%; }
  .home .home-content .hero-title { font-size: 62px; line-height: 58px; }
  .home .home-content p { font-size: 18px; margin-top: 20px; }
  .portfolio .portfolio-filter { justify-content: flex-start; gap: 6px; }
  .portfolio .portfolio-filter div { font-size: 11.5px; padding: 8px 16px; }
  body { padding-bottom: 196px; }
}

@media (max-width: 480px) {
  header { padding: 12px 18px; }
  .cont { width: 90%; margin-left: 5%; }
  .home .home-content .hero-title { font-size: 42px; letter-spacing: -1.5px; line-height: 40px; }
  .home .home-content p { font-size: 15px; margin-top: 12px; }
  .home .home-content .social { display: none; }
  .portfolio .portfolio-filter div { font-size: 11px; padding: 7px 14px; }
  .wrapper { padding-bottom: 60px; }
  body { padding-bottom: 230px; }
  footer .copyright { text-align: center; }
  .theme-toggle { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 18px; }
  .titlebar .page-title, .titlebar .page-title span { font-size: 30px; }
  .titlebar { padding: 74px 0; height: 130px; }
  .portfolio-nav .port-next .nav-title { font-size: 30px; }
  .portfolio-nav .port-next { height: 49px; }
  .portfolio-single .title { font-size: 24px !important; line-height: 34px !important; }
  .portfolio-single .information li { float: none; text-align: center; margin: 0 auto; line-height: 30px; }
  .portfolio-hero .hero-inner .title { font-size: 24px !important; line-height: 34px; }
  .portfolio-single.type-2 .subtitle { font-size: 20px; }
  .portfolio-video iframe { min-height: 170px; }
  .news-article { margin-bottom: 90px; }
  .comment figure img { display: none; }
  .comment.reply { padding-left: 0 !important; }
  .widget-twitter, .tweet ul li { width: 200px; }
}
