/* NextMove AI brand overrides */

/* Typography and base colors */
body {
  background: #1A1F2E !important;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif !important;
}

a,
a:hover,
.navbar-default .navbar-nav > li > a.current,
#home h1 span,
#service h4,
#team .team-wrapper .team-des span,
#portfolio .portfolio-thumb .portfolio-overlay,
#contact .form-control,
#contact input[type="submit"],
.social-icon li a:hover,
header .fa,
h2 span {
  /* NextMove Green */
  color: #6FCF97;
}

/* Buttons and overlays using brand accent */
#home .btn:hover,
#portfolio .portfolio-thumb .portfolio-overlay,
#contact input[type="submit"] {
  background: #6FCF97 !important;
  border-color: transparent !important;
}

/* Hero button hover override */
#home .btn:hover {
  background: #f8f9fa !important;
  border-color: #f8f9fa !important;
  color: #1A1F2E !important;
}

#contact .form-control {
  border: 1px solid #6FCF97 !important;
}

/* Fix for hero section text container */
.element {
  height: auto !important;
  min-height: 60px;
  overflow: visible;
}

/* Remove gray hover from service grid containers */
#service .col-md-4:hover {
  background: transparent !important;
}

#service .col-md-4 {
  background: transparent !important;
}

/* Services section styling */
#service {
  background: #f8f9fa !important;
  padding: 30px 0 !important;
}

#service h2 {
  color: #1A1F2E !important;
  margin-bottom: 5px !important;
}

#service .col-md-12 p {
  color: #4a5568 !important;
  margin-bottom: 40px !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Remove all spacing from service row and first row of cards */
#service .row {
  margin-top: 0 !important;
}

#service .row .col-md-4:first-child .service-wrapper {
  margin-top: 0 !important;
}

#service .col-md-4 {
  padding-top: 0 !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Ensure proper card alignment and responsive behavior */
#service .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.service-wrapper {
  background: #ffffff;
  border: 1px solid rgba(111, 207, 151, 0.2);
  border-radius: 8px;
  padding: 25px 20px;
  margin-bottom: 25px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-wrapper:hover {
  background: #1A1F2E !important;
  border-color: #6FCF97;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-wrapper:hover i,
.service-wrapper:hover h4,
.service-wrapper:hover p {
  color: #ffffff !important;
}

.service-wrapper i {
  font-size: 42px;
  color: #6FCF97;
  margin-bottom: 15px;
  display: block;
  transition: color 0.3s ease;
}

.service-wrapper h4 {
  color: #6FCF97;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-wrapper p {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease;
}

/* Active service styling - completely neutral */
#service .active .service-wrapper {
  background: #ffffff;
  border-color: rgba(111, 207, 151, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#service .active .service-wrapper i {
  color: #6FCF97;
}

#service .active .service-wrapper h4 {
  color: #6FCF97;
}

#service .active .service-wrapper p {
  color: #4a5568;
}

/* Sticky header */
.templatemo-nav {
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(111, 207, 151, 0.3) !important;
}

/* Override navbar-default background */
.navbar-default {
  background-color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* Add padding to body to account for sticky header */
body {
  padding-top: 80px !important;
}

/* Team section hover removal */
#team .team-wrapper:hover {
  cursor: default !important;
  opacity: 1 !important;
}

/* Team section typography */
#team .team-des h4 {
  font-size: 22px !important;
}

#team .team-des span {
  font-size: 16px !important;
}

/* Anchor positioning for sticky header */
html {
  scroll-behavior: smooth !important;
}

#service, #navigator, #team, #about {
  scroll-margin-top: 80px !important;
}

/* Header button styling */
.navbar-nav .btn {
  padding: 5px 8px !important;
  margin-top: 20px !important;
  font-size: 18px !important;
  line-height: 1.0 !important;
  border-radius: 3px !important;
  font-weight: 500 !important;
  height: auto !important;
  min-height: unset !important;
  vertical-align: middle !important;
  background-color: #6FCF97 !important;
  border-color: #6FCF97 !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* WORK WITH US button styling - MAXIMUM SPECIFICITY */
.navbar-nav .navbar-right .work-with-us-btn {
  padding: 5px 8px !important;
  margin-top: 20px !important;
  font-size: 18px !important;
  line-height: 1.0 !important;
  border-radius: 3px !important;
  font-weight: 500 !important;
  height: auto !important;
  min-height: unset !important;
  vertical-align: middle !important;
  background-color: #6FCF97 !important;
  border: 1px solid #6FCF97 !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  background-image: none !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.navbar-nav .navbar-right .work-with-us-btn:hover {
  background-color: #1A1F2E !important;
  border-color: #1A1F2E !important;
  color: #ffffff !important;
  text-decoration: none !important;
  background-image: none !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* WORK WITH US button hover effect */
.work-with-us-btn:hover {
  background-color: #1A1F2E !important;
  border-color: #1A1F2E !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

/* About page leadership cards */
.leadership-card {
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.leadership-card img {
  border: 4px solid #6FCF97;
  transition: all 0.3s ease;
}

.leadership-card:hover img {
  border-color: #1A1F2E;
}

/* About page difference table */
.table-difference {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.table-difference thead th {
  background: rgba(111, 207, 151, 0.2);
  border: none;
  padding: 15px;
}

.table-difference tbody tr {
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.table-difference tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.1);
}

.table-difference tbody tr:hover {
  background: rgba(255, 255, 255, 0.15);
}

.table-difference td {
  padding: 15px;
  border: none;
  vertical-align: top;
}

/* About page sections */
#about-hero {
  padding: 60px 0 40px;
  text-align: center;
}

#about-hero h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

#about-hero p {
  color: #6FCF97;
  font-size: 24px;
  font-weight: 400;
}

#mission {
  padding: 40px 0;
  text-align: center;
}

#mission h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 15px;
}

#mission p {
  color: #ffffff;
  margin-bottom: 15px;
}

#leadership {
  padding: 80px 0;
  background: #f8f9fa;
}

#leadership h2 {
  color: #1A1F2E;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

#leadership .lead {
  color: #6FCF97;
  font-size: 18px;
  margin-bottom: 50px;
}

#difference {
  padding: 40px 0;
  text-align: center;
}

#difference h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
  line-height: 1.1 !important;
}

#difference p {
  margin: 0px auto 10px !important;
  padding-top: 0px !important;
  line-height: 1.3 !important;
}

#about-cta {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

#about-cta h2 {
  color: #1A1F2E;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 15px;
}

#about-cta p {
  color: #1A1F2E;
  font-size: 18px;
  margin-bottom: 15px;
}

/* About page CTA button hover effects */
#about-cta .btn-primary:hover {
  background-color: #1A1F2E !important;
  border-color: #1A1F2E !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 31, 46, 0.3);
  transition: all 0.3s ease !important;
}

#about-cta .btn-secondary:hover {
  background-color: #f8f9fa !important;
  border-color: #f8f9fa !important;
  color: #1A1F2E !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(248, 249, 250, 0.5);
  transition: all 0.3s ease !important;
}

/* Footer styling */
#copyright {
  padding: 40px 0;
  background: #1A1F2E;
  color: #ffffff;
}

#copyright ul {
  margin: 0;
  padding: 0;
}

#copyright ul li {
  display: inline-block;
  margin: 0 15px;
}

#copyright ul li a {
  color: #6FCF97;
  text-decoration: none;
  transition: color 0.3s ease;
}

#copyright ul li a:hover {
  color: #ffffff;
}

#copyright p {
  margin: 10px 0 0 0;
  color: #ffffff;
}

.navbar-nav .btn:hover {
  background-color: #1A1F2E !important;
  border-color: #1A1F2E !important;
  color: #ffffff !important;
}

/* CTA sections styling */
#about p, #contact-cta p {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

#about .btn, #contact-cta .btn {
  font-size: 20px !important;
  padding: 15px 30px !important;
}

/* Utility brand classes */
.brand-text { color: #6FCF97 !important; }
.bg-brand { background-color: #6FCF97 !important; }
.bg-navy { background-color: #1A1F2E !important; }

/* Navigator section spacing */
#navigator img.img-responsive {
  margin-bottom: 50px;
}

/* Navigator section styling */
#navigator {
  background: #f8f9fa !important;
  padding: 60px 0 !important;
}

#navigator h2 {
  color: #1A1F2E !important;
  margin-bottom: 20px !important;
}

#navigator .col-md-12 p {
  color: #4a5568 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  margin-bottom: 40px !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Navigator phase cards styling */
.phase-wrapper {
  background: #1A1F2E;
  border: 1px solid rgba(111, 207, 151, 0.2);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.phase-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.phase-icon {
  background: #6FCF97;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phase-text {
  flex: 1;
}

.phase-wrapper h4 {
  color: #6FCF97;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.phase-wrapper p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
