/* --- Base Reset & Variables --- */
:root {
  --color-text: #392648; /* Deep purple from logo outline */
  --color-blue: #8fd3f4; /* Soft logo blue */
  --color-blue-hover: #72c3eb;
  --color-pink: #f4a8b8; /* Soft logo pink */
  --color-pink-hover: #ef8da1;
  --color-bg: #ffffff;
  --color-section-bg: #f5f9fc; /* Very light blue for contrast */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
  color: var(--color-text);
  font-weight: 800;
}

/* --- Navigation --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(57, 38, 72, 0.05);
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05) rotate(-2deg);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-pink);
}

/* --- Buttons --- */
.btn-primary {
  background-color: var(--color-blue);
  color: var(--color-text) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(143, 211, 244, 0.4);
}

.btn-primary.large {
  background-color: var(--color-pink);
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  display: inline-block;
  margin-top: 2rem;
  border-radius: 40px;
}

.btn-primary.large:hover {
  background-color: var(--color-pink-hover);
  box-shadow: 0 6px 15px rgba(244, 168, 184, 0.4);
}

.btn-secondary {
  background-color: #fff;
  border: 2px solid var(--color-blue);
  color: var(--color-text);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--color-blue);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-section-bg) 100%);
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #5c4a6b;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* --- Shared Layout for About & Services --- */
.services,
.about-section {
  padding: 6rem 5%;
  text-align: center;
}

.services h2,
.about-section h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  padding: 3rem 2rem;
  border-radius: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--color-blue-hover);
}

.service-card p {
  color: #5c4a6b;
  font-weight: 600;
}

/* --- Specific Section Styling --- */
.about-section {
  background-color: #ffffff; /* White background for "About" */
}

.about-section .service-card {
  background-color: var(--color-section-bg);
  border: 2px solid #e1eef7;
}

.services {
  background-color: var(--color-section-bg); /* Light blue for "Services" */
}

.services .service-card {
  background-color: #ffffff;
  border: 2px solid #e1eef7;
}

/* Hover effects for both */
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-pink);
  box-shadow: 0 15px 30px rgba(244, 168, 184, 0.15);
}

/* Step Numbers for "How We Work" */
.step-number {
  background-color: var(--color-pink);
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 4px 10px rgba(244, 168, 184, 0.4);
}

/* --- Footer --- */
.footer {
  padding: 6rem 5%;
  text-align: center;
  background-color: #ffffff;
  border-top: 2px dashed var(--color-blue);
}

.footer h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.footer p {
  font-weight: 600;
  color: #5c4a6b;
}

.copyright {
  margin-top: 4rem;
  font-size: 1rem !important;
  color: #8c7f96 !important;
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .nav-links {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a.nav-btn {
    padding: 0.4rem 1rem;
  }

  .hero {
    height: auto;
    padding: 4rem 5%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .services,
  .about-section {
    padding: 4rem 5%;
  }

  .services h2,
  .about-section h2 {
    font-size: 2.2rem;
  }
}
