
/* Base Styles */
img {
  max-width: 100%;
  height: auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-3d-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.diff-col{
  color: #1e88e5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-description {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-content .b-box {
  position: absolute;
  background-color: #0e3365;
  height: 40px;
  width: 155px;
  margin-top: 118px;
  right: 1.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 47%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.start-section{
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .scroll-indicator {
   margin-right: 50%;
  }
  
  .cta-buttons {
    flex-direction: row;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Quick Links Section */

.quick-links-section {
  padding: 3rem 0;
  position: relative;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 1.5rem;
}

.quick-link-card {
  background-color: #ffffff;
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.2);
  text-decoration: none;
  color: inherit;
}

.quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.quick-link-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgb(0, 0, 0);
}

.quick-link-card p {
  color: rgb(0, 0, 0);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.link-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  color: var(--zhahi-teal);
  transition: transform 0.3s ease;
}

.quick-link-card:hover .link-arrow {
  transform: translateX(5px);
}

/* Services Section */
.services-section {
  overflow: hidden;
  padding: 2rem 0;
}



.swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.swiper-slide {
  flex: 1 1 100%;
  min-width: 0;
}

.slider-card {
  background-color: #ffffff;
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgb(0, 0, 0);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.slider-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.slider-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(11, 11, 11);
  margin-bottom: 1rem;
}

.slider-description {
  color: rgb(0, 0, 0);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.slider-icon {
  display: flex;
  justify-content: space-between;
  font-size: 2.5rem;
  color: var(--zhahi-teal);
  margin-bottom: 1rem;
}

.service-features {
  color: black;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  flex-grow: 1;
}

.service-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
}

.feature-icon {
  color: var(--zhahi-teal);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.btn-container{
  color: white;
  display: flex;
  justify-content: center;
}

.btn-primary {
  background-color: #1e88e5;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.70rem 1.5rem;
  font-size: 1rem;
}



/* About Section */

.about-company-section {
  padding: 4rem 0;
  position: relative;
}

.about-company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 0 1.5rem;
}

.about-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(100, 255, 218, 0.2);
  color: #000;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1e88e5;
}

.about-card p {
  color: #333;
  font-size: 0.95rem;
}

.cta-box {
  background-color: rgba(30, 136, 229, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .about-company-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .about-company-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* Trusted By Section */
.trusted-by-section {
  padding: 3rem 0;
  text-align: center;
}

.trusted-title {
  color: var(--zhahi-teal);
  margin-bottom: 2rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  padding: 0 1.5rem;
}

.client-logos img {
  height: 40px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.client-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Differentiators Section */
.differentiators-section {
  padding: 4rem 0;
}

.differentiators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.diff-card {
  background-color: rgba(30, 136, 229, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(100, 255, 218, 0.2);
  transition: transform 0.3s ease;
}

.diff-card:hover {
  transform: translateY(-5px);
  background-color: rgba(30, 136, 229, 0.2);
}

.diff-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.diff-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}

.diff-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Tech Stack Section */
.tech-stack-section {
  padding: 4rem 0;
}

.tech-stack-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: white;
  border: 1px solid var(--zhahi-teal);
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background-color: var(--zhahi-teal);
  color: var(--zhahi-dark-navy);
}

.tab-btn:hover {
  background-color: rgba(0, 172, 193, 0.2);
}

.tech-stack-content {
  padding: 1rem;
}

.tech-stack-pane {
  display: none;
}

.tech-stack-pane.active {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.tech-item img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.tech-item span {
  color: white;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 0;
}

.testimonials-slider {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 8px;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: rgba(30, 136, 229, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(100, 255, 218, 0.2);
  width: 600px;
  /* flex-basis: 33.33%; */
  margin: 0 auto;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  color: var(--zhahi-teal);
  font-size: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h4 {
  color: white;
  margin-bottom: 0.25rem;
}

.client-info p {
  color: var(--zhahi-teal);
  font-size: 0.9rem;
}


/* CTA Section */
.cta-section {
  background-color: #222563;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--zhahi-dark-navy);
}

.cta-section h2 {
  color: var(--zhahi-teal);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  color: white;
  gap: 1rem;
  justify-content: center;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .differentiators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .client-logos img {
    height: 60px;
  }
}

@media (min-width: 1024px) {
  .differentiators-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer */
.footer {
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1.5rem;
}

.footer-col {
  margin-bottom: 2rem;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-desc {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  font-size: 1.25rem;
}

.footer-heading {
  font-size: 1.25rem;
  color: #00acc1;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--zhahi-teal);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: white;
  font-size: 0.95rem;
}



.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
}

/* Popup Overlay with blur */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Popup Box */
.popup-content {
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 15px;
  max-width: 90%;
  width: 90%;
  margin: 1rem;
  text-align: center;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
/* Close Button */
.close-btn {
  position: absolute;
  color: var(--zhahi-teal);
  top: 15px;
  right: 20px;
  font-size: 25px;
  cursor: pointer;
}

#popup-image {
  max-width: 100% ; 
  margin-bottom: 1rem ;
}

@media (min-width: 768px) {
  .popup-content {
    padding: 2rem;
    max-width: 500px;
  }
  
  #popup-image {
    max-width: 30% ;
  }
}

/* Mobile Menu */

.mobile-menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Media Queries */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content .b-box {
    right: auto;
    left: calc(100% - 175px);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(3rem, 6vw, 4rem);
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  
  .swiper-slide {
    flex: 1 1 calc(50% - 1.5rem);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-menu {
    display: none;
  }
  
  .mobile-menu-button {
    display: none;
  }
}

@media (min-width: 1024px) {
  .quick-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .swiper-slide {
    flex: 1 1 calc(33.333% - 1.5rem);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stats-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }

  .testimonials-slider{
    display: block;
  }

  .testimonial-card{
    width: 100%;
    margin-bottom: 20px;
    
  }
  
  .mobile-menu-button {
    display: block;
  }
}