@import url('https://fonts.cdnfonts.com/css/euclid-circular-a');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
body {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.gcpsblue {
  color: #2D2F4D;
}

.mt-6 {
  margin-top: 6rem;
}
.project-text { align-self: flex-start; }


.rounded {border-radius: 12px!important}

/* HERO STYLES */
.hero-section {
  background: url('../img/colourtop.jpg') top center / cover no-repeat;
  height: 60vh;
  position: relative;
  overflow: hidden;
  
}

.hero-section .overlay {
	display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.hero-section .container {
  z-index: 2;
  position: relative;
}

.container {max-width: 1200px}

.hero-section h1 {
 
  font-size: 2.7rem !important;
  font-weight: 300 !important;
  line-height: 3.3rem;
  display: block;
  white-space: pre-wrap;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

.hero-heading {
  display: block;
  white-space: normal;
  word-break: normal;
}

.word-wrap {
  display: inline-block;
  white-space: nowrap; /* keep word letters together */
}

.letter-animate {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
  animation: letterFadeIn 0.3s ease forwards;
}

@keyframes letterFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-intro-text .lead-heading {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Services Section Styling */


.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.about-section h1 {font-size: 1.4rem}

.services-section h3, .project-text h3, .team h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
    line-height: 1.3rem
}

.team h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
    line-height: 1.3rem;
    margin-top: -0.5rem
}

.team p {margin-bottom: 1rem!important}

.services-section p,  .project-text p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.service-link {
  position: relative;
  color: #F52C45;
  font-weight: 500;
    font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 2px;
}

/* Underline always visible on load */
.service-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background-color: #F52C45;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Animate it away on hover */
.service-link:hover::after {
  transform: scaleX(0);
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-section .col-md-4 {
  opacity: 0;
  animation: slideFadeUp 0.8s ease-out forwards;
}

.services-section .col-md-4:nth-child(1) {
  animation-delay: 0.5s;
}

.services-section .col-md-4:nth-child(2) {
  animation-delay: 0.9s;
}

.services-section .col-md-4:nth-child(3) {
  animation-delay: 1.3s;
}

.stats-section {
  background-color: #ECF0F6;
}

.stats-section h2 {
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #00162C;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 500;
  color: #00162C;
}

.stat-label {
  
  font-size: 0.9rem;
  font-weight: 500;
  color: #00162C;
  text-transform: uppercase;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .border-md-start {
    border-left: 1px solid #ccc;
  }
}

.contact-cta-section {
  background-color: #fff;
}

.contact-cta-card {
  background-color: #04142d;
  border-radius: 16px;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.contact-cta-card h2 {
  font-size: 2rem;
  font-weight: 400;
}

.contact-cta-card p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #e0e0e0;
}

.project-card .project-img,
.project-card .project-text {
  flex: 1 1 50% !important;
  min-width: 0;
}


.projects-heading {
  font-size: 1rem;
  font-weight: 500;
  color: #0d1b3e;
  background-color: #fff;
  display: inline-block;
  position: relative;
  z-index: 2;
  padding-right: 1rem;
}

.projects-underline {
  border: none;
  border-top: 1px solid #0d1b3e;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: 1;
  margin: 0;
}

.section-title {
  font-weight: 500;
  font-size: 1.2rem;
  border-bottom: 1px solid #0d1b3e;
  padding-bottom: 0.5rem;
  max-width: max-content;
}

.project-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  flex-direction: column;
  background-color: #ECF0F6;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
}

.project-card.in-view {
  animation: slideFadeUp 0.8s ease-out forwards;
}

.project-card.project-delay-1.in-view {
  animation-delay: 0.3s;
}

.project-card.project-delay-2.in-view {
  animation-delay: 0.9s;
}


footer .footer-menu a,
footer .footer-menu a:visited {
  color: #fff!important;
  text-decoration: none!important;
}

footer .footer-menu a:hover,
footer .footer-menu a:focus {
   color: #fff!important;
  text-decoration: none!important;
}



footer p {font-size: 0.9rem; margin-bottom: 5px}

@media (min-width: 992px) {
  .project-card {
    flex-direction: row;
  }

  .project-img {
    width: 20%;
    flex-shrink: 0;
  }

  .project-text {
    width: 60%;
  }
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.project-link {
  font-weight: 500;
  color: #0d1b3e;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
    font-size: 0.9rem;
}

.project-arrow {
  display: inline-block;
  background-color: white;
  color: #c8102e;
  border-radius: 50px;
  padding: 0.25rem 0.6rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.project-link:hover .project-arrow {
  transform: translateX(4px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-logo {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-logo.in-view {
  opacity: 1;
  transform: translateY(0);
}


.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }
.delay-7 { animation-delay: 1.4s; }
.delay-8 { animation-delay: 1.6s; }
.delay-9 { animation-delay: 1.8s; }
.delay-10 { animation-delay: 2s; }

/* Align logos left inside grid */
.client-logos-section .row {
  justify-content: start !important;
  row-gap: 2rem;
}

.client-logos-section img {
  width: 90%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: auto;
}

/* === Custom Primary Button === */
.btn.custom-btn {
  background-color: #e03a3e;
    border: 1px #e03a3e solid;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.8rem;
  border: 0px solid black;
  border-radius: 0px;
  padding: 0.3rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: background-color 0.3s ease, transform 0.1s ease;
   
}

.btn.custom-btn .btn-text {
  color: white;
}

.btn.custom-btn .btn-icon {
  background-color: white;
  border-radius: 40px;
  padding: 0.2rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.btn.custom-btn .btn-icon i,
.btn.custom-btn .arrow-icon {
  color: #000;
  font-size: 1rem;
}

.btn.custom-btn:hover {
  background-color: #c73236;
}

.btn.custom-btn:hover .btn-icon {
  transform: translateX(5px);
}

.btn.custom-btn:active {
  background-color: #a8282b;
  transform: scale(0.97);
}

.btn.custom-btn:active .btn-icon {
  transform: translateX(1px) scale(0.95);
}

.navbar-nav {
  text-transform: uppercase;
}

/* Dropdown container */
.dropdown-menu {
  margin: 0;
  padding: 0; /* remove default ul padding */
  border-radius: 0;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 220px; /* optional - keeps consistent width */
}

/* Dropdown items */
.dropdown-item {
  padding: 0.5rem 0.75rem; /* reduced left padding */
  font-size: 0.9rem;
  color: #2F2F2C;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover state */
.dropdown-item:hover,
.dropdown-item:focus {
  background: #ECF0F6;
  color: #2F2F2C;
}

/* Optional: make items span full width of the menu */
.dropdown-item::after {
  display: none; /* disables any arrow indicators */
}

.navbar-nav .nav-link, .dropdown-item {
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 0.8rem;
  color: #020e22;
}

.navbar-nav .nav-link:hover {
  color: #F52C45;
}

.navbar-nav li:not(.dropdown-menu li) {
  margin-left: 25px;
}

.navbar-brand img {
  height: 55px;
}

/* Custom hamburger button */
.custom-toggler {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  outline: none;
}

.toggler-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #1D1E4C;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Transform animation to X */
.custom-toggler.collapsed .bar1 {
  transform: rotate(0) translate(0, 0);
}

.custom-toggler:not(.collapsed) .bar1 {
  transform: rotate(45deg) translate(6px, 6px);
}

.custom-toggler.collapsed .bar2 {
  opacity: 1;
}

.custom-toggler:not(.collapsed) .bar2 {
  opacity: 0;
}

.custom-toggler.collapsed .bar3 {
  transform: rotate(0) translate(0, 0);
}

.custom-toggler:not(.collapsed) .bar3 {
  transform: rotate(-45deg) translate(5px, -5px);
}



/*services pages */


.capacity-text li {margin-top: 14px}
.capacity-text li strong {color: #454D65; font-weight: 500}
.capacity-text ul {margin-bottom: 55px}
.capacity-text strong {font-weight: 600; letter-spacing: 0.2px}

.capacity-heading {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.capacity-image img {
  width: 100%;
  height: auto;
    max-height: 45vh;
    
  object-fit: cover;
}

.capacity-text p {
  font-size: 1rem;
  line-height: 1.4;
 
}

.review-section .service-link {margin-left: 20px}
.capacity-text h3 {font-size: 1.3rem; line-height: 1.6em; font-weight: 500}


/* projects */

.blog-card {
  background-color: #ECF0F6;
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #1D1E4C;
}

.blog-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0d1b3e;
    line-height: 1.3rem
}

.blog-text {
  font-size: 0.9rem;
  color: #333;
  flex-grow: 1;
}

.project-link {
  font-weight: 500;
  color: #0d1b3e;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.project-arrow {
  display: inline-block;
  background-color: white;
  color: #c8102e;
  border-radius: 50px;
  padding: 0.25rem 0.6rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.project-link:hover .project-arrow {
  transform: translateX(4px);
}



@media (min-width: 767.98px) {
    
    
  .mt-md-6 {
    margin-top: 6rem;
  }
    
    .navbar-nav .nav-link {
    position: relative;
  }

  .navbar-nav .nav-link span {
    position: relative;
    display: inline-block;
  }

  .navbar-nav .nav-link span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: #F52C45;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .navbar-nav .nav-link:hover span::after {
    transform: scaleX(1);
  }
}


@media (max-width: 1200px) {
    
    .container {max-width: 92%}



}

@media (max-width: 767.98px) {
    

/* Default state for top-level nav links */
.navbar-nav .nav-link {
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
  border: none !important;
}

/* Hover state */
.navbar-nav .nav-link:hover {
  background: #fff !important;
  color: #020e22 !important;
  text-decoration: none !important;
  border: none !important;
}

/* Dropdown open (top-level item active) */
.navbar-nav .nav-item.show > .nav-link,
.navbar-nav .nav-link.dropdown-toggle.show {
  background: red !important;
  color: #000 !important;
  border: none !important;
}

/* Reset after closing dropdown */
.navbar-nav .nav-item:not(.show) > .nav-link {
  background: transparent !important;
  color: #fff !important;
}

/* Dropdown items */
.navbar-nav .dropdown-menu .dropdown-item {
  color: #fff !important;
  background: #020e22 !important;
  border: none !important;
}

/* Dropdown item hover */
.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
  color: #020e22 !important;
  background: #fff !important;
}

/* Remove underline or border on active nav links */
.navbar-nav .nav-item.active > .nav-link,
.navbar-nav .nav-item > .nav-link.active {
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

    
    .service-card h3, .project-text h3, .team h3 {font-size: 1.1rem; line-height: 1.65rem}
    
    
    .navbar-brand img {
  height: 65px;
}
    .hero-section {margin-top: 0px}
    .hero-section h1 {
        margin-top: 0px!important;}
    
  .navbar .container,
  .navbar .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  /* Smooth and natural collapse transition override */
  .navbar-collapse {
    transition: height 0.35s ease;
    will-change: height;
  }

  .collapsing {
    transition: height 0.35s ease;
    display: block !important;
    overflow: hidden !important;
  }

  .navbar-nav li:not(.dropdown-menu li){
    margin-left: 0px; 
  }
    .dropdown-menu {text-align: center}
    .navbar-nav .nav-link, .navbar-nav .dropdown-item {font-size: 1rem}
  .navbar-nav .nav-link {
    color: #fff;
  }

  .navbar-nav .nav-link:hover {
    background: #fff;
    color: #020e22;
  }

  .navbar-collapse {
    background: #020e22;
  }
}