:root {
	--accent: #0D4662;
	--accent2: #67B9C2;
	--dark: #050f19;
	--bg1: #EDF0F3;
}


/* Styling custom text */
body {
	font-family: 'Montserrat', sans-serif;
	color: var(--dark);
}

.bg-dark {
	background-color: var(--dark)!important;
}

.display-6 {
	font-weight: 600;
}

.display-8 {
	font-family: 'Kanit', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--accent);
	font-size: 18px;
}

/* Icons */
.bi {
	color: var(--accent);
}

.icon-xl {
	font-size: 50px;
}

/* Editing all buttons */
.btn {
	font-weight: 300;
	font-size: 18px;
	border-radius: 12px;
	padding: 10px 20px;
	background-color: var(--accent);
	border: none;
	color: #fff;
	box-shadow: 4px 4px 0 0 var(--accent2);
	transform: translate(0);
	transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

.btn:active:focus {
	background-color: var(--accent);
}

.btn:hover {
	transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
	transform: translate(4px, 4px);
	background-color: var(--accent);
	box-shadow: 0 0 0 0 var(--accent2);
	color: #fff;
}

.btn-disabled {
	font-weight: 500;
	font-size: 18px;
	border-radius: 12px;
	padding: 11px 20px 15px 20px;
	line-height: 1;
	background-color: var(--bg1);
	border: none;
	color: var(--accent);
	box-shadow: 4px 4px 0 0 #67b9c268;
	text-decoration: none;
}

.blog-button {
	color: var(--accent);
	font-weight: 600;
	text-underline-offset: 3px;
}


/* Card styling */
.card {
	background-color: #fafafa;
	border-radius: 30px;
	box-shadow: 1px 1px 4px 0 #BEBEBE;
	transition: transform 0.2s ease;
	border: 4px solid transparent;
	padding: 5px;
}

.card:hover {
	transform: scale(1.03);
	border: 4px solid var(--accent2);
	padding: 5px;
}

.card-text {
	font-size: 15px;
}





/* Navigation */
#navbar {
	background-color: transparent;
	transition: background-color 0.5s ease, box-shadow 0.5s ease;
	font-weight: 700;
	font-family: 'Kanit', sans-serif;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: .8px;
	padding: 15px;
}

#navbar.no-transition {
	transition: none !important;
}

#navbarNav.collapse.show {
	position: relative;
}


/* Scrolling animation, linked with the JS classes */
#navbar.scrolled {
	background-color: #fff; /* white background after scroll */
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#navbar.scrolled .nav-link {
	color: var(--dark) !important;
}

/* editing the logo visibilities */
.logo-dark {
	display: none;
}

#navbar.scrolled .logo-light {
	display: none;
}

#navbar.scrolled .logo-dark {
	display: block;
}

/* Making underlines for the navbar items */
.navbar-nav .nav-link {
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: inherit;
	text-underline-offset: 4px;
}

.navbar-nav .nav-link.active {
	text-decoration: underline 2px;
}

.navbar-nav .nav-link:hover {
	text-decoration: underline 2px;
}


/* Hamburger menu styling */
.custom-toggler { /* editing the hamburger menu lines */
	border: none !important;
	padding: 20px;
	outline: none;
	box-shadow: none !important;
}

.toggler-icon {
	width: 28px;
	height: 2px;
	background: transparent;
	display: block;
	position: relative;
}

/* 2 lines */
.toggler-icon::before,
.toggler-icon::after {
	content: "";
	width: 28px;
	height: 3px;
	background-color: white;
	position: absolute;
	left: 0;
	border-radius: 2px;
	transition: 0.3s ease;
}

/* spacing: 2 lines */
.toggler-icon::before {
	top: -6px;
}
.toggler-icon::after {
	top: 6px;
}

/* scrolled state color swap */
#navbar.scrolled .toggler-icon::before,
#navbar.scrolled .toggler-icon::after {
	background-color: var(--dark);
}

/* x animation */
.navbar-toggler[aria-expanded="true"] .toggler-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon::after {
	top: 0;
	transform: rotate(-45deg);
}




/* Hero section */
.hero {
	background-image: url('../images/heroBG.svg');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
}

.secondary-hero {
	min-height: 40vh;
	display: flex;
	align-items: center;
	background-color: white;
	background-image: url('../images/heroBG.svg');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
}

.blog-hero {
	background-image: url('../images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 75vh;
}

@media (max-width: 992px) {
	.secondary-hero {
		min-height: 25vh;
	}
}

@media (max-height: 720px) {
	.blog-hero {
		min-height: 90vh;
	}
}

.hero h5 {
	color: var(--accent2);
}

.hero-img {
	width: 100%;
}







/* Featured section */
.featured h5 {
	color: var(--accent);
}

.featured h4 {
	font-size: 1.8rem;
	font-weight: 400;
}





/* Work section */
.projects {
    background-color: var(--bg1);
    scroll-margin-top: 60px;
}

.badge {
  font-size: 0.75rem;
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  color: var(--accent);
  border: 2px solid var(--accent);
	padding: 5px 10px;
	line-height: 1;
}

.badge-light {
  font-size: 0.75rem;
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  color: white;
  border: 2px solid white;
	padding: 2px 10px;
}

.projects h5 {
    font-size: 2.6rem;
}

@media (max-width: 768px) {
  .projects h5 {
    font-size: 2rem;
  }
}






/* Design Process Section */
.progress-stepper .step {
  text-align: center;
  position: relative;
  flex: 1;
  cursor: pointer;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  color: #4b4b4b;
  background-color: var(--bg1);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 5px;
  transition: 0.3s;
}

.step.active .step-number {
  background-color: var(--accent);
  color: #fff;
}

.step-panel {
  opacity: 0;
  animation: fadeIn 2s forwards;
  padding: 5px 200px 0 200px;
  text-align: center;
}

.step-panel p {
    font-size: .9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#progressBar {
  background: var(--accent);
  transition: width 0.4s ease;
}

#process {
  background-image: url('../images/boat-s1.svg');
  height: 85%;
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out, opacity 1s ease-in-out;
}

@media (max-width: 992px) {
  .step-panel {
  padding: 0;
}
}

@media (max-width: 768px) {
  #process {
    height: 85%;
  }

  .step-panel {
  padding: 0;
  text-align: left;
}
}

#process.fade {
    opacity: 0;
}









/* Pricing section */
.pricing .card {
    min-height: 300px;
    padding: 20px 0; /* top and bottom padding of the card */
}

.pricing {
    background-color: var(--bg1);
}

.pricing-title {
    font-family: 'Kanit', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.7rem;
}

.pricing .li {
    font-size: 3rem;
}

.amount {
    font-family: 'Kanit', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--accent);
    font-size: 2.6rem;
}

.small-print {
    padding-left: 10px;
}

.smaller-text {
    font-size: .75rem;
    color: rgb(85, 85, 85);
    font-weight: 500;
    padding-left: 10px;
}

.rotate-svg {
    transform: translate(3px, 0px) rotate(45deg);
    transform-origin: center;
}






/* Contact */
#contact a {
  color: #059aab;
  text-decoration: underline;
}

#contact a:hover,
#contact a:focus {
  color: #059aab;
  text-decoration: underline;
}

#contact-form {
  margin-bottom: 0;
}

.form-box {
  box-shadow: 1px 1px 4px 0 #BEBEBE;
  background-color: #fafafa;
}

.contact-input {
  border: 1.6px solid #d5d5d5;
  border-radius: 18px;
  background-color: #fafafa;
  padding: 20px 20px 15px 20px;
  font-size: 1rem;
}

.contact-input:focus {
  border: 1.6px solid #fafafa;
  box-shadow: 0 0 0 2.5px var(--accent2);
  background-color: #fafafa;
}

.form-label {
  font-size: .9rem;
  margin-left: 20px;
  margin-bottom: -13px;
  padding: 0 12px;
  background-color: #fafafa;
}

.form-response {
  padding-top: 15px;
  font-weight: 600;
}






/* Footer */
.footer {
  background-image: url("../images/footer.svg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  color: white;
  padding: 110px 0 20px 0;
}

.footer-logo {
  margin-top: 80px;
}

.copyright {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 0 0 15px;
}

.footer-title {
  color: white;
}

.footer-links {
  color: white;
  text-decoration: none;
  display: flex;
  padding: 4px;
}

.footer-links.active {
  text-decoration: underline 1px;
  text-underline-offset: 4px;
}

.footer-links:hover {
  text-decoration: underline 1px;
  text-underline-offset: 4px;
}






/* About page styling */
.about-section {
padding: 70px 0;
}

.profile-img {
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
}

.feature-img {
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .feature-img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .feature-img {
    height: 280px;
  }
}

.about-section h3 {
  font-size: 1.6rem;
  font-weight: 800;
}

.about-section h4 {
  font-size: 1.2rem;
}

.about-section p {
  font-size: 1rem;
}







/* Contact page FAQ styling */
.faq-section {
  background-color: var(--bg1);
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

/* Container for each accordion block - including expanded state */
.faq-item {
  border-radius: 40px!important;
  background: white;
}

/* border around the whole FAQ item */
.faq-item:not(.collapsed) {
  border: 3px solid #d8e3e9;
}

/* Individual FAQ "buttons" aka the title for each accordion */
.faq-button {
  border-radius: 40px!important;
  padding: 20px 30px;
  font-family: 'Kanit', sans-serif;
  letter-spacing: .02rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Plus icons */
.accordion-button::after {
  background-image: url("../images/plus.svg");
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("../images/plus.svg");
  transform: rotate(45deg);
}

/* Makes sure there is no default blue background when the faq item is open */
.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--accent);
  box-shadow: none;
}

/* this is to get rid of the default bootstrap outline when you click on one of the items */
.accordion-button:focus {
  box-shadow: none;
}

/* hover only when accordion button is collapsed */
.faq-item .accordion-button.collapsed:hover {
  background-color: #d8e3e9;
}

.accordion-body {
  margin: 0 60px 10px 20px;
}

/* Changing footer bg to match the final section here */
.footer2 {
  background-color: var(--bg1);
}








/* Blog Specific Styling */
.blog-hero-260205 {
	background-image: url('../blog-posts/26-02-05/images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 65vh;
}

.blog-hero-260129 {
	background-image: url('../blog-posts/26-01-29/images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 65vh;
}

.blog-hero-260122 {
	background-image: url('../blog-posts/26-01-22/images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 65vh;
}

.blog-hero-260115 {
  background-image: url('../blog-posts/26-01-15/images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 65vh;
}

.blog-hero-260101 {
	background-image: url('../blog-posts/26-01-01/images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 65vh;
}

.blog-hero-251225 {
	background-image: url('../blog-posts/25-12-25/images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 65vh;
}

.blog-hero-251218 {
	background-image: url('../blog-posts/25-12-18/images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 65vh;
}

.blog-hero-251211 {
	background-image: url('../blog-posts/25-12-11/images/blog-hero.png');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	color: white;
	min-height: 65vh;
}

.blog-img {
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .blog-img {
    height: 200px;
  }
}

.author-img {
  height: 100px;
  width: 100px;
  object-fit: cover;
  object-position: 100% 20%;
  border-radius: 50%;
}