/* General Reset */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 15px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  align-items: center;
  margin-top:-10px;
}

.nav-links i {
  margin-right: 8px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
/* Contact Dropdown */
.contact-dropdown {
  position: relative;
}


.contact-menu {
  display: none;
  position: absolute;
  top: 20px;
  right: -30px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  min-width: 160px;
  z-index: 999;
  flex-direction: column;
  padding: 10px 0;
}

.contact-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

.contact-menu a:hover {
  background-color: #f0f0f0;
  color: #0077cc;
}

/* Show dropdown on hover */
.contact-dropdown:hover .contact-menu {
  display: flex;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(to right, #ffcc99, #ffffff);
  color: #333;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../IMAGES/background.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: -1;
}


/* Text container styling */
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
}

.cta-button {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  background: #0077cc;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 119, 204, 0.6);
}

/* Base pulse ring style */
.cta-button::after,
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  z-index: -1;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0, 119, 204, 0.4);
  animation: pulse-ring 3s infinite ease-out;
}

/* Second ring (delayed) */
.cta-button::before {
  animation-delay: 1s;
}

/* Optional: add a third ring with a span inside */
.cta-button .pulse {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  z-index: -2;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0, 119, 204, 0.4);
  animation: pulse-ring 3s infinite ease-out;
  animation-delay: 2s;
}

/* Keyframes for pulsing ring */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 119, 204, 0.4);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 119, 204, 0);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.stacked-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
}

.svg-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.section-title-decorated {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
}

.underline {
  display: block;
  width: 60px;
  height: 4px;
  background: #2575fc;
  margin: 12px auto 0;
  border-radius: 2px;
}

.stacked-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.card.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  color: #222;
  transition: transform 0.3s;
}

.card-icon {
  font-size: 2.5rem;
  color: #444;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.card p {
  font-size: 1rem;
  color: #444;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.separator::before,
.separator::after {
  content: '';
  width: 30%;  /* Adjust this percentage */
  border-bottom: 2px solid #ccc;
}
.separator:not(:empty)::before {
  margin-right: .75em;
}
.separator:not(:empty)::after {
  margin-left: .75em;
}
.separator span {
  font-weight: bold;
  font-size:24px;
}
.separator .highlight {
  position: relative;
  color: #0077cc; /* Optional: accent color */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.separator .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px; /* Adjust spacing below text */
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #0077cc, #00c6ff);
  border-radius: 2px;
}

/* Services */
.services {
  padding: 60px 20px;
  text-align: center;
}


.services h2 {
  font-size:28px;
  margin-bottom:50px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Blur loading effect */
.service-card img {
  width: 100px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;

  filter: blur(15px);
  transform: scale(1.05);
  opacity: 0.6;

  transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}

/* When image loads */
.service-card img.loaded {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

hr {
  border: none;
  height: 2px;
  width: 80%;            /* or any desired width */
  background-color: #ccc;
  margin: 40px auto;     /* top/bottom space + auto left/right to center */
}


/* Services Summary Section */
.summary-section {
  padding: 60px 20px;
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.summary-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 40px;
}

.summary-image,
.summary-text {
  flex: 1 1 300px;
  max-width: 500px;
  box-sizing: border-box;
}
.summary-image {
  flex: 1 1 300px;
  max-width: 500px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.summary-image img {
  width: 60%;
  height: auto;
  border-radius: 10px;

  /* Loading effect */
  filter: blur(20px);
  transform: scale(1.05);
  opacity: 0.6;

  transition: filter 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
}

/* When image finishes loading */
.summary-image img.loaded {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}


.summary-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.summary-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}


/* Batch Processing Section */
.batch-section {
  padding: 20px 20px;
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.batch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 40px;
}

.batch-text,
.batch-image {
  flex: 1 1 300px;
  max-width: 500px;
  box-sizing: border-box;
}
.batch-image {
  flex: 1 1 300px;
  max-width: 500px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}


.batch-image img {
  width: 60%;
  height: auto;
  border-radius: 10px;

  /* Loading effect */
  filter: blur(20px);
  transform: scale(1.05);
  opacity: 0.6;

  transition: filter 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
}
.batch-image img.loaded {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

.batch-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.batch-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}


th, td {
  padding: 15px;
  border: 1px solid #ddd;
}

th {
  background-color: #0077cc;
  color: white;
}

/* Contact Section Styling */
.contact {
  text-align: center;
  padding: 40px 20px;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.contact p {
  font-size: 1.2rem;
  margin: 15px 0;
}

.contact i {
  font-size: 1.6rem;   /* Bigger icons */
  margin-right: 10px;
  color: #25D366;      /* Default WhatsApp green for both */
  vertical-align: middle;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Hover Effects */
.contact p:hover i {
  transform: scale(1.2);
  color: #0073e6; /* Email blue / highlight */
}

.contact p:hover a {
  color: #0073e6;
}

.chat-helper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-family: 'Segoe UI', sans-serif;
}

.chat-button {
  background: #0077cc;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 119, 204, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 119, 204, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 119, 204, 0.7);
  }
}


.chat-button:hover {
  transform: scale(1.05);
}

.chat-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px;
  width: 260px;
  margin-top: 10px;
}

.chat-box p {
  margin-top: 0;
  font-weight: bold;
}

.chat-box ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.chat-box ul li {
  margin-bottom: 8px;
}

.chat-box ul li a {
  text-decoration: none;
  color: #0077cc;
  font-size: 0.8rem;
}

.cursor-dot,
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #0077cc;
  transition: transform 0.08s linear;
}

.cursor-trail {
  width: 20px;
  height: 20px;
  background-color: rgba(0, 119, 204, 0.2);
  transition: transform 0.2s ease-out;
}
.hidden {
  display: none;
}
.image-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px;
  flex-wrap: wrap; /* prevents overlap */
}

.tool-link {
  text-decoration: none;
  display: block; /* ensure full clickable area */
  width: 300px;
  height: 300px;
}

.tool-link:visited,
.tool-link:active {
  color: inherit;
}

.flip-container {
  perspective: 1000px;
  width: 300px;
  height: 300px;
}

.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s ease;
  transform-style: preserve-3d;
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.front img, .back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back {
  transform: rotateY(180deg);
}

.pdf-tools-section {
  padding: 20px 20px;
  text-align: center;
  background-color: #f8f9fb;
}

.pdf-tools-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}


.tools-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.animated-title span {
  display: inline;
  opacity: 1;
  transform: none;
  animation: none !important;
}


/* Hide/show desktop/mobile sections */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}
/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #e0e0e0;
  font-size: 0.9rem;
}
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
    justify-content: center;
    padding: 20px;
  }
  .separator span {
  font-size:16px;
}
}
@media (max-width: 660px) {
.logo img {
height: 20px;
}
.navbar {
  padding: 5px 15px;
}
.nav-links li a {
font-size:8px
}
.nav-links {
  gap: 10px;
  padding: 0px 0px;
}
.hero h1 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1rem;
}

.separator::before,
.separator::after {
  display: none;
  content: '';
  width: 30%;  /* Adjust this percentage */
  border-bottom: 1px solid black;
}
.separator:not(:empty)::before {
  margin-right: .70em;
}
.separator:not(:empty)::after {
  margin-left: .70em;
}
.separator span {
  font-size:20px;
}

.batch-image img {
  max-width: 400px;
}

.batch-text h2 {
  font-size: 1.2rem;
}

.batch-text p {
  font-size: 0.8rem;
}
.summary-text h2 {
  font-size: 1.2rem;
}

.summary-text p {
  font-size: 0.8rem;
}
}
@media (max-width: 460px) {

.navbar {
  padding: 5px 10px;
}
.logo img {
height: 20px;
}
.contact-menu {
  top: 20px;
  right: -30px;
  min-width: 100px;
}
.contact-menu a {

  padding: 5px 10px;

}
.services {
  padding: 20px;
  text-align: center;
}
.hero h1 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1rem;
}
.separator span {
  font-size:16px;
}
.batch-image img {
  max-width: 400px;
}

.batch-text h2 {
  font-size: 1.1rem;
}

.batch-text p {
  font-size: 0.6rem;
}
.summary-section {
  padding: 40px 16px;
}
.summary-container {
  flex-direction: column;
  align-items: center;
}
.summary-image,
.summary-text {
  flex: 1 1 0px;

}
.summary-text h2 {
  font-size: 1.1rem;
}

.summary-text p {
  font-size: 0.5rem;
}
.contact h2 {
  font-size: 1.6rem;
}

.contact p {
  font-size: 0.8rem;
}
.hero h1 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 0.8rem;
}
.cta-button {
  margin-top: 15px;              
  padding: 8px 16px;             
  font-size: 0.6rem;   
  border-radius: 6px;            
}

.separator::before,
.separator::after {
  display: none;
  content: '';
  width: 30%;  /* Adjust this percentage */
  border-bottom: 1px solid black;
}
.separator:not(:empty)::before {
  margin-right: .70em;
}
.separator:not(:empty)::after {
  margin-left: .70em;
}
.separator span {
  font-size:16px;
}

.tools-description {
  font-size: 0.6rem;
}
.tool-link {
  text-decoration: none;
  display: block; /* ensure full clickable area */
  width: 220px;
  height: 220px;
}
.flip-container {
  perspective: 1000px;
  width: 220px;
  height: 220px;
}
.contact {
  max-width: 80%;
}
.pdf-tools-section h2 {
  font-size: 1.2rem;
}
footer{
  font-size: 0.5rem;
}
}