body, html {
	font-family: 'Lato', sans-serif;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: #777;
}
h1 {
}
h1 strong {
	font-weight: 900;
}
h2 {
	line-height: 20px;
	font-size: 32px;
	font-weight: 700;
	margin: 0;
	color: #555;
}
h3 {
	font-size: 16px;
	font-weight: 700;
}
h4 {
	font-size: 20px;
	color: #666;
}
h5 {
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
h2.subtext {
    font-size: 14px;
    background-color: #ededed;
    padding:12px 24px;
    text-align: center;
}
p {
	font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}
a {
	color: #6001d2;
}
a:hover, a:focus {
	text-decoration: none;
	color: #222;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
ul, ol {
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
	list-style: none;
}
hr {
	height: 3px;
	width: 60px;
	text-align: center;
	position: relative;
	background: #6001d2;
	border: 0;
	margin: 10px auto 30px;
}
.password {
    font-size: 10px;
    color:#DB3737;
    background-color: #fff;
    position: relative;
    padding:6px;
    margin-bottom:0;
    z-index: 888;
}
video {
    width: 80%;
    border: 1px solid #ddd;
}
/* Navigation */
#menu {
	padding: 20px;
	transition: all 0.8s;
}
#menu.navbar-default {
	background-color: rgba(0, 0, 0, .3);
	border-color: rgba(231, 231, 231, 0);
}
#menu a.navbar-brand {
	text-transform: uppercase;
	font-size: 22px;
	color: #fff;
	font-weight: 900;
}
#menu a.navbar-brand i.fa {
	color: rgba(255,255,255,0.7);
	margin-right: 3px;
}
#menu.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	color: #eeeeee;
	font-size: 12px;
	letter-spacing: 1px;
    border-radius: 15px 15px 15px 0;
}
#menu.navbar-default .navbar-nav > li > a:hover {
	color: #000;
	background-color: rgba(255,255,255,.5);
	border-radius: 5px;
}
.on {
	background-color: #222222 !important;
	padding: 0 !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #6001d2 !important;
	/*background-color: transparent;*/
}
.navbar-toggle {
	border-radius: 0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: #6001d2;
	border-color: #6001d2;
}
.navbar-default .navbar-toggle:hover>.icon-bar {
	background-color: #FFF;
}
.subnav, .subnav h3 {
	display: none;
}
.on .subnav {
    background-color: #6001d2;
    text-align:center;
    display: block;
    padding:10px;
}
.on .subnav h3 {
    color:#fff;
    display: block;
    margin:0;
}
/* Home Style */
#header {
	background-size: cover;
	color: #cfcfcf;
	position: relative;
	height: 100%;
}
#header p {
	color: rgba(0,0,0,0.7);
	font-size: 20px;
	margin-bottom: 80px;
	padding: 0 50px;
}
.intro-text {
	position: relative;
	padding-top: 250px;
	padding-right: 0;
	padding-left: 50px;
	padding-bottom: 170px;
	width:50%;
}
.intro-text H1 {
	font-size: 60px;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 1px 1px 5px #777;
}
.intro-blurb {
    margin:30px 0;
    padding:10px;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.4);
}
.btn-default {
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	background-color: transparent;
	border: 2px solid rgba(255,255,255,0.8);
	margin: 0 8px;
	padding: 12px 24px;
	font-size: 16px;
	transition: all 0.5s;
	border-radius: 4px;
}
.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active {
	background-color: #fff;
	color: #6001d2;
	border-color: #fff;
}
.btn-back {
	color: #6001d2;
	font-family: 'Open Sans', sans-serif;
	background-color: transparent;
	border: 2px solid #6001d2;
	margin: 0 8px;
	padding: 12px 24px;
	font-size: 16px;
	transition: all 0.5s;
	border-radius: 4px;
}
.btn-back:hover {
    background-color: #6001d2;
	color: #fff;
	border-color: #6001d2;
}

/* Geometric Background */
/* Geometric Background with Smooth Transitions */
#home {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #ff00ff, #00ffff); /* Initial Gradient */
    background-size: 400% 400%; /* Allows more room for gradient movement */
    animation: gradientShift 15s ease infinite; /* Smooth transition between gradients */
    overflow: hidden;
}

#home .intro-text {
    position: relative;
    z-index: 10; /* Ensures the text is on top of the background */
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background-size: 300% 300%; /* Scale the background to create more movement */
    z-index: 1;
    transition: background 2s ease-in-out; /* Smooth transition effect */
}
/* Floating Circles Layer */
.circle-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevents interaction with the floating circles */
    overflow: hidden;
    z-index: 5; /* Keeps the circles above the background, but below the text */
}

.circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2); /* Transparent circles */
    animation: move 20s infinite ease-in-out;
    mix-blend-mode: overlay; /* Allows some interaction with background colors */
}

/* Animation for moving circles */
@keyframes move {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50vw, 50vh);
    }
    100% {
        transform: translate(-50vw, -50vh);
    }
}
/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        background-color: linear-gradient(45deg, #ff00ff, #00ffff);
    }
    25% {
        background-position: 50% 50%;
        background-color: linear-gradient(45deg, #ff007f, #00ff7f);
    }
    50% {
        background-position: 100% 50%;
        background-color: linear-gradient(45deg, #ff0000, #0000ff);
    }
    75% {
        background-position: 50% 100%;
        background-color: linear-gradient(45deg, #ff8800, #0088ff);
    }
    100% {
        background-position: 0% 50%;
        background-color: linear-gradient(45deg, #ff00ff, #00ffff);
    }
}

/* Skills Section */
#skills-section {
    padding: 20px 20px 40px;
	background-color: #6001d2;
    background-image: linear-gradient(#6001d2, #9947fb);
    color: white;
}
#skills-section h2{
    color:#fff;
}
#skills-section hr {
    background-color:#fff;
    margin-bottom:0;
}
.skills-container {
    display: flex;
    justify-content: space-between;
    /*gap: 20px;*/
    max-width: 1200px;
    margin: 0 auto;
}

/* Columns for skills */
.column {
    flex: 1;
    padding:0 10px;
}
.space {
	margin-top: 40px;
}
/* Skill block styling */
.skill {
    margin-bottom: 20px;
}

.skill h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Skill bar container */
.skill-bar {
    width: 100%;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* Progress bar */
.progress {
    background-color: #efefef;
    height: 20px;
    width: 0;
    border-radius: 10px;
    margin-bottom:0 !important;
    transition: width 2s ease; /* Smooth slide-in effect */
}

/* Projects Section */

/* Project container */
.project {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 60vw; /* Takes up 40% of the viewport width */
    margin: 50px auto; /* Centers the project in the viewport */
    background-color: #efefef;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* Image container takes up 50% of the 40vw */
.image-container {
    flex: 1.2;
}

.image-container img {
    width: 100%;
    border-radius: 10px 0 0 10px;
    object-fit: cover;
}

/* Description container takes up 50% of the 40vw */
.description-container {
    flex: 0.8;
    padding:10px 10px 10px 30px; /* Spacing between image and description */

}

.description-container h2 {
    margin-bottom: 10px;
    font-size:2.5rem;
}

.description-container p {
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: left;
    word-wrap: break-word;
}
.description-container em {
    background-color: #fff; 
    color:#222;
    text-decoration: none;
    font-style: normal;
    font-size:1rem;
}
.description-container .btn {
	background: transparent;
	border: 2px solid #111;
	border-radius: 4px;
	padding: 10px 20px;
	margin-top: 20px;
	color: #111;
}
.description-container .btn:hover, .description-container .btn:focus {
	background: #111;
	border: 2px solid #111;
	color: #fff;
}


/* Gallery Section 
==============================*/
#works-section {
	padding: 120px 0;
	background-color: #f6f6f6;
}
.categories {
	padding-bottom: 30px;
	text-align: center;
}
ul.cat li {
	display: inline-block;
}
ol.type li {
	display: inline-block;
	margin-left: 20px;
}
ol.type li a {
	color: #aaa;
	border: 1px solid #ddd;
	padding: 8px 16px;
	border-radius: 0;
}
ol.type li a.active {
	color: #6001d2;
	border: 1px solid #6001d2;
}
ol.type li a:hover {
	color: #6001d2;
	border: 1px solid #6001d2;
}
.isotope-item {
	z-index: 2
}
.isotope-hidden.isotope-item {
	z-index: 1
}
.isotope, .isotope .isotope-item {
	/* change duration value to whatever you like */
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	transition-duration: 0.8s;
}
.isotope-item {
	margin-right: -1px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.isotope {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}
.isotope .isotope-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
}
.portfolio-item {
	margin-bottom: 30px;
}
.portfolio-item .hover-bg {
	/*height: 170px;*/
    height: auto;
	overflow: hidden;
	position: relative;
}
.hover-bg .hover-text {
	position: absolute;
	text-align: center;
	margin: 0 auto;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.66);
	padding: 17% 0 0 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
	opacity: 0;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: all 0.3s;
	color: #ffffff;
}
.hover-bg:hover .hover-text>h4 {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.hover-bg .hover-text>i {
	opacity: 0;
	-webkit-transform: translateY(0);
	transform: translateY(0);
	transition: all 0.3s;
}
.hover-bg:hover .hover-text>i {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
}
.hover-bg:hover .hover-text {
	opacity: 1;
}
#works-section i.fa {
	height: 30px;
	width: 30px;
	border: 1px solid #F5AB35;
	font-size: 20px;
	padding: 5px;
	border-radius: 50%;
	color: #F5AB35;
}
h4.casestudies {
    font-size: 20px;
    font-weight: bold;
    color:#333;
    margin-bottom: 3px;
    text-align: center;
}
p.casestudies {
    color:#666;
    text-align: center;
}
/* Process Section */
#process-section {
    padding: 20px 0;
}
#process-section p {
	margin-top: 20px;
	margin-bottom: 30px;
}
#process-section h2{
}
.process-container {
    display: flex;
    justify-content: space-between;
    /*gap: 20px;*/
    max-width: 1200px;
    margin: 0 auto;
}
.process {
	text-align: left;
	padding:0 30px;
}
h3.question {
    font-size: 18px;
    line-height:1.8;
}
/* Team Section */
#team-section {
	padding: 100px 0;
}
.section-title {
    text-align: center;
}
.section-title.center {
	padding: 30px 0;
}
.section-title h2 {
	margin-bottom: 30px;
}
img.img-circle.team-img {
	width: 150px;
	height: 150px;
	border: 4px solid transparent;
	transition: all 0.5s;
}
img.img-center {
    display: block;
    margin-left:25%;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}
#team-section .team .thumbnail:hover>img.img-circle.team-img {
	border: 4px solid #fff;
	font-size: medium;
}
#team-section .thumbnail {
	background: transparent;
	border: 0;
}
#team-section .thumbnail .caption {
	padding: 9px;
}
/* Achivements Section */
#achievements {
	padding: 80px 0;
	background-color: #6001d2;
    background-image: linear-gradient(#6001d2, #9947fb);
}
.achievement-box {
	text-align: center;
	margin: 20px 0;
}
.achievement-box h4 {
	font-size: 16px;
	color: rgba(255,255,255,0.8);
	text-transform: uppercase;
}
.achievement-box span.count {
	color: #fff;
	font-size: 50px;
	font-weight: 500;
	display: block;
}
/* Contact Section */
#contact-section {
	padding: 120px 0 60px 0;
	background-color: #f6f6f6;
}
#contact-section h3 {
	font-size: 20px;
	font-weight: 400;
}
#contact-section form {
	padding: 30px 0;
}
#contact-section i.fa {
	color: #6001d2;
	font-size: 16px;
	margin-bottom: 10px;
}
label {
	font-size: 12px;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif;
	float: left;
}
#contact-section .form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
#contact-section .form-control:focus {
	border-color: inherit;
	outline: 0;
	-webkit-box-shadow: transparent;
	box-shadow: transparent;
}
#contact-section .btn {
	background: transparent;
	border: 2px solid #6001d2;
	border-radius: 4px;
	padding: 10px 20px;
	margin-top: 20px;
	color: #6001d2;
}
#contact-section .btn:hover, #contact-section .btn:focus {
	background: #6001d2;
	border: 2px solid #6001d2;
	color: #fff;
}
#contact-section .text-danger {
	color: #cc3300;
	text-align: left;
}
.breakdown {
    padding:40px 20px;
    margin:40px 0;
    background-color: #f0f4ff;
}
.breakdownspacer {
    padding-right:20px;
}
.contentsection {
	padding: 60px 0;
}
.imageround {
    border-radius: 4px;
}
.topspace {
    margin-top:50px;
}
.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}
/* Social Section */
#social-section {
	padding: 30px 0;
	background-color: #6001d2;
	text-align: center;
}
#social-section .social ul li {
	display: inline-block;
	margin: 0 20px;
}
#social-section .social i.fa {
	font-size: 24px;
	padding: 4px 5px;
	color: #fff;
	transition: all 0.5s;
}
#social-section .social i.fa:hover {
	color: #666;
}
/* Back Area */
.backarea {
    padding:30px 0;
    background-color: #fff;
	text-align: center;
}
/* Footer */
#footer {
	background-color: #222222;
	color: #777;
	padding: 15px 0 10px 0;
	text-align: center;
}
#footer p {
	font-size: 13px;
	margin-top: 10px;
}
#footer a {
	color: #999;
}
#footer a:hover, a:focus {
	text-decoration: none;
	color: #6001d2;
}
/* Lightbox overlay */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0; /* Invisible by default */
    transition: opacity 0.5s ease; /* Smooth fade-in effect */
}

/* Show the lightbox */
.lightbox.show {
    display: flex; /* Set display to flex when shown */
    opacity: 1; /* Full visibility */
}

/* Lightbox content */
.lightbox-content {
    position: relative;
    margin:155px auto;
    width: 80%;
    max-width: 900px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.lightbox img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.lightbox-caption {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
}

/* Navigation buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}
/* Responsive behavior for mobile */
@media (max-width: 768px) {
    #header p{
        padding:0;
    }
    .intro-text {
	position: relative;
	padding:10px;
	width:90%;
    }
    .intro-text H1 {
        font-size: 60px;
        text-transform: uppercase;
        color: #fff;
        text-shadow: 1px 1px 5px #777;
    }
    .intro-blurb {
        margin:0;
        padding:10px;
        border-radius: 12px;
        margin-bottom:12px;
        background-color: rgba(255,255,255,0.4);
    }
    .project {
        flex-direction: column; /* Stack the containers vertically */
        max-width: 90%; /* Take up full width of the screen */
    }

    .image-container, .description-container {
        flex: none;
        width: 100%;
        margin-right: 0; /* Remove spacing between containers on mobile */
        margin-bottom: 20px; /* Add space between stacked containers */
    }

    .image-container img {
        width: 100%; /* Make sure image scales to fit the container */
        border-radius: 10px 10px 0 0;

    }
    .description-container {
    padding:10px; /* Spacing between image and description */

    }
    .content {
	padding: 40% 0 0;
    }
    .skills-container {
        flex-direction: column;
        gap: 0; /* Remove gap for stacked columns */
    }
    .process-container {
        flex-direction: column;
        gap: 0; /* Remove gap for stacked columns */
    }
    .lightbox-content {
        width: 100%;
        height: 100%;
        padding: 10px;
        border-radius: 0;
    }
    .prev, .next {
        font-size: 24px;
        padding: 10px;
    }
    
}

@media (max-width: 603px) {
#menu.navbar-default {
	background-color: rgba(0, 0, 0, 0.7);
}
label {
	float: none !important
}
.hover-bg .hover-text {
	padding: 12% 10%;
}
}

@media (max-width: 360px) {
.hover-bg .hover-text {
	padding: 22% 10%;
}
    
}
/* Header Images for Projects */
/*.h-home {
	background: url(../img/header-bg.jpg) no-repeat bottom right;
} */

.h-yahooai {
	background: url(../img/folio/yahoo-ai-h.jpg) no-repeat bottom right;
}
.h-yahoocms {
	background: url(../img/folio/yahoo-cms-h.jpg) no-repeat bottom right;
}
.h-yahoocpds {
	background: url(../img/folio/yahoo-cpds-h.jpg) no-repeat bottom right;
}
.h-yahooy4c {
    background: url(../img/folio/yahoo-y4p-h.jpg) no-repeat bottom right;
}