* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #2480fc;
    --text-color: #27344a;
    --bg-color: #fff;
  }
  body,
  html {
   
    background-color: #f5f5f5;
  }
  

.h1 {
      color: white !important;
}

.h2 {
  color: white !important;
}
 /* New styling css till footer code comment */
.main-section {
  background-color: #007bff;
  min-height: 1500px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 20px 20px;
}

/* Navbar styling */

.navbar {
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: absolute;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  max-width: 60rem;
  width: calc(100% - 40px);
  border-radius: 10px;
  box-sizing: border-box;
  z-index: 10;
  top: 20px !important;
  height: 57.03px !important;
}

.navbarv2 {
  background-color: white !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
  position: absolute !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.logo-nav-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 30px;
}

.apilayer-nav-links {
  margin: 0px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  color: var(--text-color);
  text-decoration: none;
  font-size: 15px;
}

.dropdown {
  position: relative;
}

/* .dropdown-toggle::after {
  content: url('https://apilayer.com/wp-content/themes/hello-theme-child/assets/apilayer/css/<?php_echo_get_stylesheet_directory_uri(); ?>/assets/apilayer/images/down.svg') !important;
} */

.dropdown-toggle::after {
    color: #0083ff !important;
}

.dropdown-menu {
  display: none;
  transition: opacity 3s ease;
  position: absolute;
  background-color: var(--bg-color);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 20;
  border-radius: 5px;
  padding: 2px;
  min-width: 6.5rem !important;
}

.dropdown-menu.active {
  display: block;
  transition: opacity 3s ease;
}

.dropdown-menu a {
  color: var(--text-color);
  padding: 8px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-menu a:hover {
  /* background-color: #f1f1f1; */
  border-radius: 5px;
  padding: 8px 16px;
}

.button-group {
  display: flex;
  gap: 10px;
}

.button {
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

.sign-up-button {
  background-color: #f0f0f0;
  color: var(--text-color);
}

.start-building-button {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger img {
  width: 25px;
}

.menu-icon {
  display: block;
}

.background-circles {
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  height: 68%;
  width: 100%;
}

.background-blur-1, .background-blur-2 {
  position: absolute;
  height: 100%;
  width: 100%;
}

.type-code p, .type-code span, .type-code pre code {
  font-size: 1.06875rem;
  line-height: 100%;
  margin-bottom: 0rem;
}

/* .dropdown:hover .dropdown-menu {
  display: block;
} */

.type-code {
  min-width: 0rem;
  min-height: 300px;
}
/* 
@media (max-width: 550px) {
 .type-code {
   min-width: 0rem !important;
 }
} */

@media (min-width: 1025px) {
  .hamburger {
    display: none;
  }

  .type-code {
    min-width: 30rem !important;
  }

  .apilayer-nav-links,
  .button-group {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* Resposive styling */
/* Tablet Screen (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .apilayer-nav-links,
  .button-group {
    display: none;
  }

  .type-code {
    min-width: 0rem;
  }

  .navbar {
    padding: 10px;
    /* left: 70%; */
    background-color: #2480fc;
    /* min-height: ; */
  }

  .logo-nav-group {
    gap: 10px;
  }

 
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    padding: 20px;
    z-index: 1000;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }

  .mobile-nav-links {
    margin-top: 40px;
  }

  .mobile-nav-item,
  .mobile-dropdown-menu a {
    color: var(--bg-color);
    font-size: 24px; 
    text-decoration: none;
    padding: 10px 0;
  }


  .mobile-button-group {
    margin-top: 25px;
    flex-direction: column;
  }

  .mobile-button {
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
  }

  .mobile-sign-up-button {
    background-color: white;
    color: black;
    border: 1px solid var(--bg-color);
    margin: 0px 10px;
  }

  .mobile-start-building-button {
    background-color: #0052cc;
    color: white;
  }

  .background-circles {
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    height: 80%;
    width: 100%;
  }

  .content {
    margin-top: 75%;
  }

  .numbers-section-1 {
    margin-top: 37%;
  }

  .icon-7 {
    top: 11%;
    left: 46.5%;
  }

  .icon-11 {
    top: 10%;
    left: 60%;
  }

  .icon-8 {
    top: 12%;
    right: 8%;
  }

  .icon-4 {
    top: 36%;
    left: 12%;
  }

  .icon-6 {
    top: 40%;
    right: 21%;
  }

  .icon-10 {
    top: 54%;
    left: 7.5%;
  }
  
  .icon-1 {
    top: 49%;
    right: 48%;
  }

  .icon-9 {
    top: 58%;
    right: 12.5%;
  }

  .group-section h3 {
    font-size: 2rem !important;
  }

  .numbers-heading {
    padding-left: 79px;
    padding-bottom: 0px;
    padding-top: 0px;
    padding-right: 0px;
  }

  .numbers-heading h3 {
    max-width: 55%;
  }

  .marketplace-heading {
    padding-left: 30px;
    margin-top: 40px;
    padding-bottom: 40px;
    padding-top: 40px;
  }

  .grouping-heading {
    padding-left: 80px ;
    margin-top: 40px !important;
    padding-bottom: 40px;
    padding-top: 40px !important;
  }

  .feature-tag {
    margin-right: 11rem;
  }

  .feature-main-title h4 {
    text-align: left;
      font-size: 1.125rem;
      line-height: 116% !important;
  }
/* 
  .feature-main-title {
    padding-left: 4.5rem;
  } */

  .type-declaration img {
    position: absolute;
    transform: scale(0.8);
  }

  .Feature-ipstack {
    padding: 0px 64px;
  }

  .Feature-ipstack-section {
    padding: 0px;
    gap: 30px;
    flex-direction: row !important;
  }
  
  .feature-use-cases-title {
    font-size: 2rem !important;
  }

    .accordion-title h5,
    .insights-card h5 {
      font-size: 1.25rem;
    }

  .feature-use-cases-right img {
    transform: scale(0.9);
    margin-top: 3rem;
  }

  .feature-use-cases-right p {
    margin-left: 2.8rem;
    margin-bottom: 1.75rem;
  }

  .use-cases-button {
    margin-top: 6vh;
    padding-bottom: 0px;
  }

  .powerful-api-left-section h3 {
    font-size: 2rem;
  }

  .feature-use-cases-left {
    padding: 42px;
  }

  .use-cases-right-text {
    margin-left: 1rem;
    margin-bottom: 1.75rem;
  }

  .insights-container {
    padding: 0px 0px 2rem 1.5rem;
  }

  .insights-clients-tag {
    margin-left: 46px;
  }

  .testimonial-section-title {
    padding: 10px 0px;
  }

    .testimonial-section {
      padding: 50px 80px;
    }

  .insights-header h3 {
    font-size: 2.5rem !important;
    margin-left: 3rem;
  }

  .insights-header p {
    max-width: 70% !important;
    padding-left: 3rem !important;
    margin: 0 !important;
  }

  .insights-carousel-track {
    margin-left: 0px;
  }

    .testimonial-section {
      min-height: 100%;
    }

    .group-section {
      padding-top: 0px;
      margin-top: 0px;
    }

    .Feature-Ipcard-section {
          padding: 100px 50px;
    }
}

/* Mobile Screen (Max-width: 768px) */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .insights-carousel-track {
    margin-left: 35px;
  }

  .apilayer-nav-links,
  .button-group {
    display: none;
  }

  .navbar {
    padding: 10px;
    /* left: 50%; */
  }

  .navbarv2 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    padding: 20px;
    z-index: 1000;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }

  .mobile-header img {
    height: 30px;
  }

  .mobile-nav-links {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-nav-item,
  .mobile-dropdown-menu a {
    color: var(--bg-color);
    font-size: 28px;
    text-decoration: none;
  }

  .mobile-dropdown-menu {
    margin-left: 50px;
    display: none;
    flex-direction: column;
    font-size: 28px;
  }

  .mobile-dropdown-menu.active {
    display: flex;
  }

  .mobile-button-group {
    margin-top: 25px;
    flex-direction: column;
  }

  .mobile-button {
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
  }

  .mobile-sign-up-button {
    background-color: white;
    color: black;
    border: 1px solid var(--bg-color);
    margin: 0px 10px;
  }

  .mobile-start-building-button {
    background-color: #0052cc;
    color: white;
  }

  .background-circles {
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    height: 68%;
    width: 100%;
  }

}

/* Hero section */

.content {
  position: relative;
  text-align: center;
  color: white;
  max-width: 700px;
  z-index: 2;
  margin-top: 75%;
  padding: 0px 5px;
}

.content h1 {
  font-size: 4.75rem;
  margin-bottom: 20px;
}

.content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #27344a;
  font-size: 0.875rem !important;
  line-height: 1 !important;
  color: white;
  padding: 12px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
  cursor: pointer;
  border: 1px solid #000000;
}

.cta-button:hover {
  background-color: #FFFFFF;
  color: #27344a;
  border: #E4EBEF;
  transition: 0.3s ease;
}


.icon-wrapper {
  position: absolute;
  cursor: pointer;
  z-index: 5;
}

.icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.tooltip {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%) !important;
  padding: 6px 12px;
  background-color: #ffffff;
  color: #2480FC;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  margin-bottom: 8px;
  margin-left: 8px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  pointer-events: none;
}

.tooltip-left {
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%) !important;
  padding: 6px 12px;
  background-color: #ffffff;
  color: #2480FC;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  margin-bottom: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  margin-right: 8px !important;
}

.tooltip-left::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -13px !important;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #ffffff !important;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -13px !important;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #ffffff !important;
}

.icon-wrapper:hover .icon {
  transform: scale(1.1);
}

.icon-wrapper:hover .tooltip {
  opacity: 1;
  visibility: visible;
  margin-bottom: 8px;
}


/* Icon positions */
.icon-1 { top: 52.5%; right: 52%; }
.icon-2 { top: 13%; right: 18.5%; }
.icon-4 { top: 13%; left: 18.5%; }
.icon-5 { top: 39%; left: 21.5%; }
.icon-6 { top: 40%; right: 32%; }
.icon-7 { top: 25%; left: 8.5%; }
.icon-8 { top: 26%; right: 8.5%; }
.icon-9 { top: 48%; right: 9.5%; }
.icon-10 { top: 50%; left: 11.5%; }
.icon-11 { top: 5%; left: 5%; }
.icon-12 { top: 6%; right: 5%; }

/* Rest of your existing CSS */

.circle {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  pointer-events: none;
}

.circle-1 { width: 750px; height: 750px; }
.circle-2 { width: 950px; height: 950px; top: 36%; }
.circle-3 { width: 1150px; height: 1150px; top: 38%; }
.circle-4 { width: 1250px; height: 1250px; top: 40%; }

.stats-heading {
  max-width: 800px;
  color: white;
  font-size: 30px;
}

.curve-card-container {
  width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Shows 3 cards in a row */
    gap: 20px;
    /* padding: 0 20px; */
  }


.curve-card-container .card {
  background-color: white;
  border-radius: 7px;
  padding: 40px;
  position: relative;
  /* width: 370px; */
  max-width: 35rem;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  flex: 0 1 auto;
}

.curve-card-container .card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 60px;
  background-color: #007bff;
  border-top-left-radius: 10px;
  clip-path: polygon(100% 10, 0 100%, 100% 100%);
}

.curve-card-container .card::before {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 149px;
  width: 40px;
  height: 60px;
  background-color: #007bff;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.numbertiles {
  position: absolute;
  font-size: 100px;
  font-weight: bold;
  line-height: 1;
  margin-top: 80px;
  margin-left: -25px;
}

.number-dark { color: #2d3748; }
.number-light { color: #007bff; }

.card .text {
  position: absolute;
  color: #718096;
  font-size: 20px;
  margin-top: 250px;
  margin-left: -30px;
}

/* Animations */
@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  80% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pop-animation {
  opacity: 0;
}

.pop-animation.animate {
  animation: popIn 0.5s ease-out forwards;
}

.fade-in-animation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-animation.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Add these media queries to your existing CSS to small screen */
@media screen and (min-width: 769px) and (max-width: 1024px) {
       
  .curve-card-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 10px;
    margin-top: 2%;
  }

  .curve-card-container .card {
    width: 100%;
    height: 330px; /* Slightly smaller height for tablets */
    padding: 30px;
  }

  .numbertiles {
    font-size: 70px;
    margin-top: 50px;
  }

  .card .text {
    margin-top: 180px;
    font-size: 16px;
  }
  
  .icon-3,
  .icon-5,
  .icon-12,
  .icon-2 {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .content {
    padding: 0 20px;
    top: 15%;
    margin-top: 35vh !important;
  }

  .content h1 {
    font-size: 50px;
    margin-bottom: 15px;
  }

  .content p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .stats-heading {
    text-align: start;
    transform: translateX(-50%);
    width: 70%;
    top: 50%;
  }

  .stats-heading h2 {
    font-size: 30px;
  }

  .curve-card-container {
    /* padding: 0 20px; */
    margin-top: 10%;
  }
  .curve-card-container {
    grid-template-columns:  1fr;
    gap: 15px;
    /* padding: 0 15px; */
  }

  .curve-card-container .card {
    width: 100%;
    height: 250px; /* Slightly smaller height for tablets */
    padding: 30px;
  }
  .curve-card-container .card::after {
    border: none;
  }

  .curve-card-container .card::before {
    border: none;
  }

  .numbertiles {
    font-size: 80px;
    margin-top: 60px;
  }

  .card .text {
    margin-top: 200px;
    font-size: 18px;
    padding: 0px 4px;
  }

  /* Adjust circle sizes for mobile */
  .circle-1 {
    width: 300px;
    height: 300px;
  }
  .circle-2 {
    width: 400px;
    height: 400px;
  }
  .circle-3 {
    width: 500px;
    height: 500px;
  }
  .circle-4 {
    width: 600px;
    height: 600px;
  }

  /* Hide specific icons on mobile */
  .icon{
    width: 30px;
    height: 30px;
  }
  .icon-3,
  .icon-5,
  .icon-7,
  .icon-12,
  .icon-8,
  .icon-9 {
    display: none;
  }

  /* Reposition remaining icons for mobile */
  
  .icon-1 {
    top: 10%;
    left: 44%;
  }

  .icon-4 {
    top: 34%;
    left: 10%;
  }


  .icon-10 {
    top: 34%;
    left: 75%;
  }

  .icon-6 {
    top: 14%;
    right: 15%;
  }
  .icon-2 {
    top: 38%;
    left: 41%;
  }
  .icon-11 {
    top: 14%;
    left: 10%;
  }
}

/* Additional breakpoint for very small screens */
@media screen and (max-width: 480px) {
  .content h1 {
    font-size: 48px;
  }

  .content p {
    font-size: 12px;
  }

  .stats-heading {
    text-align: start;
    transform: translateX(-50%);
    width: 70%;
    top: 45%;
  }

  .stats-heading h2 {
    font-size: 25px;
  }

  .curve-card-container {
    margin-top: 10%;
  }

  .curve-card-container .card {
    height: 200px;
  }
  .curve-card-container .card::after {
    border: none;
  }

  .curve-card-container .card::before {
    border: none;
  }

  .numbertiles {
    font-size: 60px;
    margin-top: 40px;
  }

  .card .text {
    margin-top: 160px;
    font-size: 16px;
  }

  .background-circles {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 130%;
    z-index: 0;
  }

  .cta-button{
    font-size: 10px;
  }

}

.arrow-icon path {
  fill: #37C625;
  stroke: #37C625;
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.cta-button:hover .arrow-icon path {
  fill: #2480FC;
  stroke: #2480FC;
}

.arrow-icon path {
  fill: #37C625;
  stroke: #37C625;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

#signInButton:hover .arrow-icon path {
  fill: #2480FC;
  stroke: #2480FC;
}

  /* Common Styles */
  .newsletter,
  .Connect,
  .sitemap,
  h3 {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin: 0;
  }
  @media (max-width: 768px) {
    .content-grid {
      margin-bottom: 50px !important;
      grid-template-columns: 1fr !important;
    }
    .footer-bottom {
      flex-direction: column !important;
      align-items: flex-start !important;
    }
    .footer-links {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px 20px !important;
      width: 100% !important;
      margin-top: 10px !important;
    }
    .footer-links a {
      margin: 0px 20px 10px 0 !important;
    }
    .api-container {
      padding: 0px 0px;
    }
  }