@charset "UTF-8";

/*
Theme Name: alphasoft
Theme URI:
Author: Duncan Mwesigwa
Author URI: https://wordpress.org/
Description: Alphasoft Limited WordPress Theme.
Text Domain: alpha
*/

/*
 * GLOBAL STYLES
*/
body {
	margin: 0;
}

.alphasofthd .elementskit-section-title{
  background: linear-gradient(to right, #000, #ffd93d); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#dev.alphasofthd .elementskit-section-subtitle{
	background-color: transparent;
    background-image: linear-gradient(180deg, #FFFFFF0A 30%, #FFFFFF05 100%);
}
.alphasofthd .elementskit-section-subtitle{
	width: fit-content;
    background: #000;
	padding: 5px 14px 5px 25px;
    border-radius: 30px;
	position: relative;
}
.alphasofthd .elementskit-section-subtitle::before {
 content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: #1c1c12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.4);
}
.alphasofthd .elementskit-section-subtitle::after{
	content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #FFD700;
  border-radius: 50%;
}

/* Single Post */
.featured-image {
	text-align: center;
}
.featured-image img {
	width: 100%;
    max-width: 1100px;
    margin: auto;
    text-align: center;
    height: 350px;
    object-fit: cover;
	margin-top: -100px;
	object-position: top;
}
.title-section {
	padding: 45px 0 130px;
	background: #ebf8f8;
	border-bottom: 5px solid #24b4b1;
}
.title-section h1 {
	font-size: 30px;
    font-weight: 800;
    margin: 12px 0;
}
.post-category {
	text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    color: #969696;
	padding-right: 10px;
}
.post-meta {
	color: #969696;
    display: flex;
    column-gap: 30px;
    font-size: 15px;
}
.post-meta span span {
	color: #000;
}
.type-post .wrap {
	padding: 0 15px;
    max-width: 800px;
    margin: auto;
}
.post-content {
	padding: 40px 0 70px;
	border-bottom: 2px solid #444444;
}
.post-content p {
	color: #000;
    font-weight: 300;
    font-size: 17px;
    line-height: 25px;
}
.post-content a {
	color: #000;
    text-decoration: none;
	transition: .2s ease;
}
.post-content a:hover {
	color: #ebf8f8;
}
.posts-nav {
	display: flex;
    justify-content: space-between;
	column-gap: 25px;
}
.posts-nav > div {
	flex: 1;
}
.posts-nav a {
	display: flex;
    border: 1px solid #e0e0e0;
    padding: 20px;
	align-items: center;
}
.posts-nav a:hover {
	background: #ebf8f8;
}
.posts-nav img {
	height: 85px;
    width: 120px;
    padding-right: 12px;
	object-fit: cover;
}
.nav-title {
	font-size: 14px;
    color: #000000;
    font-weight: 500;
    margin-bottom: 10px;
}
.nav-date {
	color: #747474;
    font-size: 13px;
}
.next-nav span ,
.prev-nav span {
	font-size: 15px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}
.next-nav span {
	flex-direction: row-reverse;
}
.prev-nav svg,
.next-nav svg{
	width: 12px;
    margin-right: 5px;
}
.number-percentage-wraper{
    -webkit-text-stroke: 2px #ffd700;
}
/* Related Posts */
.related-posts-container {
	border-top: 1px solid #d6d6d6;
    margin-top: 45px;
    padding-top: 13px;
}
.related-posts {
	display: flex;
    column-gap: 16px;
    width: 100%;
	flex-wrap: wrap;
}
.related-post-item {
    flex: 1;
    overflow: hidden;
}
.related-post-item img {
	height: 170px;
    object-fit: cover;
}
.related-post-title {
	margin: 10px 0;
    color: #000;
    font-size: 17px;
	transition: .3s ease;
}
.related-post-item:hover .related-post-title {
	color: #24b4b1;
}
.related-post-date {
	color: #aeaeae;
    font-weight: 700;
    font-size: 13px;
}
.elementskit-btn svg {
	background: #fff;
    padding: 2px 4px;
    border-radius: 50%;
}
.elementskit-btn:hover svg {
	background: #3D3D3C;
}
.webcta{
	position:relative;
}

.webcta::after{content:""; position:absolute; inset:0; background:
      radial-gradient(700px 300px at 85% 0%, rgba(255,215,0,.14), transparent 60%),
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" viewBox="0 0 200 200" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.6"><defs><pattern id="hex" width="10" height="17.32" patternUnits="userSpaceOnUse" patternTransform="translate(0)" ><polygon points="5,0 10,2.886 10,8.66 5,11.547 0,8.66 0,2.886"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hex)"/></svg>');
      mix-blend-mode: screen; opacity:.6; pointer-events:none}

.service .elementskit-info-image-box .elementskit-box-header img{
	height: 235px;
	object-fit: cover;
}

/*Single project*/
:root {
  --bg:#0d0f12;
  --surface:#111417;
  --text:#E6E8EB;
  --text-dim:#9aa3ad;
  --brand:#FFC107;
  --radius:20px;
  --max:1140px;
}

.container {
  max-width:var(--max);
  margin:auto;
  padding:0 20px;
}

/* Hero Section Layout */
.project-hero{
   padding: 80px 0;
   background-color: rgba(128, 108, 0, 0.05); 
   transition: background 0.3s, border-radius 0.3s, opacity 0.3s;

}
.alpha-hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 1200px;
  margin: auto;
}
.project.container h2, .related.container h2{
  font-size:2rem;
  font-weight: 500;
  margin: 0px;
}
/* Text Area */
.hero-inner {
  flex: 1 1 50%;
}

/* Image Area */
.single-project-media {
  flex: 1 1 50%;
}

.single-project-media img {
  width: 100%;
  height: 413px;
  object-fit: cover;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 991px) {
  .alpha-hero {
    display: block;
    width: 100%;
    padding: 0px 20px;
  }

  .hero-inner {
    width: 98%;
  }

  .hero-media {
    text-align: center;
  }
  .related-grid{
    display: block!important;
    margin: 20px 20px 60px 20px!important;
  }
  .project-cta-section{
    width: 85%!important;
    padding: 35px 20px!important;
  }
  .cta-content{
    width: 100%!important;
    display: block!important;
  }
  .single-project-media img{
    width: 88%;
  }
  .project-hero{
    padding-right: 20px;
  }
}


.hero-title {
     margin: 0px 0px 0px 0px;
    font-size: 40px;
    font-weight: 600;
    line-height: 43px;
    background: linear-gradient(to right, #000, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #000;
}

.hero-sub {
  color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
    background: #000;
    padding: 5px 14px 5px 25px;
    border-radius: 30px;
    position: relative;
    text-transform: uppercase;
}
.hero-sub::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #1c1c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.4);
}
.hero-sub::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
}
.hero-meta {
  display:flex;
  gap:12px;
  margin-top:24px;
  flex-wrap:wrap;
}
.hero-inner p{
  color: #000000A1;
}
.meta-card {
  background-color:#000;
  padding:8px 14px;
  border-radius:12px;
  color: #fff;
  font-weight: 300;
  font-size: 13px;
}
.meta-card i{
  color: #FFD700;
  margin-right: 10px;
}
.split {
  display:grid;
  grid-template-columns:1.3fr .9fr;
  gap:32px;
}
.project-information{
  padding: 45px 0px;
  background-color: #fff;
}
.card {
  background-color: #000;
  border-radius:var(--radius);
  padding:28px;
  color: #fff;
}
.pad h2{
  font-weight: 500;
  margin: 0px;
}
.pad a{
  background-color: #FFD700;
  border-radius: 10px;
  color: #000;
  text-decoration: none;
  padding: 8px 20px;
}
.pad img{
  background-color: #fff;
  border-radius: 5px;
  padding: 5px;
}
.project-description p{
  margin-top:16px;
  font-weight: 300;
}

.tech-grid {
  margin-top:18px;
}

.badge {
  background:var(--brand);
  color:#000;
  padding:8px 11px;
  border-radius:8px;
  display:inline-block;
  font-size:0.75rem;
  text-align: center;
  margin-right: 7px;
}

.gallery-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin-top:24px;
}

.gallery-item img {
  width:100%;
  height: 400px;
  object-fit: cover;
  display:block;
}

.related-grid {
  display: flex;
    gap: 30px;
    margin: 20px 0px 60px 0px;
}

@media(max-width:1024px) {
  .split {
    grid-template-columns:1fr;
  }
}
/* Lightbox Overlay */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Lightbox Image */
.lightbox-content img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffc107;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    width: 30px;
    height: 30px;
}

/* Navigation Buttons */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    padding: 10px!important;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ================================
   PROJECT CTA SECTION (Alphasoft Style)
   ================================ */
.project-cta-section {
    background-color: #0E0F13;
    border-radius: 10px;
    padding: 35px 0px;
    margin: 95px auto 60px auto;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.project-cta-section::before {
    content:""; position:absolute; inset:0; background:
      radial-gradient(700px 300px at 85% 0%, rgba(255,215,0,.14), transparent 60%),
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" viewBox="0 0 200 200" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.6"><defs><pattern id="hex" width="10" height="17.32" patternUnits="userSpaceOnUse" patternTransform="translate(0)" ><polygon points="5,0 10,2.886 10,8.66 5,11.547 0,8.66 0,2.886"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hex)"/></svg>');
      mix-blend-mode: screen; opacity:.6; pointer-events:none
}



.cta-content {
    display: flex;
    z-index: 2;
    width: 900px;
    margin: auto;
    align-items: center;
}

.cta-title {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0px;
}
.cta-inform{
  width: 77%;
}
.cta-desc {
    font-size: 1.1rem;
    color: #e0e0e0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffd700;
    color: #000;
    font-weight: 400;
    padding: 6px 5px 6px 25px;
    border-radius: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.cta-btn i{
  background-color: #fff;
    padding: 5px;
    border-radius: 50%;
    font-size: 21px;
}
.cta-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.cta-icon {
    display: inline-block;
    font-size: 1.2rem;
}

.cta-graphic img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
@media(min-width:600px){
	.alphacontacts{
	position: absolute;
	left: -17%;
	top: -120px;
	z-index: 5;
}

}