
@import url('https://fonts.googleapis.com/css2?family=Poppins: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&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins: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&display=swap');

:root {
  --primary-color: #18ae9b;
  --secondary-color: #1876ae;
  --ternary-color: #51565a;
  --white-color: #ffffff;
  --highlight-color: #51565a;
  --text-color: #333;
  --margin-small: 5px;
  --margin-large: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.navbar{
  background: #fff;
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-family: "Poppins", sans-serif;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a{
  text-decoration: none;
  font-weight: 500;
  width: auto;
  text-align: center;
  padding: 5px 0px;
  margin: 5px 10px;
}

.nav-links a:nth-child(-n+3) {
  position: relative;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  overflow: hidden;
  background: linear-gradient(to right, var(--primary-color), var(--primary-color) 50%, var(--ternary-color) 50%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 100%;
  transition: background-position 275ms ease;
}

/* Gradient transition effect */
.nav-links a:nth-child(-n+3):hover {
  background-position: 0 100%;
}

/* Underline effect */
.nav-links a:nth-child(-n+3)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

/* Underline animation on hover */
.nav-links a:nth-child(-n+3):hover::after {
  width: 100%; 
}

.nav-links .contact-us {
  padding: 5px 10px;
  font-weight: normal;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.nav-links .contact-us:hover {
  font-weight: normal;
  color: var(--white-color);
  background-color: var(--primary-color);
}



.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 45px;
}

.logo-text1 {
  color: var(--primary-color);
}

.logo-text2 {
  color: var(--secondary-color);
}


.logo-text3 {
  color: var(--primary-color);
  letter-spacing: 1px;
  text-decoration: overline;
}

.logo-text1, .logo-text2{
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: -2px 2px #2c3e503d;
}

.hero {
  /* background: linear-gradient(135deg, #3498db, #2c3e50); */
  background: linear-gradient(135deg, #3498db, var(--primary-color));
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  color: white;
}

.base-navbar {
  position: absolute;
  top : 5rem;
  /* z-index: 2000; */
  padding: 1rem 0;
}

.base-navbar .base-nav-links{
  color: var(--highlight-color);
}

.base-navbar a{
  text-decoration: none;
  color: var(--highlight-color);
}


.hero-content {
  max-width: 600px;
  padding-top: 60px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  background: #e74c3c;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #c0392b;
}

.services {
  padding: 5rem 5%;
  background: #f9f9f9;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.service-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
  margin: 1rem 0;
  color: #2c3e50;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

#linked-in, #facebook, #instagram, #twitter{
  transition: all 0.2s ease-in-out;
}

.service-card:hover #linked-in {
  color:var(--primary-color);
}

.service-card:hover #twitter {
  color:var(--primary-color);
}

.service-card:hover #facebook{
  color:rgb(0, 60, 255);
}

.service-card:hover #instagram{
  background: linear-gradient(to right, #f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-background-clip: text; /* For WebKit-based browsers like Chrome, Safari */
  background-clip: text; /* For Firefox */
  color: transparent; /* Makes the text color transparent so the gradient shows */
}


.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 5%;
  text-align: center;
}

.footer .logo {
  justify-content: center;
  margin-bottom: 1rem;
}

.footer .logo-text {
  color: white;
}

.footer p {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.2rem;
  }
}

/* https://terralogic.com/ */