/* =========================
   GLOBAL / mobile-first tweaks
   ========================= */
/* Ensure responsive images */
img, .card-img-top, .service-img, .about2 img, .about_2 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Make sure container rows behave predictably on small screens */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* Hide anything that relies on :hover for essential layout on touch devices */
a[role="button"] { touch-action: manipulation; }

/* =========================

          index.html 

   ========================= */

   /* =========================
              mobile
   ========================= */
@media (max-width: 599px) {
  .navigation {
    display: flex;
    align-items: center;
    justify-content: center; /* logo centered */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  .navigation .logo {
    flex: 0 0 auto;
    text-align: center;
    height: 100%;
  }
  .navigation .logo img {
    width: auto;
  }
  .hamburger {
    display: block;
    position: absolute;
    margin-top: 0;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .nav-menu {
    display: none;
    position: absolute;
    max-height: 90vh;
    top: 110%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 10px 18px;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }
  nav > ul > li > a.active{
  border: 2px solid white;
  border-radius: 15px;
}
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  .nav-menu a.nav-item {
    display: block;
    padding: 10px 14px;
    color: #fff;
    text-transform: uppercase;
  }
  nav > ul > li:hover,
  .nav-menu li:hover,
  .nav-menu a.nav-item:hover {
    transform: none !important;
    border: none !important;
    border-bottom: none !important;
    transition: none !important;
  }

  .lang-dropdown .dropdown {
    position: static;
    display: flex;
    gap: 10px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .lang-dropdown .dropdown a {
    color: #fff;
    padding: 6px 10px;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    text-transform: none;
  }
  .lang-dropdown .lang-toggle{
    display: none !important; 
  }

  /* Phone badge */
  .phone {
    width: 100%;
    padding: 6px 0;
    display: flex;
    justify-content: center;
  }
  .phone a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 18px;
    color: #fff;
  }

    .nav-menu a.nav-item {
    line-height: normal;
    padding: 14px 20px;
    font-size: 18px;
  }

  nav .phone {
    height: auto;
    border-radius: 12px;
    margin: 8px auto;
  }

  nav .phone a {
    display: block;
    padding: 12px 18px;
    line-height: normal;
  }


  /* HERO */
  .hero {
    background-attachment: scroll !important;
    padding: 100px 14px 60px;
    min-height: 56vh;
    box-sizing: border-box;
    text-align: center;
  }
  .display-3 {
    font-size: 2rem;
    line-height: 1.05;
  }
  .lead {
    font-size: 1rem;
    margin-top: 8px;
  }
  .herobtns { margin-top: 14px; }
  #herobtn-1, #herobtn-2 {
    width: 88%;
    max-width: 360px;
    display: block;
    margin: 20px auto;
    padding: 12px 10px;
  }

  /* ABOUT section: stack columns */
  .about .row {
    flex-direction: column;
    gap: 18px;
    padding: 10px;
    text-align: center;
  }
  .about1, .about2{
    flex: 0 0 100%;
  }
  .about img{
    margin: 0 auto;
    border-radius: 12px;
  }

  /* SERVICES (cards): single column */
  .services .row{
    flex-direction: column;
  }
  .card {
    width: 100%;
    margin-bottom: 18px;
  }
  .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .card-text{
    line-clamp: 7;
    -webkit-line-clamp: 7; 
  }

  /* Ratings: stacked */
  .ratings .row {
    flex-direction: column;
    gap: 12px;
  }
  .tile { padding: 20px; }
  .tile:hover{
    box-shadow: none;
    -webkit-box-shadow:none;
    -moz-box-shadow: none;
    transform: none;
  }
  .ratings i{
    color: #f5c842;
  }

  /* Footer */
  footer{
    border-radius: 32px 32px 0 0;
  }
  .contact-section {
    width: 92%;
    margin: -50px auto 20px;
    padding: 12px;
    flex-direction: column;
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    gap: 14px;
    padding: 10px 6px; }
  .footer-menu { display: block; }
  .footer-content h3{
    font-size: 1.9rem;
  }
}

/* =========================
          TABLET 
   ========================= */
@media (min-width: 600px) and (max-width: 1023px) {
  .navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    position: fixed;
    top:0; left:0; right:0;
    z-index: 999;
  }
  .hero{background-attachment: scroll !important;}
  .navigation .logo img { height: 66px; }

  /* keep hamburger visible on tablet per your spec */
  .hamburger {
    display:block;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* collapsed menu */
  .nav-menu {
    display: none;
    position: absolute;
    max-height: 90vh;
    top: 110%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 30px 30px 38px;
    z-index: 1000;
  }
  .nav-menu.active {
    display: flex;
  }
  nav > ul > li > a.active{
  border: 2px solid white;
  border-radius: 15px;
  }
    .nav-item:hover{
    transform: scale(1);
    border: none;
  }
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  .nav-menu a.nav-item {
    display: block;
    padding: 10px 14px;
    color: #fff;
    text-transform: uppercase;
    font-size: 18pt;
  }
  /*phone badge*/
    .phone {
    width: 100%;
    padding: 6px 0;
    display: flex;
    justify-content: center;
  }
  .phone a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 18px;
    color: #fff;
  }

  nav .phone {
    height: auto;
    border-radius: 12px;
    margin: 8px auto;
  }

  nav .phone a {
    display: block;
    padding: 12px 18px;
    line-height: normal;
  }

  .lang-dropdown .dropdown {
    position: static;
    display: flex;
    gap: 10px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .lang-dropdown .dropdown a {
    color: #fff;
    padding: 6px 10px;
    font-size: 18pt;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    text-transform: none;
    gap: 10px;
  }
  .lang-dropdown .lang-toggle{
    display: none !important; 
  }

  /* Language choices in a single horizontal row inside the dropdown (when opened) */
  .lang-dropdown .dropdown { position: static; display:flex; gap:12px; justify-content: center; padding-top:6px; }
  .lang-dropdown .dropdown a { padding: 8px 12px; color: #fff; }

  /* HERO sizing */
  .hero{background-attachment: scroll;}
  .display-3 { font-size: 3rem; }
  .lead { font-size: 1.15rem; }
  .herobtns { margin-top: 18px; }
  #herobtn-1, #herobtn-2 { width: auto; min-width: 220px; padding: 14px 18px; display: inline-block; }

  /* ABOUT */
  .about.container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 !important;
  }
  .about .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .about .row {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 10px;
    text-align: center;
  }
  .about1, .about2 {
    width: 65vw;
    margin-left: auto;
    margin-right: auto;
  }

  .about img {
    width: 800px !important;
    margin: 0 auto;
  }
  .about h1 {
    font-size: 3rem;
    margin-bottom: 36px;
  }
  .about p {
    font-size: 1.5rem;
    line-height: 1.7;
  }
/* Ratings:  */
  
  .tile { padding: 5px;}
  .tile:hover{
    box-shadow: none;
    -webkit-box-shadow:none;
    -moz-box-shadow: none;
    transform: none;
  }
  .ratings i{
    color: #f5c842;
  }

  /* SERVICES: 2-column grid for sub-services */

  .services .card{
    height: 600px;
  }
  .card-text{
    line-clamp: 6;
    -webkit-line-clamp: 6; 
  }

  .service-img { max-height: 240px; object-fit: contain; }


}

/* =========================

          about.html

   ========================= */
/* Mobile devices (up to 768px) */
@media (max-width: 768px) {
  .about_ {
    max-width: 95vw;
    margin-top: 100px;
    margin-bottom: 60px;
    text-align: center;
  }
  .about_ .row{margin-inline: 0px !important;}
  .about_ h1 {
    font-size: 24pt;
    margin: 10px 0 20px;
  }
  .about_ h3 {
    font-size: 1.2rem;
  }
  .about_ p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  .about_ img {display: none;}
  .about_ button {
    font-size: 14pt;
    padding: 10px 15px;
    border-radius: 12px;
  }
  .callus {
    padding: 30px 15px;
  }
  .callus h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .callus img {
    max-height: 200px;
    border-radius: 20px;
  }
  .callus button {
    font-size: 14pt;
    padding: 8px 20px;
    border-radius: 8px;
  }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .about_ .row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
  }
    .about_ .col-md-12, .about_ .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about_ p, .about_ h1, .about_ h3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .about_ {
    max-width: 95vw;
    margin-top: 110px;
    margin-bottom: 60px;
    text-align: center !important;
  }
  .about_ .row{margin-inline: 0px !important;}
  .about_ h1 {
    font-size: 32pt;
    margin: 10px 0 20px;
  }
  .about_ h3 {
    font-size: 1.5rem;
  }
  .about_ p {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: center;
  }
  .about_ img {display: none;}
  .about_ button {
    font-size: 14pt;
    padding: 10px 15px;
    border-radius: 12px;
  }
  .callus {
    padding: 30px 15px;
  }
  .callus h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .callus img {
    max-height: 200px;
    border-radius: 20px;
  }
  .callus button {
    font-size: 14pt;
    padding: 8px 20px;
    border-radius: 8px;
  }
}

/* Desktops (1025px and up) */
@media (min-width: 1025px) {
  .about_ {
    margin-top: 170px;
    margin-bottom: 140px;
    text-align: left;
  }
  .about_ h1 {
    font-size: 35pt;
  }
  .about_ p {
    text-align: left;
  }
  .about_ img {
    max-width: 500px;
  }
  .callus h1 {
    font-size: 2.5rem;
  }
}

/* Smooth transitions for buttons */
.about_ button, .callus button {
  transition: all 0.3s ease;
}

/* Center text for h1 and p */
.callus h1, .callus p {
  text-align: center;
}


/* =========================

          services.html

   ========================= */

/* Mobile devices (up to 768px) */
@media (max-width: 768px) {
  .serv_hero {
    height: 40vh;
    margin-bottom: 50px;
  }
  .serv_hero h1 {
    font-size: 32pt;
    text-shadow: 1px 1px 1px #000;
  }
  .serv_hero p {
    font-size: 0.9rem;
  }
  .services-page {
    padding: 30px 15px;
  }
  .page-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .group-title {
    font-size: 1.5rem;
    gap: 8px;
  }
  .sub-services {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sub-item {
    padding: 15px;
  }
  .sub-item h3 {
    font-size: 1.1rem;
  }
  .sub-item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .service-img {
    max-height: 200px;
    margin-bottom: 10px;
  }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .serv_hero {
    height: 50vh;
    margin-bottom: 70px;
  }
  .serv_hero h1 {
    font-size: 48pt;
  }
  .serv_hero p {
    font-size: 1rem;
  }
  .services-page {
    padding: 40px 20px;
  }
  .page-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  .group-title {
    font-size: 1.8rem;
  }
  .sub-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sub-item {
    padding: 18px;
  }
  .sub-item h3 {
    font-size: 1.2rem;
  }
  .sub-item p {
    font-size: 0.95rem;
  }
  .service-img {
    max-height: 250px;
  }
}

/* Small desktops and above (1025px and up) */
@media (min-width: 1025px) {
  .serv_hero {
    height: 60vh;
  }
  .serv_hero h1 {
    font-size: 60pt;
  }
  .services-page {
    padding: 60px 20px;
  }
  .sub-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ensure images remain responsive */
.service-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Smooth transitions for hover effects */
.sub-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* =========================

          contact.html

   ========================= */
/* Mobile devices (up to 768px) */
@media (max-width: 768px) {
  .contact_hero {
    height: 100vh;
  }
  .contact_hero h1 {
    font-size: 36pt;
    text-shadow: 1px 1px 1px #000;
  }
  .contact_hero p {
    font-size: 0.9rem;
  }
  .contact_arrow{
    display: block;
    position: absolute;
    font-size: 3.5rem;
    left: 50%;
    transform: translate(-50%);
    bottom: 40px
  }
  .contactCard {
    padding: 15px;
    margin-bottom: 25px;
  }
  .icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .label {
    font-size: 11px;
  }
  .value a {
    font-size: 0.9rem;
  }
  .copy-btn {
    font-size: 18px;
    padding: 4px;
  }
}

/* Tablets in portrait (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .contact_hero {
    height: 100vh;
    margin-bottom: 70px;
  }
  .contact_hero h1 {
    font-size: 48pt;
  }
  .contact_hero p {
    font-size: 1rem;
  }
  .contact_arrow{
    display: none;
  }
  .contactCard {
    padding: 18px;
  }
  .icon {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  .label {
    font-size: 12px;
  }
  .value a {
    font-size: 0.95rem;
  }
}

/* Tablets in landscape and small desktops (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .contact_hero {
    height: 60vh;
    margin-bottom: 70px;
  }
  .contact_hero h1 {
    font-size: 48pt;
  }
}

/* Desktops (1025px and up) */
@media (min-width: 1025px) {
  .contact_hero {
    height: 50vh;
  }
  .contact_hero h1 {
    font-size: 60pt;
  }
}