html {
    scroll-behavior: smooth;
}

#marketing, #ui-ux {
    scroll-margin-top: 80px;
}

#video-section {
	scroll-margin-top: 50px;
}

/*******************************/
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	top: 0;
	background: #fffafa;
	 	font-family: "Roboto", sans-serif;
}

.titles {
	width: 75%;
	height: auto;
	text-align: center;
	margin: auto;
}

/** Spacer **/
.spacer {
	width: 100%;
	height: 85px;
	margin: auto;
}

#grey-background {
	width: 100%;
	padding: 60px 0;
	background-color: #e8e8e8;
}


h1, h3 {
	font-family: "Be Vietnam Pro", sans-serif;
  	font-weight: 900;
  	font-style: normal;
  	color: #78BCD2;
}

h2 {
	font-family: "Be Vietnam Pro", sans-serif;
  	font-weight: 600;
  	font-style: normal;
}

/**********************************/
/** Navigation Styles **/
.nav {
    position: fixed;
    width: 100%;
    padding: 10px;
    max-height: 75px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
}

.nav img {
    max-width: 112px;
    max-height: 56px;
    filter: drop-shadow(0 0 10px #000000);
}

/* This container spaces the two pills apart */
.nav-pages {
    display: flex;
    gap: 10px;
}

/** Individual Pill Style **/
.nav-buttons {
    background-color: #213147;
    border-radius: 40px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center;      
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 500;
    filter: drop-shadow(0 0 5px #000000);
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-pages ul {
    display: flex;      
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.nav a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #78BCD2;
}

/** AI work button style **/
#ai-work {
	filter: drop-shadow(0 0 5px #3a6fa1);
}

/** AI work button TEXT style **/
#ai-button {
	background: linear-gradient(270deg, #00FFC2, #d952cb, #00D4FF, #00FFC2);
  	background-size: 1100% 1100%;
  	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
  	animation: textGradientMove 8s linear infinite;
}

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

/** Mobile Nav Hamburger Menu **/
.mobile-nav {
	display: none;
	width: 48px;
	height: 48px;
	border-radius: 10px; 
	justify-content: center;
	align-items: center;
}

.close-nav {
	display: none;
}

/***************************************/
/** hero-banner **/
.hero-banner {
	width: 100%;
	height: auto;
	top: 0;
	border-top: solid 15px #000000;
	display: flex;
	justify-content: space-between;
    background-color: #213147; 
}

.hero-copy {
	width: 50%;
	height: auto;
	background: linear-gradient(#304561, #213147);
	color: white;
	padding: 20px 40px 20px 40px;
}

.hero-vid {
	width: 50%;
	height: 100%;
	overflow: hidden;
}

.hero-vid video {
	width: 100%;
  	height: 100%; 
  	object-fit: cover; 
  	display: block;
}

.hero-cta {
	display: flex;
	gap: 15px;
	margin-top: 30px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.hero-button {
	font-family: "Be Vietnam Pro", sans-serif;
	font-weight: bold;
	text-decoration: none;
	padding: 15px 28px;
	border-radius: 30px;
	transition: all 0.3s ease;
	letter-spacing: 1px;
	text-align: center;
}

.hero-button-ui {
	background-color: #78BCD2;
	color: #213147;
}

.hero-button-ui:hover {
	background-color: #fff;
	color: #213147;
	transform: translateY(-2px);
}

.hero-button-marketing {
	background-color: transparent;
	color: #fff;
	border: 2px solid #fff;
}

.hero-button-marketing:hover {
	background-color: #fff;
	color: #213147;
	transform: translateY(-2px);
}

/***************************************/
/** Graphics/Video Overview **/
.digital-content {
	width: 90%;
	height: auto;
	margin: auto;
	margin-bottom: 60px;
	margin-top: 50px;
}

/** Graphics Collage **/
.graphics-container {
    width: 100%;
	margin: 0 auto;
	margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.graphics_row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 0.1rem; 
}

.graphics_row span {
    height: 220px; 
    display: block;
    flex: auto;
    transition: transform 0.5s ease, filter 0.5s ease;
    will-change: transform; 
}

.graphics_row img {
    height: 100%;   
    width: 100%;    
    display: block;
    object-fit: cover; 
    border-radius: 10px;
}

.graphics_row span:hover,
.web img:hover,
.UImock img:hover,
.case-card:hover {
	z-index: 2;
    transform: scale(1.05);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.video-container {
	width: 100%;
	margin: 40px auto 0 auto;
	margin-top: 15px;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, 1fr);
}

.video-container span {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.video-container span p {
	font-family: "Be Vietnam Pro", sans-serif;
	font-weight: bold;
	color: #78BCD2;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 1px;

	width: 100%;
	height: auto;
	padding: 15px;
	border: solid 2px #000000;
	border-radius: 30px;
	text-align: center;
}

/** Temporarily Hidden **/
#hidden-creative-process {
	color: transparent;
	border: solid 2px transparent;
}

.video-container span p:hover {
	color: #213147;
	transition: all 0.3s ease;
}

iframe {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/***************************************/
/** Case Studies **/
.case-studies {
	width: 100%;
	height: auto;
}

.case-studies-container {
	width: 90%;
	margin: 0 auto;
}

.case-section-heading {
	color: #213147;
	font-size: 1.8rem;
	border-left: 5px solid #78BCD2;
	padding-left: 15px;
	margin: 40px 0 20px 0;
}

.case-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

.case-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	transition: transform 0.5s ease, filter 0.5s ease;
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 20px;
	border: 1px solid rgba(0,0,0,0.05);
}

.case-card-img-wrap {
	width: 100%;
	height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
}

.case-card-img-wrap img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	border-radius: 10px;
}

.case-card h2 {
	font-size: 1.3rem;
	margin: 10px 0;
	color: #213147;
}

.case-card p {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 20px;
	flex-grow: 1;
}

.case-card-action, .case-card-action p {
	font-family: "Be Vietnam Pro", sans-serif;
	font-weight: bold;
	color: #78BCD2;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 1px;
	transition: color 0.3s;
}

.case-card-action:hover, .case-card-action:hover p {
	color: #213147;
}

/* Marketing Grid Specifics */
.marketing-grid {
	grid-template-columns: repeat(2, 1fr);
}

.placeholder-card {
	border: 2px dashed #bcbcbc;
	background: rgba(255, 255, 255, 0.5);
}

.placeholder-icon {
	font-size: 3rem;
	color: #bcbcbc;
	margin-bottom: 15px;
}

/** Case Study Overlay **/
.modal-overlay {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    padding: 50px;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    margin: auto;
    padding: 40px;
    width: 80%;
    max-width: 900px;
    border-radius: 12px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px; top: 20px;
    font-size: 30px; cursor: pointer;
}

/* Horizontal Carousel */
.carousel {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
}

.carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center; 
    flex-shrink: 0;      
    width: 300px;
}

.carousel-item img, 
.carousel-item video {
    height: 300px; 
    width: 100%;
    object-fit: contain;
}

.carousel-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    word-wrap: break-word;
}

.clickable-card { cursor: pointer; }

.modal-content a {
	text-decoration: none;
	color: black;
	line-height: 30px;
	display: flex;
}

.modal-content a:hover {
   	color: #78BCD2;
}

/***************************************/
/** Website Section **/
.web-section {
	width: 100%;
	height: auto;
	margin: auto;
	padding-top: 30px;
}

.web-section-container {
	width: 95%;
	margin: auto;
	display: flex;
	justify-content: space-around;
}

.web-copy {
	width: 60%;
	height: 100%;
	padding: 0px 30px 30px 30px;
}

.web-img {
	width: 40%;
	height: 100%;

	display: flex;
	justify-content: center;
}

.web-img a {
    display: flex;
}

.web-img img {
	width: 70%;
	margin: auto;
	height: auto;
	transition: transform 0.5s ease, filter 0.5s ease;
}

.web-img img:hover {
	transform: scale(1.1);
}

/*****************************************/
/* Form Styles */
form {
	width: 50%;
	margin: auto;
	padding: 10px;
	border: solid 2px black;
	border-radius: 10px;
	text-align: left;
}

label {
	display: block;
	padding-bottom: 10px;
}

form input[type="text"], form input[type="email"],
form textarea {
	font-family: roboto;
  	width: 100%;
 	padding: 12px 15px;
  	margin-bottom: 20px;
  	border: 1px solid #ccc;
  	border-radius: 10px;
  	background-color: #fffafa;
  	transition: border 0.3s, box-shadow 0.3s;
}

form button {
	max-height: 30px;
	max-width: 150px;
	border-radius: 10px;
	background-color: transparent;
}

form button:hover {
	background-color: #c4c4c4;
}

/*****************************************/
/* Footer */
footer {
	width: 100%;
	background-color: #213147;
	padding: 10px;
	text-align: center;
	color: white;
}


/**************************************************/
/** Media Screen (Responsiveness) **/
@media (max-width: 1024px) {
    .graphics_row span { height: 250px; }
}

@media only screen and (max-width: 768px) {

#home {
	display: none;
}

.nav {
    justify-content: space-between; 
}

.mobile-nav {
	display: flex;
    margin-left: auto;
    background-color: #213147;
    padding: 5px;
    border-radius: 8px;
    filter: drop-shadow(0 0 5px #000000);
}

.nav-pages ul {
    list-style-type: none;
    display: none;
    flex-direction: column;
    background-color: #213147; 
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    gap: 20px;
    padding: 30px 20px;
    transition: right 0.3s ease;
}

.nav-pages ul.open {
    display: flex;
    right: 0;
}

.nav-pages .nav-buttons {
    width: 100%; 
    justify-content: center;
    text-align: center;
}

.close-nav {
	display: block;
    color: white;
    width: 100%;
    text-align: right;
    margin-bottom: 20px;
    cursor: pointer;
}

/** hero-banner **/
.hero-banner {
	flex-direction: column;
	border-top: solid 40px #000000;
}

.hero-copy {
	width: 100%;
}

.hero-vid {
	width: 100%;
}

/** Graphics & Editing Section **/
.graphics_row {
	gap: 0.3rem;
}

.graphics_row span {
    height: 400px;  
}

.video-container {
	display: flex;
	flex-direction: column;
}

/** Case Studies **/
.case-grid {
	display: flex;
	flex-direction: column;
}

/** Modal Responsive Adjustments **/
.modal-overlay {
    padding: 20px;
}

.modal-content {
    width: 100%;
    padding: 20px;
}

/** Web Section **/
.web-section-container {
	flex-direction: column;
}

.web-copy {
	width: 100%;
}

.web-img {
	width: 100%;
}


form {
	width: 90%;
}