/* Universal Styling */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Navbar Logo styling */
h1 a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.7em;
  color: #1e90ff !important;
}

/* Universal navbar styling */
.navbar {
  position: fixed;
  width: 100%;
  background-color: white !important;
  padding: 1rem 8%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

/* navbar links styling */
.navbar-nav {
  text-align: right;
  gap: 10px;
}

.nav-link {
  color: black !important;
  transition: color ease 0.3s;
}

.nav-link:hover {
  color: #1e90ff !important;
}

/* Hero Section Styling */
.hero-section {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 8%;
  background: linear-gradient(120deg, #e0f2fe, #ffffff);
}

/* Hero section content area styling */
.hero-content {
  animation: fadeLeft 1.2s ease;
}

@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  margin-bottom: 30px;
  color: #64748b;
}

.hero-content button {
  padding: 14px 30px;
  background-color: dodgerblue;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.hero-content button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.3);
}

/* Hero section image area styling */
.hero-image img {
  width: 100%;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Services sectiom styling */
.services {
  padding: 100px 8%;
  text-align: center;
}

.services h3 {
  margin-bottom: 3em;
  font-size: 2.2em;
  font-weight: bold;
}

.services-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* Card Styling */
.card {
  background: white;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  transition: all 0.8s ease;
  transform: translateY(0) !important;
}

.card img {
  width: 3.5em;
}

.card h4 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: bolder;
}

.card p {
  color: #64748b;
  font-size: 0.95em;
}

/* CTA section styling */
.cta {
  color: white;
  background: #1e90ff;
  padding: 80px 8%;
  text-align: center;
}

.cta h3 {
  font-size: 2.4em;
  margin-bottom: 20px;
  font-weight: bold;
}

.cta button {
  background-color: white;
  border: none;
  color: #1e90ff;
  border-radius: 30px;
  padding: 14px 30px;
  margin-top: 10px;
  font-weight: 600;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.cta button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.3);
}

/*footer styling*/
footer {
  text-align: center;
  background-color: #020617;
  padding: 30px;
  color: white;
}

/* Hero Section Responsiveness */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 20%;
  }
}
