/*importing google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin:0;
    padding:0;   
    box-sizing: border-box;
    font-family: "Merriweather", serif;
}
:root{  
    /* Defining CSS variables for colors */
    --white-color: #ffffff;
    --dark-color: #000000;
    --primary-color: #003cff;
    --secondary-color: #f2f2f2;
    --accent-color: #ff6347;
    --text-color: #333;
    --heading-color: #111;
    --link-color: #007bff;
    --link-hover-color: #00c6ff;

    /*defining CSS variables for font sizes */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-n: 1rem; /* 16px */
    --font-size-md: 1.125rem; /* 18px */
    --font-size-lg: 1.5rem; /* 20px */
    --font-size-xl: 2rem; /* 32px */
    --font-size-xxl: 2.5rem; /* 40px */
    --font-size-xxxl: 3rem; /* 48px */

    /*defining CSS variables for font weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 800;

    /*defining CSS variables for radius*/
    --border-radius-sm: 8px;
     --border-radius-m: 30px;
     --border-radius-circle: 50%;
     /*site max width*/
    --site-max-width: 1300px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}


/* Defining global styles (for whole website) */
ul {
        list-style: none;
}

a {
        text-decoration: none;
}

button {
        border:none;
        background: none;
        cursor: pointer;
}

img {
        max-width: 100%;
        height: auto;/*added*/  
}

.section-content {
        max-width: var(--site-max-width);
        margin: 0 auto;
        padding: 0 20px;
}

.section-title, .section-title1 {
    text-align: center;
    padding: 6px 0 10px;
    text-transform: uppercase;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-extra-bold);

}

/* line below the section title */
.section-title::after, .section-title1::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

    /* Defining styles for the navbar */
    
header {
        position: fixed;
        width: 100%;
        z-index: 5;
        background-color: var(--white-color);
}

header .navbar {
        display: flex;
        padding: 10px 20px;
        justify-content: space-between;
        align-items: center; 
}

.navbar .nav-logo img {
        display: flex;
        align-items: center;
        gap: 10px;
}
    
.navbar .nav-menu {
        display: flex;
        gap: 10px;
}



.navbar .nav-menu .nav-link, .toggle-dropdown {
    color: var(--primary-color);
    font-size: var(--font-size-md);
    border-radius: var(--border-radius-m);
    padding: 10px 20px;
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover{
    color: var(--link-hover-color);
    background-color: none;
    
}
.nav-menu .toggle-dropdown:hover {
    color: var(--link-hover-color);
    background-color: none;
  
}
 
.navbar :where(#menu-close-button, #menu-open-button) {
        display: none;
}

/* Hide dropdown by default */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color:var(--secondary-color);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: var(--border-radius-sm);
}

/* Show dropdown on hover */
.dropdown-menu li  {
  padding: 10px;
  white-space: nowrap;
}
.dropdown-menu li a {
  color: var(--dark-color);
}
.dropdown-menu li a:hover {
  color: var(--link-hover-color);
  transition: o.3s ease;
}


.dropdown:hover .dropdown-menu {

  display: block;
}

/* Optional: align menu below link */
.dropdown {
  position: relative;
}

/* For mobile menu dropdowns */
.mobile-dropdown .dropdown-menu {
  position: static;
  background-color: #f9f9f9;
  box-shadow: none;
}

.mobile-dropdown.open .dropdown-menu {
  display: block;
}

/*hero section styles*/
.hero-section {
  /*background-image: url('images/background1a.png');*/
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
   min-height: 100vh;
  background-color: var(--secondary-color);
  padding-top: 45px;/*important added*/
}

.hero-section .section-content{
    display: flex;
    align-items: center;
    min-height: 100vh;
    justify-content: space-between;
}

.hero-section .hero-details .title{ 
    font-size: var(--font-size-xxl);
    font-family: "Work Sans", sans-serif;
    color: var(--link-hover-color);
    display: flex;
    align-items: center;
    
}

.hero-section .hero-details .subtitle {
    font-size: var(--font-size-lg);
    color: rgb(199, 235, 247);
    margin-top: 8 px;
    max-width: 70%;
    font-weight: var(--font-weight-semibold);
}
.hero-section .hero-details .description { 
    font-size: var(--font-size-md);
    color: rgb(150, 207, 226);
    margin: 24px 0 40px;
    max-width: 70%;
    font-weight: var(--font-weight-medium);
}
.hero-section .hero-details .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.hero-section .hero-details .button {
  padding: 12px 32px;
  border-radius: 50px;
  font-size: var(--font-size-md);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Primary button (Get Started) */
.hero-section .hero-details .start {
  background: linear-gradient(90deg, var(--primary-color), var(--link-hover-color));
  color: var(--secondary-color);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-section .hero-details .start:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(90deg, var(--link-hover-color), var(--primary-color));
}

/* Secondary button (Contact Us) */
.hero-section .hero-details .contact-us {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  transition: all 0.3s ease-in-out;
}

.hero-section .hero-details .contact-us:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Optional: subtle glowing edge for both on hover */
.hero-section .hero-details .button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.hero-section .hero-details .button:hover::after {
  left: 0;
}
@media (max-width: 600px) {
  .hero-section .hero-details .button {
    width: 45%;
    text-align: center;
  }
}
.hero-section .hero-image-wrapper {
    max-width: auto;
    margin-right: auto;
    margin-right: 30px;
}
.hero-image {
  transition: transform 0.4s ease;
}
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.hero-image, .about-image,.service-image, .gallery-image,.feature-icon, .modal {
  animation: float 3s ease-in-out infinite;
}






/*about section styles*/
.about-section {
        padding: 120px 0;
        background: var();
        background-color: var(--secondary-color);
}      
.about-section .section-content {
        display: flex;
        gap: 50px;
        align-items: center;
        justify-content: space-between;
}
.about-section .about-image-wrapper .about-image {
        width: auto;    
        height: auto;
        object-fit: cover;
        align-items: center;
        border-radius: var(--border-radius-circle);     
}
.about-section .about-details .section-title, .section-title1{
    padding: 0;
}
.about-section .about-details {
    max-width: 50%;
}
.about-section .about-details .text {
       line-height: 30px;
       margin: 50px 0 30px;
       text-align: center;  
       font-size: var(--font-size-md);
       color: var(--heading-color);
}
.about-section .social-link-list {
    display: flex;
    gap: 30px;
    justify-content: center;
}
.about-section .social-link-list .social-link {
 
   font-size: var(--font-size-lg);
   color: var(--primary-color);
   


}
.about-section .social-link-list .social-link:hover {
    color: var(--link-hover-color);
    

    
}

.services-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.section-content {
  
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.services-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  padding: 0;
}

/* Scrollable list */
.services-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  margin: 0;                 /* prevent list margin */
  padding: 20px 0 20px 10px; /* no right padding to avoid scroll line */
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.services-list::-webkit-scrollbar {
  display: none;
}

/* Service cards */
.service-item {
  flex: 0 0 calc((100% - 40px) / 3); /* default: 3 per row */
  background:transparent;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.name {
  font-size: var(--font-size-lg, 1.25rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--link-hover-color);
}

.text {
  font-size: var(--font-size-md, 1rem);
  line-height: 1.6;
  margin-bottom: 15px;
  color:seashell
  
}

.learn-more {
  padding-top: 20px;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  color: seashell;
}
.learn-more:hover {
  color: var(--link-hover-color);
  transform: translateX(4px);
}

/* Arrow buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary-color, #1d56ac);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 5;
  transition: 0.3s;
}
.scroll-btn:hover {
  background: var(--primary-color, #1d56ac);
  color: #fff;
}
.scroll-btn.left { left: 10px; }
.scroll-btn.right { right: 10px; }

/* Tablet breakpoint: show 2 per screen */
@media (max-width: 1024px) {
  .service-item {
    flex: 0 0 calc((100% - 20px) / 2);
  }
  .about-section .section-content { 
        flex-direction: justify;
        align-items: center;
        gap: 70px;
}

.about-section .section-content .about-image-wrapper {
        width: auto;
        height: auto;
        max-width: 400px;
        aspect-ratio: 1;
}   
}

/* Mobile breakpoint: show 1 per screen */
@media (max-width: 640px) {
  .service-item {
    flex: 0 0 100%;
  }
  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

 /* Defining styles for the software and hardware section */
/* ensure relative positioning for overlay */

.section-content.software-section,
.section-content.hardware-section, .section-content.repair-section, .section-content.install-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Create a fixed background layer that stays still */
.section-content.software-section::before ,
.section-content.hardware-section::before, .section-content.repair-section::before, .section-content.install-section::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/background4.jpg') no-repeat center center / cover;
  z-index: -1; /* places background behind content */
  transform: translateZ(0); /* improves performance */
}

/* Optional overlay for text contrast */
.section-content.software-section .overlay,
.section-content.hardware-section .overlay, .section-content.repair-section .overlay, .section-content.install-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.35);
  z-index: 0;
  pointer-events: none;
}

.software-section,
.hardware-section, .repair-section, .install-section {
  position: relative;
  padding: 4rem 1rem;
  color: #fff;
  overflow: hidden;
  
}

.software-section .overlay, .hardware-section .overlay, 
.repair-section .overlay, .install-section .overlay{
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

strong {
  font-weight: bold;
color: var(--link-hover-color);
}

.software-section .container,
.hardware-section .container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.section-title {
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 1rem;
  padding:none;
  
}
.section-title1 {
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 1rem;
  padding-top: 160px;
  
}

.lead {
  font-size: 1.25rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.software-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Desktop: 4 columns */
@media (min-width: 1025px) {
  .software-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablets: 2 columns */
@media (min-width: 600px) and (max-width: 1024px) {
  .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 2 columns (keeps even layout) */
@media (max-width: 599px) {
  .software-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Optional: single column if screen is very tiny */
@media (max-width: 380px) {
  .software-grid {
    grid-template-columns: 1fr;
  }
}


.software-feature {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.feature-icon {
        max-width: 100%;
        aspect-ratio: 1;
        margin-bottom: 15px;
        object-fit: contain;
}
.feature-icon1 {
        max-width: 100%;
        aspect-ratio: 1;
        margin-bottom: 15px;
        object-fit: contain;
        padding-top: 18px;
}

.software-cta h2
 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  align-content: center;
}

.software-cta p
{
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  padding-bottom: 10px;
}
.btn:hover {
  background: var(--link-hover-color);
  transform: translateY(-2px);
}

/*defining styles for the hardware image rotator */
/* Responsive Grid */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Each Feature Box */
.hardware-feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

/* Image Rotator Container */
.image-rotator {
  position: relative;
  height: 200px;
  margin-top: 1rem;
}

.image-rotator img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: rotateImages 21s infinite;
}
/* Pause on hover */
.hardware-feature:hover .image-rotator img {
  animation-play-state: paused;

}

/* Assign delay for sync in each feature */
.hardware-feature .image-rotator img:nth-child(1) {
  animation-delay: 0s;
}
.hardware-feature .image-rotator img:nth-child(2) {
  animation-delay: 3s;
}
.hardware-feature .image-rotator img:nth-child(3) {
  animation-delay: 6s;
}
.hardware-feature .image-rotator img:nth-child(4) {
  animation-delay: 9s;
}
.hardware-feature .image-rotator img:nth-child(5) {
  animation-delay: 12s;
}
.hardware-feature .image-rotator img:nth-child(6) {
  animation-delay: 15s;
}
.hardware-feature .image-rotator img:nth-child(7) {
  animation-delay: 18s;
}




/* Keyframes for rotation */
@keyframes rotateImages {
  0% {
    opacity: 1;
    z-index: 1;
  }
  14.28% {
    opacity: 0;
    z-index: 0;
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
  
}
/* Responsive tweaks */
@media (max-width: 600px) {
  .section-title { font-size: 2rem; }
  .lead { font-size: 1rem; }
}

/* Defining styles for the repair-lab.html page*/
.hero-section1 {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('images/repair-hero.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    color: white;
    padding: 60px 20px;
    text-align: center;
  }

  .section-content1 {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
  }

  .device-list, .lab-benefits {
    list-style-type: none;
    padding: 0;
  }

  .device-list li, .lab-benefits li {
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0e0e0;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
  }

  .hover-animate:hover {
    color: var(--link-hover-color);
    background-color: none;
    transform: scale(1.03);
  }
  

  .repair-flowchart button.accordion, .process-flow button.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    transition: 0.4s;
  }

  .repair-flowchart .active, .repair-flowchart button.accordion:hover, 
  .process-flow .active, .process-flow button.accordion:hover {
    background-color: #ccc;
    
  }

  .repair-flowchart .panel, .process-flow .panel {
    padding: 0 18px;
    background-color: #eee;
    display: none;
    overflow: hidden;
  }
.repair-flowchart .panel p, .process-flow .panel p {
        color: var(--primary-color);
}
.accordion .icon {
    float: right;
    font-size: 1.6rem;
    transition: transform 0.3s;
    color: var(--link-hover-color);
  }
  
  .accordion.active span.icon {
  transform: rotate(90deg);
}


  .modal  {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 170px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }

  .modal h3{
        color: var(--link-hover-color);
  }

  .modal-content {
    color: #000;
    background-color: var(--secondary-color);
    margin: auto;
    padding: 20px;
    border: none;
    border-radius: var(--border-radius-m);
    width: 80%;
    max-width: 500px;
    position: relative;
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  @media (max-width: 768px) {
    .hero-section1 {
      padding: 40px 10px;
    }

    .hero-section1 h1 {
      font-size: 1.8rem;
    }

    .section-content1 {
      padding: 30px 10px;
    }

    .device-list li, .lab-benefits li {
      font-size: 1rem;
    }
  }

  @media (max-width: 480px) {
    .hero-section1 h1 {
      font-size: 1.5rem;
    }

    .device-list li, .lab-benefits li {
      font-size: 0.95rem;
      padding: 8px 0;
    }
  }

/* Defining styles for the installation-services.html page */
.section-content1 {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
  }

  .benefits-list {
    list-style: none;
    padding: 0;
  }

  .benefits-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0e0e0;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
  }

  .benefit-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    flex-shrink: 0;
  }

   .accordion .icon {
    float: right;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .accordion.active span.icon {
    transform: rotate(90deg);
  }

  .accordion.active,
  .accordion:hover {
    background-color: #d0e6f7;
  }

  
  @media (max-width: 768px) {
   
    .benefits-list li {
      font-size: 1rem;
    }
  }

  @media (max-width: 480px) {
    

    .benefits-list li {
      font-size: 0.95rem;
      padding: 8px 0;
    }

    .accordion {
      font-size: 1rem;
      padding: 12px 16px;
    }

    .panel {
      font-size: 0.95rem;
    }
  }

  .benefit-modal {
  display: none;
  margin-top: 10px;
 
}

.benefit-modal img {
  max-width: 80%;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.modal-trigger {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
  }






/*Partners section styles*/
.section-content {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.partners-section {
        padding: 60px 0;
        text-align: center;
        background-color: var(--white-color);
}

.partners-section .slider-wrapper {
  padding: 60px 0;
  text-align: center;
  background: #f8fafc; 
}
.swiper-slider {
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-wrapper {
  align-items: center;
  padding:40px 0;
}

/* Swiper slides */
.partners-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.partner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-section .section-content .text {
        font-size: var(--font-size-md);
        margin-bottom: 17px;
        text-align: center;
        color: var(--heading-color);
}
.gallery-section .section-content .text {
        font-size: var(--font-size-md);
        margin-bottom: 30px;
        text-align: center;
        color: seashell;
}

/* Uniform partner logo styling */
.partner-image {
  width: 180px;            /* uniform base width */
  height: 100px;            /* uniform base height */
  object-fit: contain;     /* keeps logo proportions */
  filter: grayscale(0%); /* optional: professional gray logos */
  opacity: 0.9;
  transition: all 0.3s ease;
}
.partner-image:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
/* Responsive resizing */
@media (max-width: 1024px) {
  .partner-image {
    width: 160px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .partner-image {
     width: 130px;
    height: 75px;
  }
   .partners-section .swiper-button-next, .partners-section .swiper-button-prev{
        display: none;
  }
}

@media (max-width: 480px) {
  .partner-image {
    width: 110px;
    height: 65px;
  }
  .partners-section .swiper-button-next, .partners-section .swiper-button-prev{
        display: hidden;
  }
 }




.partners-section .swiper-pagination-bullet {
        width: 15px;
        height: 15px;
        background: var(--primary-color);
        opacity: 1;
}
.partners-section .swiper-pagination-bullet-active {
        background: var(--link-hover-color);
}

.partners-section .swiper-button-next, .partners-section .swiper-button-prev{
        margin-top: -50px;
        color: var(--primary-color);
        transition: o.3s ease;
        width: 15px;
        
}

.partners-section .swiper-button-next:hover, .partners-section .swiper-button-prev:hover{
        
        color: var(--link-hover-color);
        transition: o.3s ease;
}


/* Gallery section styles*/
.gallery-section {
        background-color: var(--secondary-color); 
        padding: 50px 0 100px;
}

.gallery-section .gallery-list {
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
}

.gallery-section .gallery-list .gallery-item {
        overflow: hidden;
        border-radius: var(--border-radius-sm);
        width: calc(100% / 3 - 32px); 
}

.gallery-section .gallery-item .gallery-image {
        width: 100%;
        height: 100%;
        cursor: zoom-in;
        transition: 0.3s ease;
}
.gallery-section .gallery-item:hover .gallery-image {
        transform: scale(1.3);
}
.about-section {
  background-image: url('images/background8.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}
.form-title {
        text-align: center;
        font-size: var(--font-size-md);
        margin-bottom: 10px;
}

/*contact section styles*/
.contact-section {
        padding: 50px 0 100px;
        background-color: var(--white-color);
}

.contact-section .section-content {
        display: flex;
        gap: 50px;
        align-items: flex-start;/*meaning*/
        justify-content: space-between;
}

.contact-section .contact-info-list .contact-info {
        display: flex;
        gap: 20px;
        margin: 20px 0;
        align-items: center;    
}
.contact-section .contact-info-list .contact-info i {
        font-size: var(--font-size-md);
}

.contact-section .contact-form .form-input {
       width: 100%;
       height: 50px;
       padding: 0 12px;
       outline: none;
       margin-bottom: 16px;
       background-color: var(--secondary-color);
       border-radius: var(--border-radius-sm);
       border: 1px solid var(--medium-grey-color);
} 

.contact-section .contact-form {
        max-width: 50%;
        margin-top: 60px;
}

.contact-section .form-input:focus {
        border: 0px solid var(--primary-color);
        outline: none;
        box-shadow: 0 0 20px rgba(0, 51, 255, 1.5);
        border-radius: var(--border-radius-sm);
    
}

.contact-section .contact-form textarea .form-input {
        height: 140px;
        padding: 12px;
        resize: vertical;
}

.contact-section .contact-form .submit-button {
        padding: 10px 26px;
        margin-top: 10px;
        color: var(--secondary-color);
        font-size: var(--font-size-md);
        font-weight: var(--font-weight-medium);
        background: var(--primary-color);
        border-radius: var(--border-radius-m);
        border: 1px solid var(--primary-color);
        transition: 0.3s ease; 
}

.contact-section .contact-form .submit-button:hover {
        color: var(--primary-color);
        background: transparent;
}
.contact-section .contact-info-list .contact-info i{
        color: var(--primary-color);
        font-size: var(--font-size-lg);
        margin-right: 10px;
}
.contact-section .contact-info a{
        color: var(--heading-color); ;
        font-size: 16.3px;
        margin-right: 10px;
        font-family: "Merriweather", serif;
}
.contact-section .contact-info a:hover
 {
        color: var(--link-hover-color);
        text-decoration: underline;    
}

.contact-section .contact-info .fa-globe:hover,
.contact-section .contact-info .fa-phone:hover,
.contact-section .contact-info .fa-envelope:hover,
.contact-section .contact-info .fa-clock:hover,
.contact-section .contact-info .fa-location-crosshairs:hover {
        color: var(--link-hover-color);
}
/* Defining styles for the map section */
.map-container {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-top: 30px;
}


/* Defining styles for the footer */
.footer-section {
        padding: 20px 0;
        background: var(--dark-color);
}
.footer-section img{
  width: 40px;
  height: 40px;
  
}
.footer-section h2{
        color: var(--secondary-color);
}
    
  
.footer-section :where(.copyright-text, .social-link-list) {
        display: flex;
        justify-content: center;
        gap: 20px;
        align-items: center;
        color: var(--white-color);
}
.footer-section .copyright-text {
        padding-top: 10px;
}
.footer-section .social-link-list .social-link {
        color: var(--primary-color);
        transition: all 0.3s ease;
        font-size: var(--font-size-md);
        padding-top: 10px;
     
     }
.footer-section .social-link-list .social-link:hover {
         color: var(--link-hover-color);
         
     }


.country-presence {
  padding: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.country-card {
  background: var(--secondary-color);
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.country-card:hover {
  transform: translateY(-5px);
}

.country-card img {
  width: 40px;
  height: auto;
  margin-bottom: 10px;
}

.country-card p {
  font-size: 0.7rem;
  font-weight: 500;
  color: white
}


@media screen and (max-width: 1024px) {
        
        .services-section .services-list{
        gap: 60px;}

    .services-section .services-list .service-item {
        width: calc(100% / 2 - 70px); /*meaning*/
        text-align: center;
    }

    .services-section .services-list .service-item .name{
        font-size: var(--font-size-lg);
        font-weight: var(--font-weight-bold);
        margin: 12px 0;
    }
        
}
    

/* Responsive media query for max-width 900px */
@media screen and (max-width: 900px) {
    :root {
        --font-size-md: 1rem; 
        --font-size-lg: 1.25rem; 
        --font-size-xl: 1.5rem;  
        --font-size-xxl: 1.8rem;
}

/*blur effect for the header when the mobile menu is open*/
body.show-mobile-menu header::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0,0.2);
        pointer-events: none;
}
body.show-mobile-menu .nav-logo::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0,0.2);
        
}
.section-title1 {
        padding-top: 150px;
}
/* Defining styles for the navbar */
.navbar :where(#menu-close-button,
 #menu-open-button) {
        display: block;
        font-size: var(--font-size-lg);
}

.navbar #menu-close-button {
        position: absolute;
        color: var(--secondary-color);
        right: 20px;
        top: 56px;
}
    
.navbar #menu-open-button {
        color:var(--primary-color);
}

.navbar #menu-close-button:hover,.navbar #menu-open-button:hover {
        color: var(--link-hover-color);
} 
 
/*blur effect for whole page when the mobile menu is open*/
                      .navbar .nav-menu {
                          position: fixed;
                          top: 0;
                          left: -100%;
                          width: 100%;
                          height: 100%;
                          background: transparent;
                          display: flex;
                          flex-direction: column;
                          justify-content: center;  /* center vertically */
                          align-items: center;      /* center horizontally */
                          gap: 25px;
                          transition: left 0.3s ease;
                          z-index: 999;
                      }

body.show-mobile-menu .navbar .nav-menu {
        left: 0;
}
    
.navbar .nav-menu .nav-link, .toggle-dropdown {
        color: var(--white-color);
        display: block;
        margin-top: 17px;
        font-size: var(--font-size-lg);
}

/* Defining styles for the hero section */
.hero-section .section-content {
        flex-direction: column-reverse;
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        justify-content: center;
       
} 

.hero-section .hero-details :is(.title, .subtitle, .description), 
.about-section .about-details, .contact-section .contact-form {
        max-width: 100%;
        justify-content: center;
        
}

.hero-section .hero-details .buttons {
        justify-content: center;
}

.hero-section .hero-image-wrapper{
        max-width: auto;
        margin-right: 0;
        padding-top: 30px;
}
  
/*about section styles for mobile view*/
.about-section .section-content { 
        flex-direction: column;
        align-items: center;
        gap: 70px;
}

.about-section .section-content .about-image-wrapper {
        width: auto;
        height: auto;
        max-width: 400px;
        aspect-ratio: 1;
}   

.services-section .services-list{
        gap: 30px;}

 .services-section .services-list .service-item {
        width: calc(100% / 2 - 30px); /*meaning*/
        text-align: center;
    }
    
    .services-section .services-list .service-item .service-image {
        max-width: 200px;
        aspect-ratio: 1;
    }

    .gallery-section .gallery-list {
        gap: 30px;
    }

    .gallery-section .gallery-list .gallery-item {
        width: calc(100% / 2 - 32px); 
    }

    .contact-section .section-content {
        align-items: center;
        flex-direction: column-reverse;
    }

    
}


/* Responsive media query for max-width 640px */
@media screen and (max-width: 640px) {
        .services-section .services-list {
                gap: 60px;
            }
        .services-section .services-list .service-item,
        .gallery-section .gallery-list .gallery-item {
                width: 100%;
                text-align: center;
            }

            .partners-section .slider-wrapper{
                margin: 0 0 30px; 
            }
            
            .partners-section .swiper-slide-button {
                display: none;
            }

}


.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

.whatsapp-button {
  width: 30px;
  height: 30px;
  background-color: #4ce925;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.whatsapp-button:hover {
  color: var(--link-hover-color);
  transform: scale(1.1);
  transition: transform 0.3s; 
}

.whatsapp-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  width: 230px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  display: none;
  animation: fadeIn 0.3s ease;
}

.whatsapp-popup h4 {
  margin: 0 0 5px;
  font-size: 16px;
}

.whatsapp-popup p {
  font-size: 14px;
  margin-bottom: 10px;
}

.whatsapp-popup ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.whatsapp-popup li {
  margin-bottom: 8px;
}

.whatsapp-popup a {
  text-decoration: none;
  color: var(--link-hover-color);
  font-weight: bold;
}
.whatsapp-popup a:hover, .whatsapp-popup img:hover {
  color: #4ce925;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/*gallery corousel styles*/
.carousel {
  width: 100%;
  overflow: hidden;
  background: transparent;
  padding: none;
  position: relative;
}
.carousel .country-card{
  background: transparent
}

.carousel-track {
  display: flex;
  width: max-content; /* ensures full width */
  animation: scroll 70s linear infinite;
}

.carousel-group {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 3rem; /* consistent spacing between logos */
  flex :0 0 auto;
  padding: 1rem 1.5rem;
}

.carousel-group img{
  height: 140px;        /* larger default size */
  max-height: 30vh;     /* cap relative to screen height */
  width: auto;  
  object-fit: contain;
  filter: grayscale(0) brightness(100%);
  gap: 60px; /* consistent spacing between logos */
}

.carousel img {
   height: 140px;        /* larger default size */
  max-height: 30vh;     /* cap relative to screen height */
  width: auto;  
  object-fit: contain;
  filter: grayscale(0) brightness(0.9);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.carousel .country-card img {
  height: 40px;        /* larger default size */
  max-height: 10vh;     /* cap relative to screen height */
  width: auto;  
  object-fit: contain;
  filter: grayscale(0) brightness(0.9);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.carousel img:hover {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

/* Pause on hover */
.carousel-track:hover {
  animation-play-state: paused;
}

/* Seamless scroll */
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .carousel img { height: 100px; }
  .carousel .country-card img { height: 30px; }
}
@media (max-width: 768px) {
  .carousel img { height: 80px; }
  .carousel .country-card img { height: 30px; }
}
@media (max-width: 480px) {
  .carousel img { height: 70px; }
  .carousel .country-card img { height: 30px; }

}


                  /*all section styles for video background */
                  html, body {
                      height: 100%;
                      margin: 0;
                      padding: 0;
                  }

                  .hero-section ,.about-section, .services-section, .gallery-section,.footer-section{
                      position: relative;
                      overflow: hidden;
                      height: auto;          /**VERY IMPORTANT* Adjust height as needed */
                      display: flex;
                      align-items: center;
                      justify-content: center;
                       /* fallback background */
                  }
                  .contact-section, .partners-section{
                      position: relative;
                      overflow: hidden;
                      height: auto;          /**VERY IMPORTANT* Adjust height as needed */
                      justify-content: center;
                      background: white; /* fallback background */
                  }

                  .hero-video,.about-video,.service-video , .partners-video, .client-video, .contact-video {
                      position: absolute;
                      top: 0;
                      left: 0;
                      width: 100%;
                      height: 100%;
                      object-fit: cover;
                      z-index: 0;
                  }
                  .hero-video {
                      position: absolute;
                      
                  }
                  .about-section {
  background-image: var(--white-color);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}
                  

                  .video-overlay {
                      position: absolute;
                      top: 0;
                      left: 0;
                      width: 100%;
                      height: 100%;
                      background: linear-gradient(135deg, rgba(29,86,172,0.9), rgba(45, 88, 230, 0.192));
                      z-index: 1;
                  }
                  @keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.video-overlay.animated {
  background: linear-gradient(
    145deg,
    rgba(29, 86, 172, 0.85),
    rgba(45, 88, 230, 0.4),
    rgba(255, 255, 255, 0.05)
  );
  background-size: 300% 300%;
  animation: gradientShift 12s ease-in-out infinite;
}




                  .video-overlay1 {
                      position: absolute;
                      top: 0;
                      left: 0;
                      width: 100%;
                      height: 100%;
                      /*background: linear-gradient(135deg, rgba(218, 225, 236, 0.637), rgba(0,0,0,0.4));*/
                      background: linear-gradient(135deg, rgba(200, 200, 200, 0.8), rgba(50, 50, 50, 0.8));
                      z-index: 1;
                      filter: grayscale(100%) contrast(1.2) brightness(1.3);
                  }
                  

                  .section-content {
                      position: relative;
                      z-index: 2;
                      /*color: white;*/
                      text-align: left;
                      padding: 20px;
                  }
                  .hero-video ,.about-video, .service-video, .contact-video, .partners-video{
                    display: block;
                  }
                  video::-webkit-media-controls {
                    display: none !important;
                    -webkit-appearance: none;
                  }


/* =============== */
/* Peak POS Pro Loader */
/* =============== */
#loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 27, 51, 0.92) 0%,   /* #0a1b33 with 92% opacity */
    rgba(18, 62, 123, 0.92) 100% /* #123e7b with 92% opacity */
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader2 {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(2, 33, 65, 0.92) 0%,   /* #022141 with 92% opacity */
    rgba(5, 14, 19, 0.92) 100%  /* #050e13 with 92% opacity */
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden, 
#loader2.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Centered content */
.loader-content {
  text-align: center;
  color: #fff;
}

/* Logo animation */
.loader-logo {
  width: 300px;
  height: auto;
  animation: logoPulse 1.8s ease-in-out infinite alternate;
}

/* Rotating spinner */
.spinner {
  margin: 1rem auto;
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #00aaff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Loading text */
.loader-text {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #dce7ff;
  margin-top: 0.8rem;
  opacity: 0.9;
}

/* Animations */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes logoPulse {
  from { transform: scale(0.95); opacity: 0.7; }
  to { transform: scale(1.05); opacity: 1; }
}
