@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Berkshire+Swash&family=Charm:wght@400;700&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=DM+Serif+Display:ital@0;1&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mukta+Malar:wght@200;300;400;500;600;700;800&family=Neonderthaw&family=Noto+Sans+Tamil:wght@100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Passion+One:wght@400;700;900&family=Space+Grotesk:wght@300..700&family=Spicy+Rice&family=Style+Script&display=swap');

html {
  scroll-behavior: smooth;
}

#secHome,
#secAbout,
#secServices,
#secGallery,
#secContact {
  scroll-margin-top: 90px;
}




html,body{
  overflow-x: hidden !important;
}


.nav-link {
  position: relative;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
  
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color:#00adef;
  transition: width 0.3s ease;
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

@media (max-width:768px){
.img-res{
    width: 70px;
}
  .text-res{
   font-size: 16px;
  
  }
  .wel-img-res {
    width: 120px;
  
  }
}

@media (min-width:768px){
.text-res{
   font-size: 20px;
  
  }
}

/* Zooming animation for the carousel images */
.zoom-image {
  animation: zoomInOut 6s ease-in-out infinite;
  transform-origin: center;
  width: 100%;
  height: auto;
}

/* Zoom keyframes */
@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.all-maintitle{
   font-family: "Montserrat Alternates", sans-serif;
   font-weight: bold;
   color: #0d1425;
}



.all-para{
    font-family: "Nunito Sans", sans-serif;
    font-size: 18px;
    color: #0d1425;
}

/* Overlay on top of each slide */
.carousel-item {
  position: relative;
}

.c-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.555); /* Optional: dark overlay */
  border-radius: 10px;
}

@media (max-width: 425px) {
  .caro-heading{
    font-size: 20px !important;
  }
}

.w-70{
  width: 80%;
}
.ms-30{
  margin-left: 20%;
}






 .highlight-section {
      padding: 20px 20px;
      text-align: center;
    }

    .highlight-section h2 {
      font-size: 2rem;
      margin-bottom: 30px;
      color: #fff;
      
    }

    .highlight-boxes {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .highlight-box {
       font-family: "Montserrat Alternates", sans-serif;
      background-color: #0d1425;
      color: #00adef;
      border-radius: 10px;
      padding: 30px 20px;
      width: 350px;
      transition: 0.3s;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .highlight-box:hover {
      background-color: #00adef;
      color: #fff;
      transform: translateY(-5px);
    }

    .highlight-icon {
      font-size: 4rem;
      margin-bottom: 15px;
      color: #0abde3;
    }

    .highlight-box:hover .highlight-icon {
      color: #fff;
    }

    .highlight-title {
      font-size: 1.4rem;
      font-weight: bold;
    }

    @media (max-width: 768px) {
      .highlight-box {
        width: 100%;
        max-width: 400px;
      }

      .highlight-section h2 {
        font-size: 1.5rem;
      }
    }


/* WCU */

.why-choose-us {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  
  
}

.left-panel {
  flex: 1;
  background-image: url('./protech-images/wcu1.png'); 
  background-size: cover;
  background-position: center;
  position: relative;
  max-width:auto;
}

.overlay-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  max-width: 300px;
  text-align: center;
  border-radius: 8px;
  border: #00adef 1px solid;
}

.right-panel {
  flex: 1;
  padding: 20px 20px;
  background-color: #0d1425;
  display: grid;
  max-width: 700px;
  gap: 30px;
}

.wcu-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 10px #00adef;
  border: #00adef 2px solid;
  text-align: center;
}

.w-icon {
  font-size: 60px;
  color: #00adef;
  margin-bottom: 5px;
}

@media(max-width:768px) {
  .right-panel{
    max-width: 800px;
  }
}


/*  Responsive */
@media (max-width: 768px) {
  .why-choose-us {
    flex-direction: column;
  }

  .overlay-box {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 20px auto;
  }

  .right-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}



/* Highlight */
 .image-overlay-section {
  position: relative;
  background: url('../protech-images/Hglt.png') center center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.image-overlay-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 1;
 
}

.overlay-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.overlay-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

.overlay-content p {
  font-size: 18px;
  line-height: 1.6;
}



/* Services */



 .ser-section {
      padding: 50px 20px;
    }

  

    .service-box {
      background-color: #0d1425;
      border-radius: 8px;
      overflow: hidden;
   
      display: flex;
      flex-direction: column;
    }

    .service-box img {
      width: 100%;
      
       display: block;
     transition: transform 0.8s ease;
    
    }

    .service-box:hover img {
      transform: scale(1.1);
    }

    .service-content {
      padding: 20px;
    }

    

    .service-content hr {
      width: 80px;
      border: 2px solid #00adef;
      margin: 10px 0;
    }

    

    @media (max-width: 768px) {
      .heading {
        font-size: 1.5rem;
      }
    }




/* Gallery */

.gallery-img-wrapper {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }

  .gallery-img-wrapper img {
    transition: transform 0.4s ease, box-shadow 0.3s ease;
  }

  .gallery-img-wrapper:hover img {
    transform: scale(1.07);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  /* Contact */

  .contact-section {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: center;
      padding: 50px 20px;
      background: #ffffff;
    }

    .info-container {
      flex: 1;
      height: 580px;
      margin: 0px;
      padding: 30px;
      max-width: 600px ;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.39);
    }
    
      @media(max-width:768px) {
    .info-container{
      max-width: 800px;
    }
    }

      

    .form-container {
      flex: 1;
      height: 580px;
      margin: 0px;
      padding: 30px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.39);
    }

    .info-container {
      background: #0d1425;
      color: #fff;
    }

    .info-container h2,
    .form-container h2 {
      margin-bottom: 20px;
      font-size: 24px;
    }

    .info-item {
      margin-bottom: 20px;
      border-radius: 8px;
      border: #00adef 2px solid;
      padding: 20px;
    }

    .info-item h4 {
      margin-bottom: 5px;
      font-size: 18px;
      color: #feca57;
    }

    .form-container input,
    .form-container textarea {
      width: 100%;
      padding: 12px 15px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
    }

    .form-container button {
      background: #0abde3;
      color: #fff;
      border: none;
      padding: 12px 20px;
      font-size: 16px;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .form-container button:hover {
      background: #0984e3;
    }

    @media (max-width: 768px) {
      .contact-section {
        flex-direction: column;
        padding: 30px 10px;
      }

      .info-container, .form-container {
        width: 100%;
      }
    }


  /* FAQ */

  .faq-section {
  margin: auto;
  padding: 40px 20px;
  background: #f7faf8;
}

.faq-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #0d1425;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 15px 20px;
  background: #00abef49;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0d1425;
  font-size: 17px;
  font-family: "Montserrat Alternates", sans-serif;
}

.faq-question .arrow {
  font-size: 24px;
  transition: transform 0.3s;
}

.faq-question.open .arrow {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 15px 20px;
  background: #ffffff;
  color: #0d1425;
  font-size: 15px;
  line-height: 1.5;
  border-top: 1px solid #ccc;
  font-family: "Nunito Sans", sans-serif;
}

@media (max-width: 600px) {
  .faq-question {
    font-size: 15px;
  }
  .faq-answer {
    font-size: 14px;
  }
}


/* Footer */

.footer {
  background: #0d1425 !important;
  color: white;
 
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px;
  background: #0d1425;
  color: #333;
  border-bottom:2px solid #00adef ;
}

.footer-branding {
  flex: 1;
  min-width: 250px;
}

.footer-branding .logo {
  width: 150px;
  margin-bottom: 10px;
}

.footer-call {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  
}

.call-box {
  background-color:#00adef ;
  color: white;
  padding: 20px ;
  
  box-shadow: 0 0 10px #00adef;
  text-align: center;
  width: 300px;
}

.call-box p {
  margin: 0;
  font-size: 14px;
}

.call-box strong {
  font-size: 20px;
}

/* Footer Middle */
.footer-middle {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 30px;
  background: #0d1425;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h4 {
  border-bottom: 2px solid #00adef;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column p {
  font-size: 14px;
}

.social-icons a {
  margin-right: 10px;
  display: inline-block;
}

/* Footer Bottom */
.footer-bottom {
  background: #00adef;
  text-align: center;
  padding: 15px 10px;
  color: #333;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top, .footer-middle {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .call-box {
    width: 80%;
  }

  .footer-column {
    text-align: center;
  }
}


/* Whatsapp Icon */

.phone-btn{
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color:#25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: breathee 2s ease-in-out infinite;
  }

@keyframes breathee {
    0% {
        box-shadow:0 0 0 0 rgb(252 211 123);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  }

/* Scrollup */
#scrollup {
    width: 45px;
    height: 45px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    overflow: hidden;
    z-index: 999;
}

.scroll-to-top {
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #00adef;
    font-size: 20px;
    padding: 0;
    line-height: 40px;
    color: #0d1425;
    border-radius: 50%;
    outline: none;
    text-decoration: none;
    transform: translateY(150%);
    transition: all 0.3s ease-in-out;
}

#scrollup.show {
    opacity: 1;
}

#scrollup.show .scroll-to-top {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.scroll-to-top:hover {
    color: #0d1425;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

/*max-width 992px*/
@media (max-width: 992px) {
    .padding {
        padding: 50px 0;
    }

    .sm-padding {
        padding: 15px;
    }

    p br {
        display: none;
    }

    span br {
        display: none;
    }

    .default-btn {
        padding: 0 30px;
    }

    .post-card .post-content h3 {
        font-size: 20px;
        line-height: 26px;
    }
}

/*max-width 768px*/
@media all and (max-width: 768px) {
    .padding {
        padding: 50px 0;
    }

    .xs-padding {
        padding: 15px;
    }

    p br {
        display: none;
    }

    .page-header-info h2 {
        font-size: 18px;
        line-height: 36px;
    }

    .post-details p {
        font-size: 17px;
        line-height: 27px;
    }
}

@media all and (max-width: 580px) {
    #scrollup {
        bottom: 20px;
        right: 20px;
    }
}


/* Pop Up */

#openPopup {
    padding: 10px 20px;
    background-color: #2ecc71;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }

  .popup-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
  }

  .popup-content {
    background: #0d1425;
    padding: 25px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    position: relative;
    border: #00adef solid 1px;
  }

  .popup-content h2 {
    margin-bottom: 15px;
    font-size: 20px;
  }

  .popup-content input,
  .popup-content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .popup-content button {
    width: 100%;
    padding: 10px;
    background-color: #00adef !important;
    color: #fff;
    border: none;
    border-radius: 5px;
  }

  .close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 50px;
    color: #00adef;
    cursor: pointer;
  }

  @media (max-width: 500px) {
    .popup-content {
      width: 95%;
    }
  }