/*
Theme Name: Konstruktion Child
Author: VamTam
Author URI: https://vamtam.com
Template: konstruktion
*/
/* put your child theme styles here
you don't need any @import rules
*/
.website_logo a{
	display:flex !important;
}
.readmoreBtn{
	display: inline-block;
    padding: 8px 15px;
    background: var(--e-global-color-vamtam_accent_2);
    color: #fff;
}
.readmoreBtn:hover{
	background: #555;
	color: #fff !important;
}

#top-header .elementor-element{
	background-color: #862d87;
}
#top-header .elementor-element .e-con-inner{
	padding:10px
}
header, .site-header {
    transform: translateZ(0);
    will-change: transform;
}
.home-contactus a span{
	font-weight:600;
}
.elementor-13115 .elementor-element.elementor-element-253ecdff .elementskit-navbar-nav .elementskit-submenu-panel > li:hover > a,
.elementor-13115 .elementor-element.elementor-element-253ecdff .elementskit-navbar-nav .elementskit-submenu-panel > li.current-menu-item > a {
    color: var(--e-global-color-vamtam_accent_2) !important;
}

/*********************************************************************/
.hover-underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #111;
}

.hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background-color: #862d87;

    /* animation */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.hover-underline:hover::after {
    transform: scaleX(1);
}

/* mouse out → shrink left to right */
.hover-underline:not(:hover)::after {
    transform-origin: right;
}
/***************************************************************/

.multi-underline,
#projects-tabs .elementor-tab-title{
    color: #111;
    text-decoration: none;

    background-image: linear-gradient(#862d87, #862d87);
    background-size: 0% 1.5px;
	background-position: 100% 100%;
/*     background-position: 0 100%; */
    background-repeat: no-repeat;

    transition: background-size 0.35s ease;
}

/* hover → left to right */
.multi-underline:hover,
#projects-tabs .elementor-tab-title:hover{
    background-size: 100% 1.5px;
	background-position: 0 100%;
	color: #862d87;
}
#projects-tabs .elementor-tab-title.elementor-active{
	color: #862d87;
}
/************************************************************************/
/************************************************************************/
/* contact form Layout */
.cf7-two-cols .cf7-row {
  display: flex;
  justify-content: space-between;
}

.cf7-two-cols .cf7-col {
    flex: 0 1 48%;
    min-width: 220px;
}

.cf7-two-cols .cf7-col-full {
  flex: 0 0 100%;
}

/* Labels */
.cf7-two-cols label {
  display: block;
  font-size: 14px;
  font-weight: 600 !important;
}

/* Inputs / selects / textarea */
.cf7-two-cols input[type="text"],
.cf7-two-cols input[type="email"],
.cf7-two-cols input[type="tel"],
.cf7-two-cols select,
.cf7-two-cols textarea {
  width: 100% !important;
	height: 45px !important;
  padding: 7px 14px !important;
  border: 1px solid #aeaeae !important;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.cf7-two-cols textarea {
  min-height: 150px;
  resize: vertical;
}

/* Simple select arrow */
.cf7-two-cols select {
  background-color: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Button */
/* .cf7-two-cols .cf7-btn-wrap input[type="submit"] {
  padding: 14px 40px !important;
  background: #4e4e4e !important;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.cf7-two-cols .cf7-btn-wrap input[type="submit"]:hover {
  opacity: 0.9;
} */

/* Placeholder color */
.cf7-two-cols ::placeholder {
  color: #999 !important;   /* Change this color as needed */
  opacity: 1;               /* Ensures color is not faded */
}

/* For older browsers */
.cf7-two-cols :-ms-input-placeholder {
  color: #999 !important;
}
.cf7-two-cols ::-ms-input-placeholder {
  color: #999 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .cf7-two-cols .cf7-row {
    gap: 15px;
  }
}
/*************************/
.elementor-widget-icon-box .elementor-icon-box-icon {
	display: flex;
	justify-content: center;
}
/********About us**********/
#leadershipsCnt img{
	width:278px;
	height:361px;
	object-fit: cover;
}
#leadershipsCnt h3{
	margin-bottom:0px;
}
/****************************************Hero title*******************************************************/
/* .hero-title {
	font-size: 100px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    line-height: 1;
    position: relative;
    height: 1em;
} */

/* .hero-line-static {
  display: block;
  opacity: 0.85;
} */

.hero-title{
	height:2em;
}
.hero-line-dynamic {
  display: inline-block;
  position: relative;
	height:1.9em;
}

/* caret */
#typewriter {
  	position: relative;
  	white-space: nowrap;
	font-size: 100px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    position: relative;
    height: 1em;
}

/* #typewriter::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 0;
  width: 2px;
  height: 1em;
  background: #ffffff;
  animation: blink-caret 0.8s step-end infinite;
} */

/* @keyframes blink-caret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
 */
/* header css */
/* simple sticky header */
.ekit-template-content-header {
  position: sticky; /* or -webkit-sticky for old iOS, but usually not needed */
  top: 0;           /* distance from top when it "sticks" */
  z-index: 9999;    /* stay above page content */
  background: #fff; /* recommended so content scrolls under a solid background */
  /* optional: add a shadow so it's obvious it's floating */
/*   box-shadow: 0 2px 6px rgba(0,0,0,0.08); */
}
/* Footer css */
.footer-top{
	position: relative;
	background-color: #1F2937;
	border-bottom: 7px solid #862D87;  
	overflow: hidden;
}
.footer-top .img-box{
	position: absolute;
}
.footer-top .img-box img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.footer-top .img-box .img-overlay{
	position: absolute;
	inset: 0;
	background-color: rgba(75, 85, 99, 0.5); /* bg-gray-600 with 50% opacity */
}
.footer-to-textbox{
	position: relative;
	max-width: 1280px; /* max-w-7xl */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem; /* px-4 */
	padding-right: 1rem; /* px-4 */
	padding-top: 3rem; /* py-20 */
	padding-bottom: 3rem; /* py-20 */
}
.footer-to-textbox h2{
/* 	font-size: 4.5rem; /* text-7xl */ */
/* 	font-weight: 400; */
	margin:15px 0;
/* 	line-height: 1.2; */
	color: #FFFFFF; /* text-white */
/* 	letter-spacing: -0.025em; /* tracking-tight */ */
}
.footer-to-textbox .button-box{
	margin-top: 2rem; /* mt-8 */
	display: flex;
	gap: 2rem; /* gap-8 */
	flex-wrap: wrap;
}
.footer-to-textbox .button-box a{
	display: inline-block;
	font-size: 1.5rem; /* text-2xl */
	line-height: 1;
	padding-top: 1.25rem; /* py-3 */
	padding-bottom: 1.25rem; /* py-3 */
	padding-left: 2rem; /* px-8 */
	padding-right: 2rem; /* px-8 */
	background: #7F1D7E;
    color: #fff;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-to-textbox .button-box a:hover{
	background-color: #555555; /* bg-primary-600 */
}
/* Footer Bottom */
.footer-bottom .container{
	position: relative;
	max-width: 1280px; /* max-w-7xl */
	margin: auto;
	padding: 5rem 1rem 1rem 1rem; /* px-4 */
}
.footer-bottom .firstrow{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)); /* grid-cols-1 */
	gap: 3rem; /* gap-12 */
	margin-bottom: 3rem; /* mb-12 */
}
.footer-bottom .firstrow .col1{
	grid-column: span 1 / span 1; /* col-span-1 */
}
.footer-bottom .firstrow .col2{
	grid-column: span 2 / span 2; /* col-span-2 */
}
.footer-bottom .firstrow .col3{
	grid-column: span 1 / span 1; /* col-span-1 */
}
.footer-bottom .firstrow .col1 img{
	width: 100%;
	margin-bottom: 10px;
}

.footer-bottom .firstrow h4{
	font-weight: 600;
	margin-bottom:20px;
}
.footer-bottom .firstrow p{
	margin-bottom: 0px;
}
.affiliations-logos{
	margin-top: 1.75rem; /* mt-7 */
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem; /* gap-5 */
}
.affiliations-logos img{
	width: 5rem; /* w-20 */
}
.footer-bottom .secondrow .grid{
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr)); /* grid-cols-5 */
	gap: 1.25rem; /* gap-5 */
}
.footer-bottom .secondrow .grid a{
	font-weight: 600; /* font-semibold */
	color: #1F2937; /* text-gray-800 */
	text-decoration: none;
	border-bottom: 2px solid #E5E7EB; /* border-b-2 border-gray-200 */
	padding-bottom: 1.25rem; /* pb-5 */
	transition: color 0.3s ease;
}
.footer-bottom .secondrow .grid a:hover,
.footer-bottom .thirdrow a:hover{
	color: #862D87;
}
.footer-bottom .thirdrow{
	display: flex;
	padding-top: 3.25rem;
	padding-bottom: 1.25rem;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	font-size:14px;
}
.footer-bottom .thirdrow a{
	margin: 0 10px;
}
/***************************** Home page */
.equal-height-col .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
	margin-right:25px;
}

.equal-height-col .elementor-widget-button {
    margin-top: auto;
}
/* ///////////////////////////////////////////////////////////////////////////////////////// */
/***************************** Projects page */
/* ///////////////////////////////////////////////////////////////////////////////////////// */
.pb-projects-grid {
	display: flex;
	flex-wrap: wrap;
    gap:40px;
	margin-top:40px;
}

.pb-projects-grid .pb-project-card {
	width: calc(31%); /* Adjust for margins */
	box-sizing: border-box; /* Prevent overflow */
}
.pb-projects-grid .pb-project-card span p{
	margin-bottom:0px;
	font-size:14px;
}
.pb-projects-grid .pb-project-card h4{
	margin-top:10px;
	display: block;
}
.pb-projects-grid .pb-project-card h4:hover{
	color: #852d86;
}
.pb-projects-load-wrap{
	text-align:center;
	margin:30px 0;
}
.pb-projects-load-wrap button{
	border:1px solid #852d86;
	color:#852d86;
	background: none;
}
.pb-project-card .span-text{
	display:flex;
	justify-content: space-between;
}
/* //////////////navigation///////////// */

.project-nav-wrapper {
    text-align: center;
    padding: 120px 0;
    background: #fafafa;
}

.project-nav-container {
    display: flex;
    justify-content: space-between;
   
    width: 1280px;
    margin: 0 auto;
}

.project-nav-link {
    text-decoration: none;
    
    font-size: 22px;
    display: flex;
    
    align-items: center;
}

.project-nav-link .label {
    display: block;
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-prev .arrow-left,
.project-next .arrow-right {
    font-size: 26px;
    margin: 0 6px;
}

.divider {
    width: 1px;
    height: 40px;
    background: #ccc;
}

/* ///////////////////////////////////////////////////////////////////////////////////////// */
/***************************** post page */
/* ///////////////////////////////////////////////////////////////////////////////////////// */
.latestPost{
    background: #f9f9f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
	overflow: hidden;
}
.latestPostTextCnt{
	padding: 80px 100px 80px 100px;
    width: 70%;
}
.latestPostTextCnt a{
	font-weight:500;
}
.latestPostTextCnt a:hover{
	color: #852d86;
}
.latestPostimageCnt{
	height: 500px;
    position: relative;
 	width: 450px;          /* adjust */
    overflow: hidden;      /* IMPORTANT */
}
.latestPostimageCnt img{
	width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
/* hover zoom */
.latestPost:hover img {
    transform: scale(1.08); /* slight zoom */
}
.pb-posts-wrap .pb-projects-grid {
	display: flex;
	flex-wrap: wrap;
    gap:60px;
	margin-top:40px;
}

.pb-posts-wrap  .pb-projects-grid .pb-project-card {
	width: calc(30%); 
	box-sizing: border-box; 
}

.pb-posts-wrap .pb-projects-grid .pb-project-card span{
	margin-top:10px;
	
}
/*
.pb-posts-grid .pb-post-card h4{
	margin-top:10px;
}
.pb-posts-load-wrap{
	text-align:center;
	margin:30px 0;
}
.pb-posts-load-wrap button{
	border:1px solid #852d86;
	color:#852d86;
	background: none;
} */

/******************************Single Post *******************************/
/* Single Post Layout */
.single-post-layout {
    max-width: 1180px;
    margin: 20px auto 100px auto;
    padding: 0 15px;
    display: flex;
    gap: 50px;
}

/* Left Column (Post) */
.single-post {
    flex: 1 1 65%;
}
.single-post__image{
/* 	height: 550px; */
/*     overflow: hidden; */
    display: block;
}
.single-post__image img {
    width: 100%;
	height: 400px;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.single-post__title {
    font-size: 3rem;
    line-height: 1.2;
    margin: 10px 0;
	font-weight:600;
}

.single-post__meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

/* Social Share Buttons */
.single-post__share {
/*     display: flex; */
	display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.single-post__share-label {
    font-weight: 600;
    margin-right: 5px;
}

.share-btn {
    font-size: 0.85rem;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    display: inline-block;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Simple color styles – still vanilla CSS */
.share-btn--facebook {
    background-color: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.share-btn--twitter {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.share-btn--whatsapp {
    background-color: #25d366;
    color: #fff;
    border-color: #25d366;
}

.share-btn--linkedin {
    background-color: #0a66c2;
    color: #fff;
    border-color: #0a66c2;
}

.share-btn:hover {
    opacity: 0.9;
}

/* Content */
.single-post__content {
    font-size: 1rem;
    line-height: 1.7;
}

.single-post__content p {
    margin-bottom: 1em;
}

/* Sidebar (Right Column) */

.single-post-sidebar {
    flex: 0 0 30%;
    border-left: 1px solid #eee;
    padding-left: 20px;
}
.single-post-sidebar h4{
	margin-top:0px;
}
.single-post-sidebar ul{
	list-style: none;
	padding-left: 0px;
}
.single-post-sidebar ul li{
	padding: 5px 0;
    margin-bottom:15px;
	display:grid;
	grid-template-columns: 95px 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    margin-bottom: 16px;

}
.single-post-sidebar ul li .wp-block-latest-posts__featured-image{
	float:left;
	margin-right:8px;
	width: 95px;
    height: 55px;
	grid-row: 1 / 3;
}
.single-post-sidebar ul li .wp-block-latest-posts__featured-image img{
	border-radius:7px;
	width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-post-sidebar a {
/*     text-decoration: none;
    color: #333;
    padding: 4px 0;
    border-bottom: 1px solid transparent; */
	font-size: 19px;
    font-weight: 600;
/*     line-height: 22px; */
	
    background-image: linear-gradient(#862d87, #862d87);
    background-size: 0% 1.5px;
	background-position: 100% 100%;
    background-repeat: no-repeat;

    transition: background-size 0.35s ease;
}

.single-post-sidebar a:hover {
    color: #862D87; 
	background-size: 100% 1.5px;
	background-position: 0 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .single-post-layout {
        flex-direction: column;
    }

    .single-post-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }
}
/*/////////////*
 * Services Detail Services page ***********/
#service-stiky-image 
.elementor-widget-wrap
.elementor-section{
	position: sticky;
    top: 0;
}
/* ///////////////////////////////////////////////////////////////////////////////////////// */
/********************* Join Us Job Portal ******************************/
.awsm-job-search{
	border: 1px solid #ccc;
    -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 5%);
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 5%);
	padding-left: 10px;
	border-radius:5px;
}

.awsm-job-item .awsm-job-post-title{
	color: #862d87;
	font-weight: 600;
}
.awsm-job-item .awsm-job-more{
	color: #862d87;
}

.single-awsm_job_openings .single-post-layout{
	display: block;
}
.single-awsm_job_openings .single-post-layout .awsm-job-form-inner h2{
	font-size:37px;
}
.single-awsm_job_openings .single-post-layout .awsm-application-submit-btn{
	border-radius: 5px !important;
    font-size: 17px;
}
/* ///////////////////////////////////////////////////////////////////////////////////////// */
/***************************** Responsive */
/* ///////////////////////////////////////////////////////////////////////////////////////// */
/* Tablet (≤1024px) → 3 columns */
@media (max-width: 1024px) {
    .footer-bottom .secondrow .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
	.pb-projects-grid .pb-project-card{
		width: calc(30%);
	}
	.pb-projects-grid{
		gap:35px;
	}
	.project-card .image-box{
		height:350px;
	}
	.container{
		width:100%;
		padding: 0 20px;
	}
	.project-nav-container{
		width:100%;
		
	}
	
}
@media (max-width: 768px) {
    .single-post-layout {
        flex-direction: column;
    }

    .single-post-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }

	#typewriter {
		font-size: 62px;
		line-height: 1;
		height: 1em;
	}
	
	/*************Footer**************/
	.footer-bottom .firstrow{
		grid-template-columns: repeat(2, minmax(0, 1fr)); /* grid-cols-1 */
		gap: 3rem; /* gap-12 */
		margin-bottom: 3rem; /* mb-12 */
	}

	.footer-bottom .secondrow .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

	.footer-bottom .thirdrow{
		flex-direction: column;
	}
	.latestPost{
		flex-direction: column;
	}
	.latestPostTextCnt{
		padding:50px 20px;
		gap: 30px;
		width:100%;
	}
	.pb-posts-wrap .pb-projects-grid .pb-project-card{
		width: calc(47%);
			
	}
	.pb-project-modal-content{
		max-width: 85% !important;
	}
}


/* Extra-small mobile (≤400px) → 1 column */
@media (max-width: 452px) {
    .footer-bottom .secondrow .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
	.footer-to-textbox .button-box a{
		font-size:18px;
	}
	.footer-bottom .firstrow .col1,
	.footer-bottom .firstrow .col3{
		grid-column: span 2 / span 2;
	}
	.elementor-15607 .elementor-element.elementor-element-845b94d .elementor-button {
    	font-size: 27px !important;
    	padding: 10px 20px 10px 20px !important;
	}
	#typewriter {
		display: none;
	}
	.cf7-two-cols .cf7-row {
  		display: flex;
		flex-direction: column;
	}
	.pb-posts-wrap .pb-projects-grid .pb-project-card{
		    width: calc(100%);
	}
	.pb-projects-grid {
		flex-direction: column;
	}
	.pb-projects-grid .pb-project-card{
		width: calc(100%);
	}
	.project-nav-container{
		flex-direction: column;
	}
	.project-next .project-nav-link{
		justify-content: flex-end;
	}
}
