@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@400;700&display=swap');

:root{
  /* ------------color-------- */
  --dark-orange:#FF4E00;
  --orange:#FF8036;
  --light-orange:#FFF6F2;
  --black:#000000;
  --white:#ffffff;
}
html{
  scroll-behavior: smooth;
}

*{
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body{
  font-family:'Sofia Sans', sans-serif;
  padding: 0px;
  margin: 0px;
}

/* -----------------------------------------------banner section-------------------------------- */
.banner{
  height: 100vh;
  width: 100%;
  background-image: url('../media/banners/about_us_banner.svg');
  background-repeat: no-repeat;
  background-size: cover;
  color: white ;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact_banner{
  background-image: url('../media/banners/contactus_banner.svg');
}
.services_banner{
  background-image: url('../media/banners/services_banner.svg');
}
.calender_background{
  background-image: url('../media/banners/calender_background.svg');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;

}
/* -------------------------------------------- common code ------------------------------------ */
.tc-b{
  color: var(--black);
}
.tc-o{
  color: var(--orange);
}
.tc-w{
  color: var(--white);
}
.td-none{
  text-decoration: none;
  cursor: pointer;
}

.bg-o{
  background-color: var(--orange);
}
.bg-do{
  background-color: var(--dark-orange);
}
.bg-b{
  background-color: var(--black);
}
.bg-lo{
  background-color: var(--light-orange);
}

.mt{
  margin-top: 100px;
}
.mt-10{
  margin-top: 10px;
}
.mt-50{
  margin-top: 50px;
}
.mb{
  margin-bottom: 25px;
}
.ml{
  margin-left: 10px;
}
.meq{
  width: 90%;
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.pd-t{
  padding-top: 100px;
}

/* --------------------------------- font sizes----------------------------- */
.fs-sm{
  font-size: 38px;
  font-weight: 500;
  margin: 0px;
  padding: 0px;
}
.fs-big{
  font-size: 80px;
}
.fs-20{
  font-size: 20px;
  line-height: 1.3;
}
.fs-18{
  font-size: 18px;
}

.txt-c{
  text-align: center;
}
.l-height{
  line-height: 1.6;
}
.padding{
  padding: 20px 0px;
}

.content{
  width: 90%;
  margin: 0px auto;
}

.full-con{
  width: 100%;
  height: auto;
  padding: 5px;
}

.card{
  padding: 20px;
  border-radius: 40px;
  height: auto;
  width: auto;
}

.card1{
  min-height: 200px;
  max-height: auto;
  min-width: 500px;
  max-width: auto;
  background-color: var(--orange);
  color: var(--white);
  border-radius: 25px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 50px;
  text-align: left;
}

/* Calendly section styles to match site theme */
.calendly-wrapper{
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.calendly-info{
  flex: 1 1 420px;
  min-width: 320px;
}
.calendly-container{
  flex: 0 0 420px;
  min-width: 320px;
}
.calendly-card{
  background: var(--white);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
}
.calendly-card .calendly-inline-widget{
  width: 100% !important;
  height: 520px !important;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 880px){
  .calendly-wrapper{flex-direction: column-reverse;}
  .calendly-container, .calendly-info{flex:1 1 auto;}
  .calendly-card .calendly-inline-widget{height:420px !important}
}

.align-r{
  display: block;
  margin-left: auto;
  max-width: 100%;
  height: auto;
}

/* Utility: center an inline image horizontally */
.center-img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.block{
  display: block;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.btn1{
  text-decoration: none;
  background-color: var(--orange);
  color: var(--white);
  padding: 15px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}
.btn{
  background-color: var(--orange);
  color: var(--white);
  border-radius: 5px;
  padding: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  
}
.btn-transform{
  transition: color .25s ease-in-out,background-color .25s ease-in-out;
}
.btn-transform:hover{
  color: var(--orange);
  background-color: var(--white);
  border: 1px solid var(--orange);
}

/* ------------------------------------------ home page   ------------------------------ */
.outer-box{
  padding: 20px;
  box-shadow: 0px 0px 15px gray;
  margin: 10px auto;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
}
.track_card{
  height: 400px;
  width: 350px;
  background-color: #FF4E00;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}



.track-con{
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 20px;
}
.fit-img{
  background-image: url('media/portfolio/viwes_image 1.svg');
  background-repeat: no-repeat;
  background-size: cover;
}

/* FAQ answer: keep padding hidden until the panel is opened to avoid visible box */
.faq-plus{
  cursor: pointer;
}
.faq-answer{
  padding: 0;
  box-sizing: border-box;
  transition: padding 0.25s ease;
}
.mt-10.open .faq-answer{
  padding: 15px; /* visible padding when opened */
}

/* shadow style for FAQ answers when requested */
.faq-answer.faq-shadow{
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background-color: var(--white);
}

.what-we-do{
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 50px;
}
.what-we-do-flex{
  display: flex;
  align-items: stretch; /* ensure children stretch to same height */
  gap: 10px;
}

/* Each generated item is wrapped in an extra div; target the direct child to make equal-height cards */
.what-we-do > div {
  display: flex;
}

.what-we-do > div .what-we-do-flex {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

/* Image on the left */
.what-we-do .what-we-do-flex img{
  height:70px;
  border-radius: 8px;
  flex: 0 0 140px;
}

/* Content area: column layout, push button to bottom */
.what-we-do .what-desc{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
}

/* Ensure the button aligns on the same line across items */
.what-we-do .what-desc .btn{
  align-self: flex-start; /* keep button left aligned; adjust as needed */
}


/* ------------------------------------------ about us flex box  ------------------------------ */
.flex-con{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch; /* ensure children stretch to same height */
}

/* make each value card a flexible column so rows have equal heights */
/* default: single column on small screens */
.flex-con > .card{
  flex: 1 1 100%;
  min-width: 260px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* push image to bottom */
}



/* form-specific two-column row: each span takes ~50% on desktop, stacks on smaller screens */
.flex-con.form-row{
  gap: 16px;
}
.flex-con.form-row > span{
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
}
.form-col{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flex-con.form-row input{
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  background-color: #F8F8F8;
}

.flex-con1{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 50px auto;
}

.flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}
.active{
  color: var(--orange);
  text-decoration: underline;
}

.fun_team_fact{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 30px 0px;
}


/* ------------------------------------------ service style ------------------------------------ */
.service-flex{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.service-btn{
  background-color: var(--orange);
  border: none;
  color: var(--white);
  padding:10px 20px;
  cursor: pointer;
  margin: 20px 0px;
  border-radius: 5px;
  min-width: 200px;
  font-size: 16px;
  font-weight: 700;
}

/* ------------------------------------------ header style ------------------------------------ */

/* Contact form message (replaces alert()) */
.contact-form-message{
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: opacity .25s ease, transform .25s ease;
}
.contact-form-message.hidden{
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  height: 0;
  padding: 0 16px;
  margin-bottom: 0;
  overflow: hidden;
}
.contact-form-message.success{
  background-color: #e9fff1;
  color: #0b6f3a;
  border: 1px solid #0b6f3a22;
}
.contact-form-message.error{
  background-color: #fff0f0;
  color: #8b1f1f;
  border: 1px solid #8b1f1f22;
}

.contact-form-message{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-form-message > button.contact-form-message-dismiss{
  position: absolute;
  right: 8px;
  top: 6px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  padding: 4px 8px;
}
.contact-form-message > button.contact-form-message-dismiss:focus{
  outline: 2px solid #ddd;
  border-radius: 4px;
}

/* Debug details shown when `data-emailjs-debug="true"` on the form */
.contact-form-debug{
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #f7f7f7;
  color: #222;
  font-size: 13px;
  line-height: 1.4;
  white-space: pre-wrap;
  max-height: 240px;
  overflow: auto;
  border: 1px solid #e0e0e0;
}
.contact-form-debug.hidden{
  display: none;
}
.header{
  width: 100%;
  height: auto;
  padding: 10px;
  position: fixed;
  top: 0px;
  z-index: 1000;
  background-color: rgba(255,255,255,0); /* transparent white */
  transition: background-color 0.6s ease; /* smoother background fade */
}

/* Page-specific: make header white only on pages with `white-header` body class */
.white-header .header{
  background-color: rgba(255,255,255,1) !important;
}
.white-header .nav-link{
  color: var(--black) !important;
}
.white-header .nav-link:hover{
  color: var(--dark-orange) !important;
}
.white-header #l_black{ display: block !important; }
.white-header #l_white{ display: none !important; }
.nav{
  width: 90%;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo{
  height: auto;
  width: 250px;
}

#l_black {
  display: none;
}

.header.scrolled #l_black {
  display: block;
}

.header.scrolled #l_white {
  display: none;
}

.nav-links{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.nav-link{
  text-decoration: none;
  color: var(--white);
  display: inline-block;
  position: relative;
  transition: color 0.25s ease-in-out;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--orange);
  transition: transform 0.25s ease-out;
}
.nav-link:hover{
  color: var(--orange);
}
.nav-link:hover::after{
  transform: scaleX(1);
}
.nav-link.center::after {
  transform-origin: bottom center;
}
.scrolled {
  background-color: rgba(255,255,255,1); /* fully white */
}
.header.scrolled .nav-link {
  color: var(--black);
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link:focus {
  color: var(--dark-orange);
}
.header.scrolled .nav-link.active {
  color: var(--dark-orange);
}
/* ------------------------------------------ footer style ------------------------------------ */
.footer-out{
  background-color: var(--black);
  width: 100%;
  padding-bottom: 30px; /* ensure background extends below the button */
}
.footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: var(--black);
  padding: 30px;
}

/* Footer action button: center and avoid using bottom margin (use parent padding instead) */
.footer-out > button{
  display: block;
  margin: 20px auto 0; /* top spacing only; bottom space handled by .footer-out padding */
}


/* ------------------------------------------------ for form code----------------------------------- */
form{
  background-color: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
  border: 1px solid var(--orange);
}
/* -------------------------- Reviews (About page) -------------------------- */
.reviews_section{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:flex-start;
  padding: 10px 0;
}
.review-card{
  flex: 1 1 calc(33.333% - 40px);
  max-width: 360px;
  box-sizing: border-box;
  cursor: pointer;
}
.review-card .outer-box.review-card-inner{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  background: #fff;
}
.review-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.review-name{
  margin: 0;
  font-size: 18px;
}
.rating i{
  font-size: 18px;
  margin-left: 4px;
}
.review-comment{
  margin: 0;
  color: var(--black);
  font-size: 15px;
  line-height: 1.4;
}

/* Responsive: two columns on tablet, single column on small screens */
@media (max-width: 1024px){
  .review-card{ flex: 1 1 calc(50% - 20px); }
}
@media (max-width: 640px){
  .review-card{ flex: 1 1 100%; max-width: 100%; }
}
label::after{
  content: '*';
  margin-left: 10px;
  color: red;
}
input{
  all: unset;
  background-color: #F8F8F8;
  height: 40px;
  padding: 10px;
  box-sizing: border-box;
}
/* textarea for multi-line project description */
textarea{
  all: unset;
  background-color: #F8F8F8;
  min-height: 120px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}
/* -------------------------- Reviews slider (horizontal) -------------------------- */
#reviews_section.reviews_section{
  position: relative;
  padding: 10px 0;
}
#reviews_section.reviews_section .reviews-slider{
  width: 100%;
  overflow: hidden;
}
#reviews_section.reviews_section .reviews-slides{
  width: 100%;
}
#reviews_section.reviews_section .reviews-track{
  display: flex;
  align-items: stretch;
  gap: 12px;
  /* track will be animated horizontally via keyframes */
}
#reviews_section.reviews_section .reviews-track .review-card{
  flex: 0 0 calc(100% / 3); /* show 3 cards at once on desktop */
  padding: 8px;
  box-sizing: border-box;
}

@media (max-width: 1023px){
  #reviews_section.reviews_section .reviews-track .review-card{
    flex: 0 0 100%; /* single card on narrow screens */
  }
}

@keyframes reviews-scroll{
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* ensure inner box still has padding/background as before */
#reviews_section.reviews_section .review-card .outer-box{
  background: #fff;
}
@media (max-width: 640px){
  #reviews_section.reviews_section{ padding: 6px 0; }
  #reviews_section.reviews_section .review-card .outer-box{ padding: 16px; }
}
.submit-btn{
  all: unset;
  background-color: var(--orange);
  color: white;
  width: 200px;
  margin: 10px auto;
  font-size: 25px;
  border-radius: 5px;
  padding: 10px;
  display: block;
  text-align: center;
  cursor: pointer;
}

/* -------------------- Mobile sidebar styles -------------------- */
.sidebar-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease;
  z-index: 999;
}
.sidebar-overlay.open{ opacity: 1; visibility: visible; }

.sidebar{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 280px;
  max-width: 90vw;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 1000;
  padding: 20px;
  box-shadow: -6px 0 24px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
}
.sidebar.open{ transform: translateX(0); }

.sidebar .close-btn{
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-left: auto;
  color: var(--black);
}
.sidebar-links{ list-style: none; margin: 24px 0 0 0; padding: 0; display:flex; flex-direction:column; gap:18px; }
.sidebar-links .nav-link{ color:var(--black); font-weight:700; text-decoration:none; }

/* ensure nav icon is visible by default on small screens */
.nav .bi-list{ display: none; font-size: 24px; cursor: pointer; }

/* Center service detail hero image */
.service-hero{
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: 350px;
}

/* --------------------------------- fixed contact badge -------------------------- */
.fixed-badge{
  position: fixed;
  right: 20px;
  bottom: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.fixed-badge.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fixed-badge-img{
  width: 96px; /* larger on laptop/desktop */
  height: 96px;
  display: block;
  cursor: pointer;
}

/* remove button styles since the fixed badge no longer contains a button */
.fixed-badge-btn{ display:none; }

/* Modal (overlay + centered popup) */
.fixed-badge-modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.fixed-badge-modal-overlay.open{ display: flex; }
.fixed-badge-modal{
  max-width: 90vw;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 12px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.fixed-badge-modal img{
  width: auto;
  max-width: 760px;
  height: auto;
  max-height: 70vh;
  display: block;
}

.popup-top{
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}
.popup-bottom{
  width: 100%;
  text-align: center;
  margin-top: 12px;
}
.popup-action{
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1200px){
  .fixed-badge-img{ width: 80px; height: 80px; }
}
@media (max-width: 900px){
  .fixed-badge-img{ width: 64px; height: 64px; }
}
@media (max-width: 600px){
  .fixed-badge{ right: 12px; bottom: 16%; }
  .fixed-badge-img{ width: 48px; height: 48px; }
}
