/* ===== GLOBAL CLEANUP ===== */

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

@media (max-width: 768px){
  section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.9em; /* Scales down the base font size */
  }
}

/* BASE */
body {
    background-color: #f4f4f4;
    font-family: 'DM Sans', sans-serif;
    padding-top: 75px;
}

html, body {
  overflow-x: hidden;
}


/* NAVBAR */
.nav-custom {
    color: #2e1a47 !important;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 1px; /* spacing */
}

.nav-custom:hover {
    color: crimson !important;
}

.navbar-toggler {
  border: 1px solid white !important;
}

.lang-switch a {
  text-decoration: none;
  color: #2e1a47;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.lang-switch a.active-lang {
  color: crimson !important;
  font-weight: 700;
}

.navbar .nav-custom {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.navbar .nav-custom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: crimson;
  transition: width 0.3s ease;
}

.navbar .nav-custom:hover::after,
.navbar .nav-custom.active::after {
  width: 60%;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

@media (max-width: 768px){
  .navbar-brand img {
    height: 40px;
  }
}

/* HERO SECTION */
.hero-section {
    width: 100%;
    height: 730px;
    background: url('../images/hero-banner1.jpeg') center/cover no-repeat;
    position: relative;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    #f4f4f6 100%
  );
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: left;
}


/* HERO TEXT */
.hero-title span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: white;
    background: rgba(220, 20, 60, 0.9);
    padding: 10px 25px;
    display: inline-block;
}

.hero-subtitle span {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background: rgba(46, 26, 71, 0.9);
    padding: 8px 20px;
    display: inline-block;
    margin-top: 15px;
}


/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* MOBILE */
@media (max-width: 768px) {

    .hero-title span {
        font-size: 40px;
    }

    .hero-subtitle span {
        font-size: 20px;
    }

   .hero-section .container {
     text-align: center;
    }

}

.company-intro {
  background: #f4f4f6; /* light grey body */
  padding: 80px 0;
}

.intro-wrapper {
  display: flex;
  align-items: center;
  gap: 45px;
}

/* IMAGE */
.intro-image img {
  height: 500px;
  width: auto;
  object-fit: cover;
  border-radius: 0px;
}

/* CONTENT */
.intro-content {
  max-width: 680px;
  text-align: left;
  padding-left: 80px;  
}

/* TITLE */
.intro-title span {
  background: crimson;
  color: white;
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  display: inline-block;
}

/* TEXT */
.intro-text {
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #2e1a47;
  line-height: 1.7;
}

/* BUTTON */
.learn-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 28px;

  background: #6b6b8f; /* greyish purple */
  color: white;

  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;

  text-decoration: none;
  border-radius: 0px;
  border: 1px solid #000000;

  transition: 0.3s;
}

.learn-btn:hover {
  background: #58587a;
}

.image-shadow {
  position: relative;
  display: inline-block;
}

.image-shadow::before {
  content: "";
  position: absolute;

  top: 33px;     /* move down */
  left: 33px;    /* move right */

  width: 100%;
  height: 100%;

  background: rgba(220, 20, 60, 0.18); /* light crimson */
  z-index: 0;
}

.image-shadow img {
  height: 450px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}

@media (max-width: 430px){

  .intro-title span {
    font-size: 30px;
    padding: 8px 14px;
  }
  

  .image-shadow img {
    width: 60%;
  }

}

@media (max-width: 992px) {

  .intro-title span{
    font-size: 35px;
  }

  .intro-wrapper {
    flex-direction: column;
    align-items: center;   /* IMPORTANT */
    text-align: center;
    gap: 30px;
  }

  .intro-content {
    text-align: center;
    padding-left: 0;
  }

  .intro-image {
    text-align: center;
  }

  /* REMOVE SHADOW */
  .image-shadow::before {
    display: none;
  }

  /* IMAGE SIZE */
  .image-shadow {
    display: block;
    text-align: center;
  }

.image-shadow img {
  width: 70%;
  height: auto;
  margin: 0 auto;
}

}

/* SECTION BASE */
.services-preview {
  position: relative;
  overflow: hidden;

  background: #ffffff;   

  padding: 60px 0;
  text-align: center;
}

.services-preview::before,
.services-preview::after {
  content: "";
  position: absolute;
  z-index: 0;
}

/* TOP RIGHT CRIMSON BAR */
.services-preview::before {
  height: 3px;
  width: 100%;

  background: crimson;

  top: 0px;
  right: 0;
}

/* BOTTOM LEFT PURPLE BAR */
.services-preview::after {
  height: 3px;
  width: 100%;

  background: #2e1a47;

  bottom: 0px;
  left: 0;
}

/* TITLE */
.services-title span {
  background: #2e1a47; /* dark purple */
  color: white;
  padding: 10px 22px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 38px;

  display: inline-block;
}

/* SERVICES ROW */
.services-row {
  margin-top: 30px;
  margin-bottom: 10px;
}

/* CARD */
.service-card {
  position: relative;
  text-align: center;
  padding: 30px 20px;
  z-index: 1;
}

/* ICON */
.service-icon {
  font-size: 70px;
  color: #2e1a47;
  margin-bottom: 20px;
}

/* SERVICE NAME */
.service-name span {
  background: crimson;
  color: white;

  padding: 8px 18px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;

  display: inline-block;
}

/* DESCRIPTION */
.service-desc {
  margin-top: 20px;
  margin-bottom: 0px;

  font-family: 'Montserrat', sans-serif;
  color: #2e1a47;
  font-size: 16px;
  line-height: 1.6;
}

/* BUTTON */
.services-btn {
  display: inline-block;
  margin-top: 0px;
  padding: 14px 30px;

  background: #6b6b8f;
  color: white;

  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;

  text-decoration: none;

  border: 1px solid black;
  border-radius: 0;

  transition: 0.1s;
}

.services-btn-wrapper{
margin-top:-40px;
}

.services-btn:hover {
  background: #58587a;
}


/* SECTION */
/* SECTION BASE */
.stats-section {
  position: relative;
  overflow: hidden;

  background: #f4f4f6;   /* keep your base color */

  padding: 80px 0;
  text-align: center;
}

.stats-section::before,
.stats-section::after {
  content: "";
  position: absolute;
  z-index: 0;
}

/* BOTTOM LEFT PURPLE BAR */
.stats-section::after {
  height: 3px;
  width: 100%;

  background: #2e1a47;

  bottom: 0px;
  left: 0;
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

/* CARD LAYOUT */
.stat-card {
  background: white;
  padding: 40px 20px;

  border-top: 4px solid #58587a;

  border-radius: 0px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.06);

  transition: 0.3s;

}

/* HOVER */
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

/* TITLE */
.stats-title span {
  background: crimson;
  color: white;
  padding: 10px 22px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 38px;

  display: inline-block;
}

/* ROW */
.stats-row {
  margin-top: 60px;
}

/* NUMBER */
.stat-number {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #2e1a47; /* dark purple */
}

/* LABEL */
.stat-label {
  margin-top: 5px;

  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  color: #2e1a47;
}

@media (max-width: 768px) {

  .stats-title span {
    font-size: 35px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 17px;
  }
  .stats-row {
    margin-top: 30px;   /* smaller gap */
  }

  .stats-section {
    padding: 60px 0;
  }


}

/* SECTION */
.cta-section {
  position: relative;
  height: 250px;  /* between 250–300 */

  background: url('../images/cta bg.jpg') center/cover no-repeat;

  display: flex;
  align-items: center;
}

/* OVERLAY */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(107, 107, 143, 0.65); /* greyish purple overlay */

  z-index: 0;
}

/* CONTENT */
.cta-content {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TEXT SIDE */
.cta-text {
  max-width: 700px;
}

/* TITLE */
.cta-title span {
  background: crimson;
  color: white;

  padding: 10px 18px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 37px;

  display: inline-block;
}

/* TITLE */
.cta-title-bm span {
  background: crimson;
  color: white;

  padding: 10px 18px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;

  display: inline-block;
}

/* SUBTITLE */
.cta-subtitle span {
  background: #2e1a47; /* dark purple */
  color: white;

  padding: 8px 16px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 27px;

  display: inline-block;

  margin-top: 10px;
}

/* BUTTON */
.cta-btn {
  background: #f4f4f6;
  color: #2e1a47;

  margin-right: 45px;

  padding: 25px 70px;

  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;      

  text-decoration: none;
  border: 1px solid #2e1a47;

  display: inline-block;

  transition: 0.3s;
}

/* BUTTON */
.cta-btn-bm {
  background: #f4f4f6;
  color: #2e1a47;

  margin-right: 45px;

  padding: 25px 70px;

  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;      

  text-decoration: none;
  border: 1px solid #2e1a47;
  text-align: center;

  display: inline-block;

  transition: 0.3s;
}

.cta-btn:hover {
  background: white;;
  transform: translateY(-3px);
}

@media (max-width: 768px) {

  .cta-section {
    height: auto;
    padding: 60px 0;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-title span {
    font-size: 25px;
  }

  .cta-subtitle span {
    font-size: 19px;
  }

  .cta-btn {
    margin-right: 0px;
    padding: 18px 40px;
    font-size: 16px;
  }

}

/* FOOTER BASE */
.footer {
  background: #2e1a47;   /* dark purple */
  color: white;
  padding: 55px 0 0;
}

/* COLUMN SPACING */
.footer-col {
  margin-bottom: 30px;
}

/* TITLES */
.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;

  margin-bottom: 15px;
}

/* TEXT */
.footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #ddd;
  max-width: 350px;
}

/* LINKS */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;

  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* BOTTOM BAR */
.footer-bottom {
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;

  background: #241338;

  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}

@media (max-width: 768px) {

  .footer {
    text-align: center;
  }

  .footer-text {
    margin-left: auto;
    margin-right: auto;
  }


}

/* HERO SECTION */
.about-hero {
  position: relative;
  height: 400px;

  background: url('../images/banner6.jpg') center/cover no-repeat;

  display: flex;
  align-items: center;
}

/* OVERLAY */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(46, 26, 71, 0.55); /* dark overlay */

  z-index: 0;
}

/* CONTENT */
.about-hero-content {
  position: relative;
  z-index: 2;
}

/* TITLE */
.about-title span {
  background: crimson;
  color: white;

  padding: 10px 18px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 38px;

  display: inline-block;
}

/* SUBTITLE */
.about-subtitle span {
  background: #2e1a47;
  color: white;

  padding: 8px 16px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;

  display: inline-block;

  margin-top: 10px;
}

@media (max-width: 768px) {

  .about-hero {
    height: 300px;
    text-align: center;
  }

  .about-title span {
    font-size: 28px;
  }

  .about-subtitle span {
    font-size: 16px;
  }

}

/* SECTION */
.company-overview {
  background: #f4f4f6;
  padding: 80px 0;
}

/* IMAGE WRAPPER */
.image-offset {
  position: relative;
  display: inline-block;
}

/* IMAGE */
.image-offset img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* TOP RIGHT PURPLE OFFSET */
.offset-purple {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #2e1a47;

  top: -25px;
  right: -25px;

  z-index: 0;
}

/* BOTTOM LEFT GREYISH PURPLE */
.offset-grey {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #6b6b8f;

  bottom: -25px;
  left: -25px;

  z-index: 1;
}

/* CONTENT */
.overview-content {
  padding-left: 10px;
}

/* MINI TITLE */
.overview-mini {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: #2e1a47;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* MAIN TITLE */
.overview-title span {
  background: #2e1a47;
  color: white;

  padding: 10px 18px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;

  display: inline-block;
}

/* TEXT */
.overview-text {
  margin-top: 20px;

  font-family: 'Montserrat', sans-serif;
  color: #2e1a47;
  line-height: 1.7;
  font-size: 18px;
  max-width: 510px; 
}

@media (max-width: 992px) {

  .overview-wrapper {
    flex-direction: column;
  }

  .overview-content {
    margin-top: 37px;
    text-align: left;
  }

  .image-offset {
    display: flex;
    justify-content: left;
  }

  .image-offset img,
  .offset-purple,
  .offset-grey {
    width: 80%;
  }

  .offset-purple {
    top: -25px;
    left: 30px;
    right: auto;
  }

}

/* ===== IMAGE FIX ===== */

@media (max-width: 768px){

  .image-offset,
  .vision-offset {
    display: block;
    text-align: center;
  }

  .image-offset img,
  .vision-offset img {
    width: 100%;
    max-width: 100%;
  }

  .offset-purple,
  .offset-grey,
  .offset-crimson,
  .offset-light{
    display: none !important;
  }

}


.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* SECTION */
.vision-section {
  background: #f4f4f6;
  padding: 80px 0;
}

/* WRAPPER */
.vision-wrapper {
  flex-direction: row;
}

/* IMAGE WRAPPER */
.vision-offset {
  position: relative;
  display: inline-block;
}

/* IMAGE */
.vision-offset img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* MAIN CRIMSON OFFSET */
.offset-crimson {
  position: absolute;
  width: 100%;
  height: 100%;
  background: crimson;

  top: -25px;
  left: -25px;

  z-index: 0;
}

/* LIGHT CRIMSON OFFSET */
.offset-light {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(220, 20, 60, 0.25);

  bottom: -25px;
  right: -25px;

  z-index: 1;
}

/* CONTENT */
.vision-content {
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TITLE */
.vision-title span {
  background: crimson;
  color: white;

  padding: 10px 18px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;

  display: inline-block;
}

/* TEXT */
.vision-text {
  margin-top: 10px;

  font-family: 'Montserrat', sans-serif;
  color: #8b0000;   /* dark red */

  line-height: 1.7;
  font-size: 18px;
  max-width: 480px;
}

@media (max-width: 992px) {

  .vision-wrapper {
    flex-direction: column-reverse;
  }

  .vision-content {
    margin-top: 30px;
    text-align: left;
  }

  .vision-offset img,
  .offset-crimson,
  .offset-light {
    width: 80%;
  }

  .vision-offset .offset-light {
    bottom: -25px;
    left: 33px;
    right: auto;
  }

}

@media (max-width: 768px){

  .offset-purple,
  .offset-grey,
  .offset-crimson,
  .offset-light{
    display:none;
  }

}

@media (max-width: 992px){

  .image-offset img,
  .vision-offset img {
    width: 90%;
    max-width: 480px;
    margin: 0 auto;
  }

}



.cert-btn,
.assets-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;

  width: 40%;          /* desktop size */
  height: auto;        /* FIX: remove 75% */

  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;

  text-decoration: none;
  text-align: center;

  border: 1px solid #000;
  border-radius: 0;

  transition: 0.3s;

  white-space: normal;
  overflow-wrap: break-word;
}

.cert-btn {
  background: #b85c6b;
}

.cert-btn:hover {
  background: #a24e5c;
}

.assets-btn {
  background: #6b6b8f;
}

.assets-btn:hover {
  background: #58587a;
}

/* MOBILE */
@media (max-width: 768px){
  .cert-btn,
  .assets-btn {
    width: 100%;
  }
}
@media (max-width: 430px){

  .cert-btn,
  .assets-btn {
    width: 80%;        /* give more space */
    font-size: 14px;   /* slightly smaller text */
  }

}


.partners-section{
background:#ffffff;
padding:80px 0;
}

/* TITLE */

.partners-title span{
background:crimson;
color:white;
padding:10px 22px;

font-family:'Montserrat',sans-serif;
font-weight:700;
font-size:34px;

display:inline-block;
}

/* SLIDER */

.partners-slider-wrapper{
display:flex;
align-items:center;
margin-top:50px;
}

/* VIEWPORT */

.partners-viewport{
overflow:hidden;
width:100%;
}

/* TRACK */

.partners-track{
display:flex;
transition:transform 0.4s ease;
will-change: transform;
}

/* LOGO */

.partner-logo{
flex:0 0 20%;
padding:20px;
text-align:center;
display:flex;
align-items:center;
justify-content:center;
}

.partner-logo img{
max-width:120px;
width:100%;
transition:0.3s;
}


.large-logo img{
transform: scale(1.25);
}

.partner-logo img:hover{
transform:scale(1.05);
}

/* ARROWS */

.partner-arrow{
background:#ffffff;
border:none;
font-size:24px;
padding:10px 15px;
cursor:pointer;
}

.partner-arrow:hover{
color:crimson;
}

@media (max-width:768px){

.partner-logo{
flex:0 0 50%;  /* 2 logos per row */
}

}


/*SERVICES PAGE*/
.services-hero {
  background: url("../images/banner5.jpg") center/cover no-repeat;
}

/* SECTION BASE */
.services-intro {
  background: #f4f4f6;
  height: 350px;

  display: flex;
  align-items: center;
  text-align: center;
}

/* WRAPPER */
.services-intro-content {
  max-width: 830px;
  margin: 0 auto;
}

/* TITLE */
.services-intro-title span {
  background: #2e1a47;   /* dark purple */
  color: white;

  padding: 10px 22px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 32px;

  display: inline-block;
}

/* TEXT */
.services-intro-text {
  margin-top: 45px;

  font-family: 'Montserrat', sans-serif;
  color: #2e1a47;

  line-height: 1.7;
  font-size: 18px;
}

/* SECTION */
.service-highlight {
  background: #f4f4f6;
  padding: 40px 0;
}

/* WRAPPER */
/* WRAPPER */
.service-card-wrapper {
  display: flex;
  align-items: stretch;
  text-decoration: none;

  width: 70%;               /* ⭐ overall smaller */
  margin: 0 auto;           /* center the card */

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

/* IMAGE SIDE */
.service-image {
  flex: 0 0 45%;            /* 45% width */
}

.service-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
}

/* TEXT CARD SIDE */
.service-text-card {
  flex: 0 0 55%;            /* slightly wider */
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 30px;

  text-align: center;  

  transition: 0.3s ease;
}

/* FLOATING EFFECT */
.service-card-wrapper:hover {
  transform: translateY(-8px);

  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Base colors */
.service-crimson {
  background: #b85c6b;
}

.service-grey {
  background: #6b6b8f;
}

/* Hover colors */
.service-card-wrapper:hover .service-crimson {
  background: #a24e5c;
}

.service-card-wrapper:hover .service-grey {
  background: #4f4f73;
}

@media (max-width: 992px) {

  .service-card-wrapper {
    flex-direction: column;
    width: 90%;
  }

  .service-text-card {
    padding: 35px 20px;   /* taller crimson block */
    font-size: 18px;
  }

  .service-image img {
    aspect-ratio: auto;     /* remove fixed ratio */
    height: 220px;          /* control height manually */
    object-fit: cover;      /* keep it cropped nicely */
  }

  .service-image,
  .service-text-card {
    flex: 100%;
  }
/* Reverse order */
  .service-reverse {
    flex-direction: column-reverse;
  }

}

/* SECTION */
.cta-services {
  position: relative;
  background: url("../images/cta bg.jpg") center/cover no-repeat;
  height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  overflow: hidden;
}

/* Overlay */
.cta-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(107, 107, 143, 0.75); /* grey purple overlay */
  z-index: 0;
}

/* CONTENT */
.cta-services-content {
  position: relative;
  z-index: 1;
}

/* FIRST TEXT */
.cta-main span {
  background: #2e1a47;  /* dark purple */
  color: white;

  padding: 10px 22px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;

  display: inline-block;
}

/* SECOND TEXT */
.cta-highlight {
  margin-top: 12px;
}

.cta-highlight span {
  background: crimson;
  color: white;

  padding: 10px 30px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 36px;   /* slightly bigger */

  display: inline-block;
}

/* BUTTON */
.cta-services-btn {
  display: inline-block;
  margin-top: 25px;

  padding: 12px 28px;
  background: #f4f4f6;  /* light grey */
  color: #2e1a47;
  height: 20%;

  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid #2e1a47;

  text-decoration: none;
  transition: 0.3s ease;
}

.cta-services-btn:hover {
  background: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {

  .cta-services {
    height: 250px;
  }

  .cta-main span {
    font-size: 20px;
  }

  .cta-highlight span {
    font-size: 28px;
  }

  .cta-services-btn {
    font-size: 14px;
  }

}

/*CAREERS PAGE*/
.careers-bg {
  background: url("../images/about banner.jpg") center/cover no-repeat;
}

/* SECTION */
.why-join {
  background: #f4f4f6;
  padding: 70px 0;
  text-align: center;
  height: 350px;
}

/* WRAPPER */
.why-join-content {
  max-width: 750px;
  margin: 0 auto;
}

/* TITLE */
.why-title span {
  background: crimson;
  color: white;

  padding: 10px 22px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;

  display: inline-block;
}

/* TEXT */
.why-text {
  margin-top: 45px;

  font-family: 'Montserrat', sans-serif;
  color: #8b0000;   /* dark red */
  font-size: 18px;
  line-height: 1.8;
}

/* SECTION */
.career-form-section {
  background: #ffffff;
  padding: 80px 0;
}

/* WRAPPER */
.career-form-wrapper {
  max-width: 820px;
  margin: auto;
}

/* TITLE */
.career-form-title span {
  background: #2e1a47;
  color: white;

  padding: 10px 22px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;

  display: inline-block;
}

/* INTRO TEXT */
.career-form-intro {
  margin-top: 20px;
  margin-bottom: 35px;

  font-family: 'Montserrat', sans-serif;
  color: #2e1a47;
  line-height: 1.7;
}

/* LABELS */
.career-form label {
  font-family: 'Montserrat', sans-serif;
  color: #2e1a47;
  font-weight: 600;

  margin-top: 18px;
}

/* INPUTS */
.career-form .form-control {
  border-radius: 0;
  border: 1px solid #ccc;
  padding: 10px;

  font-family: 'Montserrat', sans-serif;
}

/* BUTTON */
.career-submit-btn {
  margin-top: 70px;

  background: #6b6b8f;
  color: white;

  padding: 12px 32px;

  border: 1px solid black;
  border-radius: 0;

  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;

  transition: 0.3s ease;
}

.career-submit-btn:hover {
  background: #58587a;
}

.application-success-card{
  display:none;

  margin-top:40px;
  padding:40px;

  background:white;
  border-radius:8px;

  text-align:center;

  box-shadow:0 12px 30px rgba(0,0,0,0.08);

  animation:successFade 0.6s ease;
}

.success-icon{
  font-size:50px;
  color:crimson;
  margin-bottom:10px;
}

.application-success-card h3{
  font-family:'Montserrat',sans-serif;
  color:#2e1a47;
  font-weight:700;
}

.application-success-card p{
  font-family:'Montserrat',sans-serif;
  color:#444;
}

@keyframes successFade{

from{
opacity:0;
transform:translateY(20px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* SECTION */
.career-email-cta{
  position:relative;
  background:url("../images/cta bg.jpg") center/cover no-repeat;
  height:260px;

  display:flex;
  align-items:center;
  justify-content:center;

  text-align:center;
  overflow:hidden;
}

/* overlay */
.career-email-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(184, 92, 107, 0.65);
}

/* content */
.email-cta-content{
  position:relative;
  z-index:2;
}

/* first text */
.email-cta-text{
  color:white;

  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size: 30px;
  letter-spacing:1px;

  margin-bottom:12px;
}

/* email highlight */
.email-cta-email span{
  background:#2e1a47;
  color:white;

  padding:10px 24px;

  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:34px;
  
  overflow-wrap: break-word;
  word-break: break-all; /* fallback */
  text-align: center;

  display:inline-block;
}

@media (max-width: 768px) {

  .why-title span {
    font-size: 26px;
  }

  .why-text {
    font-size: 16px;
  }

  .career-email-cta{
    height:220px;
  }

  .email-cta-text{
    font-size:14px;
  }

  .email-cta-email span{
    font-size:20px;
  }

}

.service-road-bg{
background:url("../images/banner5.jpg") center/cover no-repeat;
}

.service-gallery{
background:#f4f4f6;
padding:80px 0 40px 0;
}

.service-images-row{
justify-content:center;
}


.service-img{
width:100%;
height:260px;
object-fit:cover;
}

.service-description{
background: #f4f4f4;
padding:40px 0 80px 0;
}

.service-title span{
background:#2e1a47;
color:white;
padding:10px 20px;
font-family:'Montserrat',sans-serif;
font-weight:700;
font-size:34px;
display:inline-block;
}

.service-text{
margin-top:25px;
font-family:'Montserrat',sans-serif;
font-size: 18px;
color:#2e1a47;
line-height:1.8;
max-width:1030px;
}

.services-btn{
display:inline-block;
margin-top:75px;
}

/* TITLE (Crimson) */
.service-title-maintenance span{
background:crimson;
color:white;

padding:10px 20px;

font-family:'Montserrat',sans-serif;
font-weight:700;
font-size:34px;

display:inline-block;
}

/* TEXT (Dark Crimson) */
.service-text-maintenance{
margin-top:25px;

font-family:'Montserrat',sans-serif;
font-size:18px;

color:#8b0000; /* dark crimson */

line-height:1.8;
max-width:1030px;
}

/* BUTTON (Light Crimson) */
.service-btn-maintenance{
display:inline-block;
margin-top:75px;
padding:14px 30px;

background:#b85c6b; /* light crimson */
color:white;

font-family:'DM Sans',sans-serif;
font-weight:700;
letter-spacing:1px;

text-decoration:none;

border:1px solid #8b0000;
border-radius:0;

transition:0.2s;
}

.service-btn-maintenance:hover{
background:#a24e5c;
}

/*CONTACT PAGE*/
.contact-hero{
background: url("../images/banner4.jpg") center/cover no-repeat;
}

.contact-info-section{
background:#f4f4f6;
padding:80px 0;
}

/* MAP */
.contact-map iframe{
width:100%;
border-radius:0;
}


/* EACH BLOCK */
.contact-item{
margin-bottom:40px;
}

/* LABEL */
.contact-label span{
background:#2e1a47;
color:white;
padding:10px 18px;

font-family:'Montserrat', sans-serif;
font-weight:700;
font-size:20px;

display:inline-block;
}

.contact-label i{
margin-right:8px;
}

/* TEXT */
.contact-text{
margin-top:15px;

font-family:'DM Sans', sans-serif;
color:#2e1a47;
line-height:1.7;
font-size:17px;
}

.contact-map iframe{
width:100%;
height:300px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.contact-section-title{
margin-bottom:70px;
}

.contact-section-title span{
background:crimson;
color:white;
padding:10px 20px;

font-family:'Montserrat',sans-serif;
font-weight:700;
font-size:32px;
}

/* ===== CONTACT FIX ===== */

.contact-details {
  padding-left: 0;
  margin-top: 30px;
}

@media (min-width: 992px){

  .contact-details{
    padding-left: 60px;
    margin-top: 0;
  }

  .contact-map iframe{
    height: 420px;
  }

}

.contact-map iframe{
height:320px;
}

}
