/* Importing Google Fonts and Bootstrap CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css');

:root {
  --logo-green: #94b833;
  --logo-orange: #ff5f00;
  --logo-blue: #027385;
}

/* Global Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

/* Main Header Styles */
#main-header {
  height: 120px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: height 0.3s ease;
  background: #ffffff;
  box-sizing: border-box;
}
#main-header[data-shrink="true"] {
  height: 90px !important;
}

/* Logo Styles */
.logo-container, #logo, #small-logo {
  height: 100%;
  transition: all 0.3s ease;
}
.small-logo {
  display: none;
}

.white-logo {
  width: 60px;
  height: auto;
}

/* Hero Section */
#hero {
  background-image: url('/assets/images/3FORTY2-Innovations-hero.webp'), url('/assets/images/3FORTY2-Innovations-hero.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: white;
  padding: 180px 0 80px;
}

/* Text Container */
.text-container {
  text-align: left;
}
.text-container h1 {
  font-weight: 500;
  font-size: 3em;
}
.text-container p {
  font-weight: 300;
  font-size: 1.2em;
}

.equal-height {
  display: flex;
  align-items: stretch; /* Optional, if you want items to stretch to full height */
}

.equal-height > div {
  display: flex;
  flex-direction: column;
}

.img-fluid {
  object-fit: cover; /* Cover the whole area */
  flex-grow: 1; /* Allow the image to grow */
}

.img-tied {
  margin-bottom: -20px;
}

.txt-tied {
  margin: 30px 0 30px 0;
}

.gradient-bg {
  margin-bottom: -80px;
}

.border-top-6 {
  border-top-width: 6px !important;
}
/* Callouts */

.card-custom {
  min-width: 294px;
  max-width: 365px;
}

.card-creative {
  border-top-color: var(--logo-blue) !important;
}

.card-practical {
  border-top-color: var(--logo-green) !important;
}

.card-balanced {
  border-top-color: var(--logo-orange) !important;
}

.card-header {
  background: transparent;
}

.card-img-top {
  width: 94px;
}

#main-content {
  padding-top: 50px;
  background-color: #efeff8;
}

#contact-us, #about {
  padding: 100px 0 0 0;
  background-color: #f9f9f9;
}

/* Button and Animation Styles */
.slide-up {
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s ease;
}
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
.main-btn {
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  color: white;
  padding: 10px 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.3s ease, color 0.3s ease;;
}

.main-btn:hover {
  color: white;
}

.btn-green {
  background-color: var(--logo-green);
}
.btn-green:hover, .btn-green:focus {
  background-color: #718C27;
}
.btn-blue {
  background-color: var(--logo-blue);
}
.btn-blue:hover, .btn-blue:focus {
  background-color: #027385;
}
.btn-orange {
  background-color: var(--logo-orange);
  margin-right: 10px;

}
.btn-orange:hover, .btn-orange:focus {
  background-color: #ed5800;
}
.spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

.cta-band-logo-blue {
  background-color: var(--logo-blue);
  color: white;
}
.cta-band-logo-green {
  background-color: var(--logo-green);
  color: white;
}
.cta-band-logo-orange {
  background-color: var(--logo-orange);
  color: white;
}

.cta-text {
  animation: slideInFromLeft 1s ease-out forwards;
  font-size: 24px;
  font-weight: bold;
}

.cta-text-lrg {
  font-size: 36px;
  font-weight: bold;
  padding-bottom: 14px;
}

.cta-sign-up {
  margin: 6em 1.4em 0 1.4em;
  background-color: var(--logo-green);
}

.container {
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* Navbar Styles */
.nav-item {
  position: relative;
}
.nav-link {
  color: black;
  font-weight: bold;
  margin-right: 20px;
  text-decoration: none;
}
.navbar-nav {
  background-color: white;
}
.navbar-toggler {
  margin-left: 20px;
  border: none;
  outline: none;
  box-shadow: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
div.dropdown-menu {
  border: none !important;
}

.dropdown-item:active {
  background-color: var(--logo-blue);
}

/* Footer Styles */
.footer-icon {
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-address .address {
  padding-top: 40px;
  font-weight: bold;
}

/* Column Layout */
.site-footer .row > div {
  margin-bottom: 20px;
}

/* Social links */
.site-footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px; /* Spacing between icons */
}

.site-footer .bi {
  font-size: 24px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.social-icons a:hover {
  color: #00b2cf !important;
}

/* Alerts */
#alert-container {
  z-index: 9999;
  transform: translate(-50%, -50%);
  width: auto;
  white-space: nowrap;
}

/* Mobile Responsive Styles */
@media only screen and (max-width: 992px) {

  #main-header {
    height: 100px;
  }
  #hero{
    padding: 102px 0 80px;
  }
  .navbar-buttons {
    top: 28px;
    right: 5em;
    position: fixed;
    display: flex;
  }
  .navbar-nav {
    padding: 0 10px;
    font-size: 1.2em;
  }
}

@media only screen and (max-width: 768px) {
  #main-header {
    height: 80px;
  }
  .navbar-buttons {
    top: 18px;
    right: 10px;
  }
  .navbar-toggler, .contact-us {
    margin-left: 0;
  }
  .dropdown-item {
  font-size: 1.2em;
  }
  .large-logo {
    display: none;
  }
  .small-logo {
    display: block;
  }
  .navbar-toggler, .contact-us {
    display: inline-block;
  }
  .right-container .navbar-buttons {
    flex-direction: row;
  }
  .container {
    padding: 10px;
  }
  .navbar-collapse {
    width: 100%;
    position: fixed;
    top: 75px;
    right: 0;
    left: 0;
    overflow-y: auto;
  }

  .site-footer {
    padding: 20px 0;
  }

  .site-footer .container {
    flex-direction: column;
  }

  .col-md-6 {
    margin-bottom: 20px;
  }

  .gradient-bg {
    margin-bottom:-30px;
  }
}
