html {
  scroll-padding-top: 4.5rem;
}

body {
  position: relative;
}

p {
  line-height: 1.75;
}

.page-section {
  padding: 6rem 0;
}
.page-section h2.section-heading, .page-section .section-heading.h2 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.page-section h3.section-subheading, .page-section .section-subheading.h3 {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  section {
   
  }
}
.btn-xl {
  padding: 1.25rem 2.5rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.125rem;
  font-weight: 700;
}

.btn-social {
  height: 2.5rem;
  width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 100%;
}

  #mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: none;
    background-color: transparent;

    transition: background-color 300ms ease,
                padding-top 300ms ease-in-out,
                padding-bottom 300ms ease-in-out;
  }

#mainNav .navbar-toggler {
  padding: 0.75rem;
  font-size: 0.75rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  text-transform: uppercase;
  font-weight: 700;
}
#mainNav .navbar-brand {
  color: #ffc800;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  letter-spacing: 0.0625em;
  text-transform: uppercase;

}


#mainNav .navbar-nav .nav-item .nav-link {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.0625em;
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #ffc800;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: none;
    background-color: transparent;
  transition: background-color 300ms ease,
              padding-top 300ms ease,
              padding-bottom 300ms ease;
  }
  #mainNav .navbar-brand {
    font-size: 1.5em;

  }
  #mainNav .navbar-brand img {
    height: 2.5rem;

  }
#mainNav.navbar-shrink {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #2125299e;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
  }
  #mainNav.navbar-shrink .navbar-brand svg,
  #mainNav.navbar-shrink .navbar-brand img {
    height: 2.5rem;
  }
  #mainNav .navbar-nav .nav-item {
    margin-right: 1rem;
  }
  #mainNav .navbar-nav .nav-item:last-child {
    margin-right: 0;
  }
}

/* NAV LINKS BASE */
#mainNav .navbar-nav .nav-link {
  color: rgba(255,255,255,0.8);
  position: relative;
  transition: color 0.3s ease;
}

/* HOVER EFFECT */
#mainNav .navbar-nav .nav-link:hover {
  color: #ffffff;
}

/* UNDERLINE ANIMATION */
#mainNav .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

#mainNav .navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* ACTIVE LINK */
#mainNav .navbar-nav .nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

#mainNav .navbar-nav .nav-link.active::after {
  width: 100%;
}


header.masthead.slider {
  position: relative;
  height: 100vh;              /* PINALIIT (from 100vh) */
  min-height: 520px;         /* para di sobrang liit sa desktop */
  overflow: hidden;
}

/* SLIDES WRAPPER */
header.masthead .slides {
  position: absolute;
  inset: 0;
}

/* SLIDE */
header.masthead .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* ACTIVE SLIDE */
header.masthead .slide.active {
  opacity: 1;
}

/* DOTS */
.slider-dots {
  position: absolute;
  bottom: 22px;              /* konting taas */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.slider-dots .dot {
  width: 9px;                /* bahagyang liit */
  height: 9px;
  margin: 0 4px;
  background: rgba(255,255,255,0.65);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #ffffff;
}

/* MOBILE */
@media (max-width: 768px) {
  header.masthead.slider {
    height: 55vh;            /* mas maliit sa mobile */
    min-height: 360px;
  }
}

#portfolio .row {
  align-items: stretch;
}
#portfolio .portfolio-item {
  display: flex;
  flex-direction: column;
  max-width: 20rem;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  scale: (1.2, 15deg);
}
#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  margin: 0 auto;


}


#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 200, 0, 0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity ease-in-out 0.25s;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 1.25rem;
  color: white;
  
}
#portfolio .portfolio-item .portfolio-link:hover .portfolio-hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-caption {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
#portfolio .portfolio-item .portfolio-caption .portfolio-caption-heading {
  font-size: 1rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  text-align: center;
  margin-bottom: 0;
}
#portfolio .portfolio-item .portfolio-caption .portfolio-caption-subheading {
  font-style: italic;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.portfolio-modal .modal-dialog {
  margin: auto;
  padding: 10px;
  max-width: 100vh;


}
.portfolio-modal img {
  max-height: auto;
  object-fit: cover;
}

.portfolio-modal .modal-content {
  /* padding-bottom: 6rem;
  text-align: center; */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.portfolio-modal .modal-content h2, .portfolio-modal .modal-content .h2 {
  font-size: 1rem;
  line-height: 3rem;
}
.portfolio-modal .modal-content p.item-intro {
  font-style: italic;
  margin-bottom: 2rem;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.portfolio-modal .modal-content p {
  margin-bottom: 2rem;
}
.portfolio-modal .modal-content ul.list-inline {
  margin-bottom: 2rem;
}
.portfolio-modal .modal-content img {
  margin-bottom: 2rem;
}
.portfolio-modal .close-modal {
  cursor: pointer;
  position: absolute;
  top: 1.5rem;
  right: -5rem;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
 
}
.portfolio-modal .close-modal:hover {
  opacity: 0.3;
  transform: skew(1.5);
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}
.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #e9ecef;
}
.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}
.timeline > li:after, .timeline > li:before {
  display: table;
  content: " ";
}
.timeline > li:after {
  clear: both;
}
.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}
.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #ffc800;
}
.timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}
.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li:last-child {
  margin-bottom: 0;
}
.timeline .timeline-heading h4, .timeline .timeline-heading .h4 {
  margin-top: 0;
  color: inherit;
}
.timeline .timeline-heading h4.subheading, .timeline .timeline-heading .subheading.h4 {
  text-transform: none;
}
.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}
@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}
@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}
.team-member {
  margin-bottom: 3rem;
  text-align: center;
}
.team-member img {
  width: 14rem;
  height: 14rem;
  border: 0.5rem solid rgba(0, 0, 0, 0.1);
}
.team-member h4, .team-member .h4 {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.img-brand {
  height: 2.75rem;
}



section#contact {
  background-color: #212529;
  background-image: url("../../images/map-image.png");
  background-repeat: no-repeat;
  background-position: center;
}
section#contact .section-heading {
  color: #fff;
}
section#contact form#contactForm .form-group {
  margin-bottom: 1.5rem;
}
section#contact form#contactForm .form-group input,
section#contact form#contactForm .form-group textarea {
  padding: 1.25rem;
}
section#contact form#contactForm .form-group input.form-control {
  height: auto;
}
section#contact form#contactForm .form-group-textarea {
  height: 100%;
}
section#contact form#contactForm .form-group-textarea textarea {
  height: 100%;
  min-height: 10rem;
}
section#contact form#contactForm p.help-block {
  margin: 0;
}
section#contact form#contactForm .form-control:focus {
  border-color: #ffc800;
  box-shadow: none;
}
section#contact form#contactForm ::-webkit-input-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
section#contact form#contactForm :-moz-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
section#contact form#contactForm ::-moz-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
section#contact form#contactForm :-ms-input-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}

.no-hover:hover {
  transform: none !important;
  transition: none !important;
}

.footer {
  text-align: center;
  font-size: 0.9rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.navbar-brand img {
  height: 2.5rem;
  transition: transform 0.5s ease, background-color 0.5s ease;
}

.navbar-brand > img:hover {
  transform: scale(1.1);
}
.modal-details-container {
  display: flex;
  flex-direction: column;
  border-top: gray 1px solid !important;
}

.modal-details-container > button {
  padding: 0.5rem;
  font-size: 1rem !important;
  background-color: black;
  color: white;
}

/* Shadow of Card */
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
               0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
                       0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-shadow);
    border-bottom-left-radius: 10px;  
  border-bottom-right-radius: 10px;
}


.hover-cs {
   transition: transform 0.5s ease;
}


.hover-cs:hover {
  scale: (1.2);
}

/* <!-- CSS for hover zoom effect --> */
.img-hover-zoom {
    overflow: hidden;
}
.img-hover-zoom img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
    height: auto;
}

.about-images {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}


/* Modal shell */
.portfolio-modal-content {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
box-shadow: -12px 15px 43px -1px rgba(0,0,0,0.75) !important;
-webkit-box-shadow: -12px 15px 43px -1px rgba(0,0,0,0.75);
-moz-box-shadow: -12px 15px 43px -1px rgba(0,0,0,0.75);
}
.portfolio-modal.show .modal-dialog {
  animation: modalPop 0.45s ease-out;
}

@keyframes modalPop {
  0% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.img-1 {
    width: 85%;
    transform: scale(1.1);
    transform-origin: center;
}

/* Close button */
.portfolio-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.portfolio-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.portfolio-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;  
  overflow: hidden;
}

.portfolio-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.portfolio-body {
  padding: 32px;
}

.portfolio-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.portfolio-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}

.portfolio-meta {
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
  font-size: 0.95rem;
  color: #333;
}


@media (max-width: 768px) {
  .portfolio-image-wrapper {
    height: 240px;
  }

  .portfolio-body {
    padding: 24px;
  }

  .portfolio-title {
    font-size: 1.4rem;
  }
}
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.09);
   --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
               0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
                       0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-shadow);
}


.who-image-wrapper {
    position: relative;
    padding-left: 40px;
}

.who-img {
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.img-1 {
    width: 80%;
    position: relative;
    z-index: 2;
}

.img-2 {
    width: 60%;
    position: absolute;
    bottom: -40px;
    left: -40px;
    z-index: 1;
}

.experience-box {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: #f7ff00;
    color: #000;
    padding: 20px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .img-2 {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .experience-box {
        position: relative;
        margin-top: 20px;
    }
}


    .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
    .fullwidth-images {
        width: 100%;
        margin-left: calc(-50vw + 50%);
    }

    .fullwidth-images .image-half {
        flex: 1;
        height: auto;
    }

    .fullwidth-images img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .none {
        display: none;
    }
    .parent{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
    }
    .fullwidth-images {
        flex-direction: column;
    }

    .fullwidth-images .image-half {
        height: auto;
    }
}

.clients-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background: #fff; /* para malinis kung may space */
}

.clients-image img {
    width: 100%;
    max-height: 700px;   /* 👉 bawasan mo dito kung gusto mo pa */
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}
.clients-image {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.services-grid {
    background: #000;
    padding: 80px 0;
}

.services-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 40px;
    text-align: center;
}

.service-item img {
    width: 70px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-item p {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.service-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* 🔥 HOVER EFFECT */
.service-item:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px #ffd500);
}

.service-item:hover {
    transform: translateY(-6px);
}

/* SPECIAL CTA */
.service-item.inquire p {
    color: #ffffff;
}

/* 📱 TABLET */
@media (max-width: 992px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 📱 MOBILE */
@media (max-width: 600px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .service-item img {
        width: 60px;
    }

    .service-item p {
        font-size: 13px;
    }
}

/* CSS TWEAKS */
#contact .card {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#contact .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
#contact i.fas.fa-building {
    color: #007bff;
}
.text-justify {
    text-align: justify;
}


.layout {
  display: flex;
  flex-direction: column;
  align-items: start;
}

/* Office cards redesign */
.office-cont {
  background-color: #ffc107;            /* yellow box */
  border-radius: 16px;                  /* rounded */
  color: #000;                          /* black text */
  font-weight: 700;                     /* bold */
  line-height: 1.4;
  position: relative;
}

/* Remove inherited hover scaling just in case */
.office-cont:hover {
  transform: none !important;
}

/* Map pin icon */
.office-cont .fa-map-marker-alt {
  color: #dc3545;                       /* red pin */
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

/* Optional: subtle depth without scaling */
.office-cont {
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

#fa-map-marker {
  color: rgb(237, 200, 48) !important;
}

/* Offices grid: fixed 2 columns on md+, 1 column on mobile */
#officesContainer{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Force columns to NEVER shrink to content */
#officesContainer > .col-12.col-md-6{
  flex: 0 0 calc(50% - 0.5rem) !important;
  max-width: calc(50% - 0.5rem) !important;
  min-width: calc(50% - 0.5rem) !important; /* important */
}

/* Ensure the card fills its column (prevents fit-content behavior) */
#officesContainer > .col-12.col-md-6 > .office-cont{
  width: 100% !important;
}

/* FORCE office card yellow */
#officesContainer .office-cont{
  background-color:#ffefbe !important;
  border-radius:16px;
  padding: 1.25rem 1.25rem 1.25rem 0.75rem;
  color:#000 !important;
  font-weight:350;
  line-height:1.4;
  box-shadow:0 6px 16px rgba(0,0,0,0.18);
  min-height:80px;
  display:flex;
  align-items:center;
  text-align: left;
}

#officesContainer .office-pin{
  flex: 0 0 44px;          /* narrower pin column */
  display: flex;
  align-items: center;    /* vertical center */
  justify-content: center;/* horizontal center */
  font-size: 1.8rem;
  color: #dc3545 !important;
}

/* Clamp ONLY the text */
#officesContainer .office-text{
  flex:1;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}

#officesContainer .office-row{
  display: flex;
  align-items: stretch;     /* makes children equal height */
  width: 100%;
}

#officesContainer .office-cont { background-color:#ffefbe !important; }
#officesContainer .office-pin{
  flex: 0 0 56px;           /* fixed column width */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;        /* BIG pin */
  color: #dc3545 !important;
}

/* Mobile: stack offices into ONE column */
@media (max-width: 767.98px){
  #officesContainer > .col-12.col-md-6{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }
}

.back-rounds {
  background-image: url("../../images/back-ground.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.back-round2 {
 background-image: url("../../images/yellow-bgbg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; 
  opacity: 0.25;
}

.image-half.left {
  width: 100%;
}


.partner-box {
  border-radius: 12px;
  padding: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;         
  overflow: hidden;    
   transition: transform 0.3s ease;
}

.partner-logo {
  max-width: 100%;
  max-height: 100px;         
  width: auto;
  height: auto;

}



.partner-box:hover {
  transform: translateY(-4px);
}


/* CEO STATEMENT */
.ceo-statement {
  padding: 3rem 2.5rem;
  color: #ffc800;
  flex-direction: column;
  justify-content: center;
}


.ceo-statement > h2 {
  font-size: 2rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 2px 2px rgb(169, 169, 169);
}

.ceo-sty {
  text-shadow: 2px 2px rgb(0, 0, 0) !important;
}


.ceo-statement p {
  font-size: 1.3rem;
  line-height: 1.75;
  color: #393939;
  margin-bottom: 2rem;
  max-width: 520px;
}


.ceo-statement h2 + div h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #111;
}


.ceo-statement ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ceo-statement ul li {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #393939;
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1rem;
}


.ceo-statement ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 2px;
  background: #f2c200;
}


@media (max-width: 768px) {
  .ceo-statement {
    padding: 2rem 1.5rem;
  }

  .ceo-statement p {
    max-width: 100%;
  }
}


.parent {
    background: linear-gradient(
    135deg,
    #ffea00 0%,
    #FFFBE3 50%,
    #ffea00 70%,
    #ffb300 100%
  ) !important;
}

.office-link {
  color: rgb(55,58,245,1) !important;
}

.reqs {
  color: red !important;
}


#contactForm {
  max-width: 960px;
  margin: auto;
}

#contactForm .form-control {
  border-radius: 0.75rem;
}

#contactForm .btn-primary {
  border-radius: 999px;
}

#contactForm label {
  color: #6c757d;
}

.reqs {
  color: #dc3545;
}

/* Hiring section helpers */
.hiring-meta .label {
  font-weight: 700;
}
.hiring-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.15);
}
.hiring-meta > div:last-child {
  border-bottom: 0;
}
.hiring-card .card-body {
  padding: 1.5rem 1.5rem 0.75rem 1.5rem;
}

.hiring-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiring-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* Shadow ONLY on the white modal box */
#applyModal .modal-content,
#submittedModal .modal-content, #privacyModal .modal-content, #privacyPolicyModal .modal-content {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Remove shadows elsewhere */
#applyModal .modal-dialog,
#submittedModal .modal-dialog, 
.modal-backdrop, #privacyModal .modal-content, #privacyPolicyModal .modal-content {
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* Fix narrow submit modal */
#submittedModal .modal-dialog {
  max-width: 420px;   /* adjust if needed */
  width: 100%;
}

/* Phone number pill — force color for ALL link states */
a.phone-pill,
a.phone-pill:link,
a.phone-pill:visited,
a.phone-pill:hover,
a.phone-pill:active,
a.phone-pill:focus {
  display: inline-block;
  background-color: #000;
  color: #f5c400 !important; /* force yellow */
  font-weight: 600;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  margin: 4px 6px 4px 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

a.phone-pill:hover,
a.phone-pill:focus {
  background-color: #222;
  color: #ffd84d !important;
  transform: translateY(-1px);
}