/*
Theme Name: AppMotion
Theme URI: https://twomar.ro
Description: A modern, responsive WordPress theme for TWOMAR GROUP
Version: 1.0.0
Author: TWOMAR GROUP
Author URI: https://twomar.ro
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: appmotion
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================================
   TWOMAR GROUP – Shared Stylesheet
   Bootstrap 5 override & custom components
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --primary: #001E33;
  --primary-dark: #001C31;
  --secondary: #F5B403;
  --white: #ffffff;
  --gray-placeholder: #92929e;
  --fontColor: #303849;
  --colorMain: #f2c014;
  --colorMain2: #f23e14;
}

/* ===== BASE ===== */
* { box-sizing: border-box; }

::selection {
  background-color: var(--colorMain);
  color: #fff;
}

body {
  /*font-family: 'Lexend', sans-serif;*/
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--fontColor);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  overflow-x: hidden;
  text-align: left;
}

a { text-decoration: none; }

b, strong {
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.font-hind { font-family: 'Hind', sans-serif; }
.font-lexend { font-family: 'Lexend', sans-serif; }
.font-merriweather { font-family: 'Merriweather', serif; }

.section-label {
  font-family: 'Hind', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--primary);
}

.section-label-line {
  width: 86px;
  height: 2px;
  object-fit: cover;
}

.section-subtitle {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--primary);
}

.portfolio-header {
  padding-bottom: 32px !important;
}

.body-text {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 28px;
  color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn-twomar {
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 50px;
  padding: 12px 24px;
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 16px;
  border: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-twomar:hover {
  background-color: #d9a003;
  color: var(--white);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-twomar {
  background-color: var(--primary);
  padding: 20px 0;
}
.navbar-twomar .navbar-brand img,
.custom-logo {
  width: 180px;
  height: auto;
}
.navbar-twomar .nav-link {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--white) !important;
  padding: 8px 12px !important;
}
.navbar-twomar .nav-link.active {
  color: var(--secondary) !important;
}
.navbar-twomar .nav-link:hover {
  color: var(--secondary) !important;
}
.navbar-twomar .nav-link.dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 6px;
}
.navbar-twomar .dropdown-menu {
  background-color: var(--primary);
  border: none;
  border-radius: 4px;
  padding: 6px 0;
  margin-top: 6px;
  min-width: 200px;
}
.navbar-twomar .dropdown-menu .dropdown-item {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--white);
  padding: 8px 16px;
  background-color: transparent;
}
.navbar-twomar .dropdown-menu .dropdown-item:hover,
.navbar-twomar .dropdown-menu .dropdown-item:focus,
.navbar-twomar .dropdown-menu .dropdown-item.active {
  color: var(--secondary);
  background-color: transparent;
}
.navbar-toggler {
  box-shadow: none !important;
  border: none !important;
}

#mainNav {
  transition: none !important;
}

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero-section {
  background-image: url(img/frame-100.png);
  background-size: cover;
  background-position: center;
  min-height: 660px;
  display: flex;
  align-items: center;
}
.hero-section h1 {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--white);
  line-height: 1.3;
}
.hero-section .hero-text {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 28px;
  color: var(--white);
}

/* ============================================================
   ABOUT (homepage)
   ============================================================ */
.about-section {
  padding: 120px 0 80px;
}
.about-section .about-img {
  width: 100%;
  max-width: 554px;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1.22;
}
.about-video {
  width: 100%;
  height: inherit;
}
.video-wrapper {
  width: 100%;
  height: inherit;
  position: relative;
}
.video-player {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 99;
  align-content: center;
  align-items: center;
  display: flex;
  img {
    margin: 0 auto;
  }
}

/* ============================================================
   STATS (homepage)
   ============================================================ */
.stats-section {
  padding: 80px 0 120px;
}
.stats-section .stats-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.stat-box {
  border: 1px solid #F5B403;
  padding: 0;
  --cut: 18px;
  --bg: #efefef;

  position: relative;
  background: #F5B403;

  clip-path: polygon(
          var(--cut) 0,
          100% 0,
          100% calc(100% - var(--cut)),
          calc(100% - var(--cut)) 100%,
          0 100%,
          0 var(--cut)
  );
}
.stat-box-content {
  background: white;
  padding: 18px 24px;
  clip-path: polygon(
          var(--cut) 0,
          100% 0,
          100% calc(100% - var(--cut)),
          calc(100% - var(--cut)) 100%,
          0 100%,
          0 var(--cut)
  );
}
.stat-number {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--secondary);
  line-height: 1.2;
}
.stat-label {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 28px;
  color: var(--primary);
}

/* ============================================================
   SERVICES GRID (shared – homepage & services page)
   ============================================================ */
.section,
.services-section {
  padding: 60px 0;
  max-width: 100vw;
  overflow-x: hidden;
}
.services-section .section-label,
.services-section .section-subtitle {
  text-align: center;
}
.service-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.service-img:hover {
  background: transparent linear-gradient(0deg, #001E33 0%, #05293D42 100%) 0% 0% no-repeat padding-box;
}
.service-card {
  position: relative;
  .service-img-bg {
    height: 340px;
    width: 100%;
    aspect-ratio: 1;
    background-image: url(img/frame-31.png);
    background-size: cover;
    background-position: center;
    position: relative;
  }
}
.service-card .service-arrow {
  position: absolute;
  top: 28px;
  left: auto;
  right: 24px;
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  display: none;
  align-items: center;
  justify-content: center;
}
.service-title {
  display: none;
}
.service-card .service-arrow img {
  width: 14px;
  height: auto;
}
.service-card .service-title {
  position: absolute;
  bottom: 28px;
  left: 24px;
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
}
.service-card:hover {
  .service-card-overlay {
    background: transparent linear-gradient(0deg, #001E33 0%, #05293D42 100%) 0% 0% no-repeat padding-box;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
  }
  .service-arrow,
  .service-title {
    display: flex;
    z-index: 11;
  }
}
.service-card-listing, .service-card-listing .service-img-bg, .service-card-overlay {
  border-radius: 16px;
}

/* ============================================================
   CTA BANNER (homepage)
   ============================================================ */
.cta-banner {
  background-size: cover;
  background-position: center;
  padding: 94px 0;
  margin: 60px 0;
}
.cta-banner h2 {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
}
.cta-banner p {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 28px;
  color: var(--white);
}

/* ============================================================
   ADVANTAGES (homepage)
   ============================================================ */
.advantage-card {
  background-color: var(--secondary);
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  position: relative;
  height: 100%;
}
.advantage-card .advantage-icon {
  width: 63px;
  height: 60px;
  position: absolute;
  top: 25px;
  right: 24px;
}
.advantage-card h3 {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  margin-top: 50px;
  margin-right: 60px;
}
.advantage-card p {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 28px;
  color: var(--white);
}

/* ============================================================
   PORTFOLIO (homepage)
   ============================================================ */
.portfolio-carousel {
  padding: 0 0 60px;
}
.portfolio-carousel-inner {
  margin: 0 -56px;
}
.portfolio-cards-row {
  position: relative;
}
.portfolio-card-overlay {
  background: transparent linear-gradient(0deg, #001E33 0%, #05293D42 100%) 0% 0% no-repeat padding-box;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.portfolio-card {
  max-width: 175px;
  height: 330px;
  border-radius: 16px;
  background-image: url(img/frame-56.png);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  flex: 1;
}
.portfolio-card-label {
  background-color: var(--primary);
  border-radius: 0 16px 0 16px;
  padding: 20px 10px;
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: auto;
  min-height: 200px;
  z-index: 11;
}
.portfolio-card-label span {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .portfolio-card:hover {
    min-width: 365px;
    .portfolio-card-label {
      transform: none;
      writing-mode: horizontal-tb;
      min-height: auto;
      background-color: unset;
      bottom: 32px;
      left: 32px;
      padding: 0;
    }
  }
  .portfolio-card:hover span {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
  }
}
.carousel-arrow {
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.carousel-arrow img {
  width: 20px;
  height: auto;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: linear-gradient(0deg, rgba(0,30,51,1) 0%, rgba(13,100,148,1) 100%);
  padding: 48px 0;
}
.newsletter-title {
  font-family: 'Hind', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
}
.newsletter-subtitle {
  font-family: 'Hind', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--white);
}
.newsletter-checkbox {
  font-family: 'Hind', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--white);
}
.newsletter-input-wrap {
  display: flex;
  align-items: center;
}
.newsletter-input-wrap input[type="email"] {
  width: 364px;
  max-width: 100%;
  height: 50px;
  border: none;
  background: var(--white);
  border-radius: 70px 0 0 70px;
  padding: 11px 32px;
  font-family: 'Merriweather', serif;
  font-size: 18px;
  color: var(--primary);
  outline: none;
}
.newsletter-input-wrap input[type="email"]::placeholder {
  color: var(--gray-placeholder);
}
.newsletter-input-wrap button {
  width: 190px;
  height: 50px;
  background-color: var(--secondary);
  border: none;
  border-radius: 0 70px 70px 0;
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  cursor: pointer;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background-color: var(--primary);
  padding: 64px 0 40px;
  margin-top: 60px;
}
.footer-main .footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 24px;
}
.footer-main .footer-desc {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: var(--white);
}
.footer-main .footer-social {
  width: 32px;
  height: 32px;
  margin-top: 16px;
}
.footer-main h3 {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 40px;
}
.footer-main .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.footer-main .contact-icon {
  width: 19px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 6px;
}
.footer-main .contact-text,
.footer-main .contact-text a {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: var(--white);
}
.footer-main .contact-text a:hover {
  color: var(--secondary);
}
.footer-main .info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-main .info-list li {
  line-height: 40px;
}
.footer-main .info-list a {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
  line-height: 40px;
}
.footer-main .info-list a:hover {
  color: var(--secondary);
}

/* ============================================================
   BOTTOM BAR
   ============================================================ */
.bottom-bar {
  background-color: var(--primary-dark);
  padding: 28px 0;
}
.bottom-bar .copyright {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--white);
  line-height: 40px;
}
.bottom-bar .credits {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--white);
  line-height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bottom-bar .credits img {
  height: 28px;
  width: auto;
}

/* ============================================================
   RESPONSIVE – SHARED
   ============================================================ */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 500px;
    padding: 80px 0;
    margin-bottom: 60px;
  }
  .hero-section h1 { font-size: 24px; }
  .about-section { padding: 80px 0 60px; }
  .stats-section { padding: 40px 0 60px; }
  .cta-banner { padding: 60px 0; }
  .about-section .about-img {
    padding-top: 48px;
  }

  .newsletter-input-wrap {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-input-wrap input[type="email"] {
    width: 100%;
    border-radius: 70px;
    margin-bottom: 12px;
  }
  .newsletter-input-wrap button {
    width: 100%;
    border-radius: 70px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 400px;
    padding: 60px 0;
  }
  .hero-section h1 { font-size: 22px; }
  .section-subtitle { font-size: 20px; line-height: 40px; }
  .portfolio-header {
    padding-bottom: 0 !important;
  }
  .stat-number { font-size: 28px; }
  .advantage-card h3 { font-size: 20px; }

  .portfolio-cards-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .portfolio-card,
  .portfolio-card-last {
    min-width: 200px;
    height: 280px;
  }

  .footer-main {
    margin-top: 40px;
  }

  .footer-main h3 {
    margin-top: 40px;
    margin-bottom: 24px;
  }

  .bottom-bar .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 575.98px) {
  .navbar-twomar { padding: 15px 0; }
  .navbar-twomar .navbar-brand img, .custom-logo { width: 140px; }
  .navbar-twomar .nav-link {
    text-align: center;
  }
  .hero-section { min-height: 350px; }
  .hero-section h1 { font-size: 20px; }
  .newsletter-subtitle { font-size: 20px; }
}


/* ============================================================
   SERVICES PAGE – page-specific overrides
   ============================================================ */

/* --- Services page: top spacing under fixed navbar --- */
.services-page .services-section {
  padding-top: 80px;
}

/* --- Services page: responsive top spacing --- */
@media (max-width: 991.98px) {
  .services-page .services-section {
    padding-top: 60px;
  }
}

@media (max-width: 575.98px) {
  .services-page .services-section {
    padding-top: 40px;
  }
}


/* ============================================================
   PORTFOLIO PAGE – page-specific styles
   ============================================================ */

/* --- Portfolio gallery section --- */
.portfolio-gallery-section {
  padding: 80px 0 60px;
}

/* --- Portfolio grid image (square, responsive) --- */
.portfolio-grid-img {
  width: 100%;
  height: 330px;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.portfolio-grid-overlay-container {
  border-radius: 12px;
  padding: 0;
}

/* --- Portfolio overlay card (featured project) --- */
.portfolio-grid-overlay {
  width: 100%;
  height: 330px;
  aspect-ratio: 1;
  border-radius: 12px;
  background-image: url(img/frame-32.png);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 32px 24px;
}
.portfolio-grid-overlay h2 {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  margin: 0;
}

/* --- Portfolio page: responsive spacing --- */
@media (max-width: 991.98px) {
  .portfolio-gallery-section {
    padding: 60px 0 40px;
  }
}

@media (max-width: 575.98px) {
  .portfolio-gallery-section {
    padding: 40px 0 60px;
  }
  .portfolio-grid-overlay h2 {
    font-size: 20px;
  }
}

/* ============================================================
   DESPRE NOI PAGE – Mission & Vision section
   ============================================================ */
.mission-title {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 16px;
}

/* ============================================================
   DESPRE NOI PAGE – Certifications section
   ============================================================ */
.cert-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   SERVICE DETAIL PAGE – Breadcrumb
   ============================================================ */
.breadcrumb-section {
  padding: 24px 0;
}
.breadcrumb-custom {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.breadcrumb-custom li::after {
  content: '/';
  margin-left: 8px;
  color: var(--primary);
  opacity: 0.5;
}
.breadcrumb-custom li:last-child::after {
  display: none;
}
.breadcrumb-custom a {
  color: var(--primary);
  opacity: 0.7;
}
.breadcrumb-custom a:hover {
  color: var(--secondary);
  opacity: 1;
}
.breadcrumb-custom .active {
  color: var(--secondary);
  font-weight: 400;
}

/* ============================================================
   SERVICE DETAIL PAGE – Header & Gallery
   ============================================================ */
.service-detail-header {
  padding: 0 0 40px;
}
.service-detail-title {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 32px;
}
.service-gallery {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.service-gallery-main {
  position: relative;
  flex: 0 0 auto;
}
.service-gallery-img {
  object-fit: cover;
  border-radius: 4px;
}
.service-gallery-main .service-gallery-img {
  width: 400px;
  height: 300px;
}
.service-gallery-side {
  width: 200px;
  height: 200px;
  opacity: 0.85;
}
.service-gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  cursor: pointer;
}
.service-gallery-play img {
  width: 100%;
  height: 100%;
}
.service-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.service-gallery-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  background: transparent;
}
.service-gallery-dots .dot.active {
  background: var(--secondary);
}

@media (max-width: 767.98px) {
  .service-gallery-side { display: none; }
  .service-gallery-main .service-gallery-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }
}

/* ============================================================
   SERVICE DETAIL PAGE – Description
   ============================================================ */
.service-description {
  padding: 40px 0 80px;
}
.service-desc-title {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 24px;
}

/* ============================================================
   CONTACT PAGE – Contact section
   ============================================================ */
.contact-section {
  padding: 80px 0;
}
.contact-title {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--primary);
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--primary);
}
.contact-info-item a {
  color: var(--primary);
}
.contact-info-item a:hover {
  color: var(--secondary);
}
.contact-info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   CONTACT PAGE – Form card
   ============================================================ */
.contact-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.contact-form-title {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #0B2347;
  margin-bottom: 24px;
  text-align: center;
}
.modal-request-overlay {
  .contact-form-title {
    color: var(--primary);
    margin-bottom: 32px;
    text-align: left;
  }
}
.contact-label {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--secondary);
  display: block;
  margin-bottom: 4px;
}
.contact-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: var(--primary);
  outline: none;
  background: transparent;
}
.contact-input:focus {
  border-bottom-color: var(--secondary);
}
.contact-textarea {
  width: 100%;
  border: 1px solid var(--secondary);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: var(--primary);
  outline: none;
  resize: vertical;
}
.contact-gdpr-label {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--primary);
}
.contact-gdpr-label a {
  color: var(--secondary);
  text-decoration: none;
}
.contact-submit-btn {
  width: 100%;
  height: 50px;
  background-color: var(--secondary);
  border: none;
  border-radius: 8px;
  font-family: 'Hind', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-submit-btn:hover {
  background-color: #d9a003;
}

/* ============================================================
   CONTACT PAGE – Map section
   ============================================================ */
.map-section {
  padding: 0 0 80px;
}
.map-title {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 24px;
}
.map-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.poly-border {
  border-radius: 0;
  clip-path: polygon(
          18px 0,
          100% 0,
          100% calc(100% - 18px),
          calc(100% - 18px) 100%,
          0 100%,
          0 18px
  );
}

.poly-border-percent {
  border-radius: 0;
  clip-path: polygon(
          12% 0,
          100% 0,
          100% 88%,
          88% 100%,
          0 100%,
          0 12%
  );
}

/* ============================================================
   SUCCESS MODAL
   ============================================================ */
.success-modal-overlay,
.modal-request-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(88, 97, 107, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.success-modal {
  background: var(--white);
  border-radius: 40px;
  max-width: 90vw;
  width: auto;
  padding: 60px 120px;
  padding-bottom: 80px;
  position: relative;
  text-align: center;
  margin-top: 80px;
  align-self: flex-start;
}
.success-modal-close, .modal-request-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.success-modal-close img, .modal-request-close img {
  width: 32px;
  height: 32px;
  padding: 10px;
  border-radius: 50%;
  background-color: #F1F1F5;
  color: #696975;
}
.success-modal-icon {
  width: auto;
  height: 215px;
  margin-bottom: 32px;
  margin-top: 32px;
}
.success-modal-title {
  font-family: 'Hind', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #0B2347;
  margin-bottom: 16px;
  line-height: 44px;
}
.success-modal-text {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 28px;
  color: #0B2347;
}
.success-modal, .contact-form-card {
  .contact-form-title {
    font-size: 24px;
    margin-bottom: 32px;
  }
  label {
    text-align: left;
    font-size: 14px;
    line-height: 30px;
    color: #0B2347;
  }
  .contact-input {
    border-radius: 10px;
    border: 1.2px solid #FFC22A;
    height: 50px;
    padding: 6px 16px;
  }
  .contact-gdpr-label a {
    color: #1071EF;
  }
  .form-check-input {
    margin-top: 8px !important;
    margin-right: 12px;
    border-color: var(--colorMain) !important;
  }
}

#post-4078 .entry-content,
.project .entry-content {
  p {
    font-family: 'Lexend', sans-serif;
  }
  p:nth-child(2),
  p:nth-child(3),
  p:nth-child(4) {
    font-family: 'Hind', sans-serif;
  }
}

.page-id-4224, .page-id-4231, .page-id-4233, .page-id-4235, .page-id-4237, .page-id-4249 {
  #content {
    max-width: 1320px !important;
  }
}
@media (min-width: 576px) {
  .page-id-4224, .page-id-4231, .page-id-4233, .page-id-4235, .page-id-4237, .page-id-4249 {
    #content {
      max-width: 540px !important;
    }
  }
}
@media (min-width: 992px) {
  .page-id-4224, .page-id-4231, .page-id-4233, .page-id-4235, .page-id-4237, .page-id-4249 {
    #content {
      max-width: 960px !important;
    }
  }
}
@media (min-width: 768px) {
  .page-id-4224, .page-id-4231, .page-id-4233, .page-id-4235, .page-id-4237, .page-id-4249 {
    #content {
      max-width: 720px !important;
    }
  }
}
@media (min-width: 1200px) {
  .page-id-4224, .page-id-4231, .page-id-4233, .page-id-4235, .page-id-4237, .page-id-4249 {
    #content {
      max-width: 1140px !important;
    }
  }
}
@media (min-width: 1400px) {
  .page-id-4224, .page-id-4231, .page-id-4233, .page-id-4235, .page-id-4237, .page-id-4249 {
    #content {
      max-width: 1320px !important;
    }
  }
}

@media (max-width: 575.98px) {
  .success-modal {
    padding: 40px 24px;
    margin-top: 40px;
  }
  .success-modal-icon {
    width: 200px;
  }
  .success-modal-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .service-card-listing {
    margin-bottom: 16px;
  }
  .map-img {
    margin: 0 -16px;
    min-width: 100vw;
  }
  .section {
    padding: 40px 0;
  }
  #post-4078,
  .project {
    .entry-content p:first-child a:nth-child(2) {
      display: block;
    }
    .entry-content p:first-child a:last-child img {
      margin-bottom: 32px;
    }
    .wp-image-4113 {
      margin: 32px 16px;
    }
  }
  .modal {
    padding: 0;
    width: 100vw;
    overflow-y: hidden;

    .modal-body {
      margin: 0;
      margin-top: 40px;
      width: 100vw;
      max-width: 100vw;
      border-radius: 10px 10px 0 0;
      height: auto;
      max-height: 97vh;
      align-self: flex-end;
      overflow-y: scroll;
    }
  }
  .stat-box {
    max-width: calc(100% - 16px);
  }
  .portfolio-header {
    padding-bottom: 0;
  }
  .portfolio-carousel {
    padding-top: 56px;
    padding-bottom: 120px;

    .portfolio-card {
      flex: 0 0 calc((100% - 16px) / 2) !important;
      flex: 1 !important;
    }
    .portfolio-card {
      width: calc((100% - 16px) / 2);
      min-width: calc((100% - 16px) / 2);
    }
    .portfolio-carousel-inner {
      max-width: 100%;
      margin: 0;
    }
    .carousel-arrow {
      position: absolute;
      bottom: -64px;
    }
    .carousel-arrow-left {
      left: calc(50% - 58px);
    }
    .carousel-arrow-right {
      left: 50%;
    }
  }
  .stats-section .col-12,
  .about-section .col-12 {
    max-width: 100vw;
    padding-right: 0;
  }
  .stats-section .g-5,
  .about-section .g-5 {
    max-width: 100vw;
  }
  .cta-banner {
    padding-top: 0;
    margin: 40px 0 0;
    height: 600px;
    background-size: 100% 340px;
    background-repeat: no-repeat;
    background-position-y: top;

    .container {
      align-content: flex-end;
      height: 100%;
      padding: 0;
      position: relative;
    }
    img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .cta-banner-content {
      padding: 0 24px 56px 24px;
      width: 100%;
      height: 100%;
      background: transparent linear-gradient(0deg, #001E33 0%, #0B283C 45%, #0D293DD9 60%, #54687600 100%) 0% 0% no-repeat padding-box;
      position: absolute;
      bottom: 0;
      left: 0;
      align-content: flex-end;
    }
  }
  .custom-logo {
    margin-bottom: 16px;
  }
}
