/* Reset box sizing to avoid layout shifts */
* {
    box-sizing: border-box;
}


/* Make sure the body and html take full height */
html,
body {
	margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Disable horizontal scrolling */
	font-family: 'Inter', sans-serif;
	position:relative;

}


body a:visited {
	color: #000;


}

body .navbar {
	padding: 3.5rem 0 1rem 0;
}

.navbar-brand {
	background: url('../img/malik-logo.png') no-repeat;
	display: block;
	width: 100px;
	height: 100px;
	margin-top: 1rem;
}

.navbar-nav li {
	font-size: 1.25rem;
	margin-right: 1rem;
}

.navbar-nav li a.nav-link {
	color: #444;
}

/* The container for the video */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
    overflow: hidden; /* Prevent overflow issues */
    z-index: -1; /* Ensure the video stays in the background */
	/* Ensure the video stays in the background */
}

/* Style the video itself */
.video-background video {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Ensures the video covers the screen without distortion */
	background: black;
	opacity: .35;
	-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));

}

/* Your page content */
.content {
	position: relative;
	z-index: 1;
	/* Ensure content stays on top of the video */
	height: 100%;
    width: 100vw; /* Force full width of the viewport */

}


canvas {
	display: block;
	vertical-align: bottom;
}

/* ---- particles.js container ---- */


#particles-js {
	position: relative;
	width: 50%;
	height: 50%;
	background-color: #ffffff;
	background-image: url("");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 100% 100%;
}

/* ---- stats.js ---- */
.count-particles {
	background: #000022;
	position: relative;
	top: 48px;
	left: 0;
	width: 80px;
	color: #13E8E9;
	font-size: .8em;
	text-align: left;
	text-indent: 4px;
	line-height: 14px;
	padding-bottom: 2px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;

}

.js-count-particles {
	font-size: 1.1em;
}

#stats,
.count-particles {
	-webkit-user-select: none;
	margin-top: 5px;
	margin-left: 5px;
}

#stats {
	border-radius: 3px 3px 0 0;
	overflow: hidden;
}

.count-particles {
	border-radius: 0 0 3px 3px;
}





a#m-logo {

	background: url('../img/m-logo.png');
	background-size: cover;
	width: 69px;
	height: 67px;


}

.sub .col-sm-8 {
	float: left;

}

.sub .col-sm-4 {
	float: right;

}




#logo-cloud {

	width: 100%;
	padding: 1.5rem 0 0 0;
	margin: 1rem 0 8rem 0;

}

#logo-cloud ul {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

#logo-cloud ul li {

	list-style-type: none;
	width: 8%;
	height: 40px;
	float: left;
	margin: 0 2.5rem 0 2.5rem;
	background-size: cover;
	background-position: center;


}

#logo-cloud ul li#paypal {
	background: url('../img/PayPal.svg') no-repeat;
	width: 120px;
	height: 30px;
	background-size: contain;
}

#logo-cloud ul li#qvc {
	background: url('../img/qvc_logo.svg') no-repeat;
	width: 120px;
	height: 50px;
	background-size: contain;
}

#logo-cloud ul li#salesforce-logo {
	background: url('../img/Salesforce.com_logo.svg') no-repeat top center;
	height: 60px;
}

#logo-cloud ul li#nyt {
	background: url('../img/NewYorkTimes.svg') no-repeat center center;
	width: 190px;
}

#logo-cloud ul li#vanguard-logo {
	width: 120px;
	height: 60px;
	background: url('../img/vanguard-logo2.png') no-repeat center -35px;
	background-size: cover;
}

#logo-cloud ul li#comcast {
	width: 130px;
	height: 40px;
	background: url('../img/comcast-logo2.png') no-repeat;
	background-size: contain;
}

.cards .row {

}


.card {
	border-radius: 14px;
	overflow: hidden;
	opacity: 0; /* Hidden by default */
	transform: translateY(20px); /* Start slightly below the view */
	transition: opacity 0.6s ease, transform 0.6s ease; /* Smooth fade-in and slide-up */


	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);


}

.card.visible {
	opacity: 1; /* Fully visible */
	transform: translateY(0); /* Reset transform */
}

.card-body {
	margin-bottom: 3rem;
	padding-left: 2rem;
}


.card-hero {
	width: 100%;
	height: 467px;
}

.card-hero.vanguard {
	background: url('../img/case-cards/vanguard-case-hero.jpg');
	
}


.card-hero.salesforce{
	background: url('../img/case-cards/salesforce-case-hero.jpg');
	
}


.card-hero.chase {
	background: url('../img/case-cards/jpmc-case-hero.jpg');
	
}

.card-hero.paypal {
	background: url('../img/case-cards/paypal-case-hero.jpg');
	
}

.card-hero.morgan-lewis {
	background: url('../img/case-cards/morgan-lewis-case-hero.jpg');
	
}


.card-hero.aarp {
	background: url('../img/case-cards/aarp-case-hero.jpg');
	
}


.card-hero.jnj {
	background: url('../img/case-cards/jnj-case-hero.jpg');
	
}

.card-hero.onesixty {
	background: url('../img/case-cards/160-case-hero.jpg');
	
}

.testimonial-section {
	background-color: gray;
	background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	
}

.testimonial-section .quote {
	margin: 3rem auto 3rem auto;
}

.testimonial-section .quote h3 {
	color: #fff;
	font-weight: 600;
	text-align: center; 
	margin-bottom: 2rem;
}


.author {
	margin: 0 auto;
	width: 33%;
	text-align: center;
	font-weight: 500;
	font-size: 1rem;
	color: white;
}
.avatar {
	display: block;
	background: url('../img/ar.jpg');
	background-size: cover;
	width: 125px;
	height: 125px;
	border-radius: 75px;
	margin: 0 auto 1rem auto;
}

.about-section {
	padding-top: 3rem; 
	padding-bottom: 5rem;
}

.bio {

	margin-top: 50%;
}

.bio h2 {
	font-weight: 600;
	font-size: 3rem;
	margin-bottom: 5%;
}

.bio p {
	font-size: 1.5rem;
}

.bio a, .hero a {
	color: #000;
	font-size: 1.35rem;
}

.headshot {
	width: 524px;
	height: 554px;
	background: url('../img/me.png') no-repeat;
	margin: 3rem 0 3rem 0;

}


@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


.hero {
	padding: 8rem 0 1rem 0;
}

.hero h1 {
	font-size: 11rem;
		font-family: "Inter", serif;
		font-weight: 400;
		margin-bottom: 2rem;
}

.hero h2 {
	margin-bottom: 3rem;
	font-weight: 700;
}

.hero p {
	font-size: 1.25rem;
	font-weight: 400;
}


.hero p span {
	margin-left: .5rem;
}
.card h3.card-title {
	font-size: 36px;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 1rem;

}

.card h4 {
	font-weight: 700;
	margin-bottom: 2rem;
}

.card-text {
	font-size: 21px; 
	margin-bottom: 2rem;
}

.card-footer {
	background-color: #000;
}

.card-footer a.card-button {
	font-size: 1.25rem;
	font-weight: 500;
	width: 50%;
	background:none;
	margin: 0 auto;
	display: block;
	border: none;

}
.pills {
	padding: 0;
	display: block;

}

.pills ul {
	padding: 0;
	float: left;
}
.pills ul li  {
	list-style: none;
	float: left;
	text-align: center;
	font-weight: 600;
	text-transform: uppercase;
	width: 100px;
	height: 33px;
	background-color: #F6EEDA;
	margin: 0 1rem 0 0; 
	padding: 4px;
	border-radius: 4px;

}





/* FOOTER */

footer {
	padding: 5rem 1rem 5rem 1rem;
	border-top: 1px solid #000;
}

.copyright {
	float: left;
	font-size: 16px;
}

.links {
	float: right;
	font-size: 21px;
	text-align: right;
}

.links a {
	margin: 0 15px 0 0;
	color: #333;
	text-decoration: none;


}

.links a:hover {

	text-decoration: underline;
	cursor: pointer;

}


@media (max-width: 767px) {
	

	.bio a, .hero a {
		color: #000;
		font-size: .95rem;
	}

	.hero p {
		font-size: 1.05rem;
	}



	.headshot {
	width:  360px;
	height: 350px;
	margin: 4rem auto 4rem auto;
	background-size: contain;
	}

	a.scroll-down {

		width: 80px;
		height: 80px;
		margin: 3rem auto 1rem auto;
		background: url('../img/scroll-down.png');
		display: block;
		-moz-animation: bounce 2s infinite;
		-webkit-animation: bounce 2s infinite;
		animation: bounce 2s infinite;
	}

	.pills {
	
		margin: 3rem auto 0 auto;
		width: 155px;
	}
	
	.pills ul li  {
		list-style: none;
		float: none;
		margin: 0 auto 1rem auto; 
		padding: 4px;
		border-radius: 4px;
		width: 150px; 

	
	}
	.testimonial-section {
		padding: 2rem 0 3rem 0;
	}
	.author {
		width: 50%;
	}

	.links {
		float: left;
		font-size: 21px;
		text-align:left;
		margin-top: 1rem;
	}
	footer {
		padding: 3rem 2rem 2rem 2rem;
	}

	footer h3 {
		padding: 2rem;
	}
	
	.hero {
		padding: 2rem;
	}

	.hero h1 {
		font-size: 6.5rem;
	}

#logo-cloud {
	width: 60%;
	margin: 0 auto;
	display: block;
	margin-bottom: 2rem;
}	

#logo-cloud ul li {
		width: 100%;
		clear: both;
		background-position: center;
		margin-bottom: 1.5rem;
	}

	#logo-cloud ul li#salesforce-logo, #logo-cloud ul li#qvc {
		width: 120px;
	} 


}


/* Hide video background on mobile devices */
@media (max-width: 768px) {
    .video-background {
        display: none;
    }
}




/* Apply styles for screens larger than 767px (md and up) */


@media (min-width: 768px) {

	.testimonial-section {
		padding: 4rem 0 4rem 0;
	}


	#hero-container-wrap {
		padding-top: 4rem;
	}

	#hero-container-wrap .row * {

		margin-top: .25rem;
		margin-bottom: .25rem;


	}

	#lead {
		font-size: 1.2rem;

	}

	header nav {
		float: right;
		font-size: 1.04rem;
	}

	a.scroll-down {
		width: 80px;
		height: 80px;
		background: url('../img/scroll-down.png');
		display: block;
		float: right;
	}


}


@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@-moz-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.fade-in {
	opacity: 0;
	/* make things invisible upon start */
	-webkit-animation: fadeIn ease-in 1;
	/* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
	-moz-animation: fadeIn ease-in 1;
	animation: fadeIn ease-in 1;
	-webkit-animation-fill-mode: forwards;
	/* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
	-moz-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	animation-duration: 1s;
}


.fade-in.zero {
	-webkit-animation-delay: .75s;
	-moz-animation-delay: .75s;
	animation-delay: .75s;
}

.fade-in.one {
	-webkit-animation-delay: .95s;
	-moz-animation-delay: .95s;
	animation-delay: .95s;
}

.fade-in.two {
	-webkit-animation-delay: 1.15s;
	-moz-animation-delay: 1.15s;
	animation-delay: 1.15s;
}

.fade-in.three {
	-webkit-animation-delay: 1.25s;
	-moz-animation-delay: 1.25s;
	animation-delay: 1.25s;
}


.fade-in.four {
	-webkit-animation-delay: 1.35s;
	-moz-animation-delay: 1.35s;
	animation-delay: 1.35s;
}