/* === Color Palette === */
:root {
  --mimi-pink: #ffd6ff;
  --mauve: #e7c6ff;
  --mauve-2: #c8b6ff;
  --periwinkle: #b8c0ff;
  --periwinkle-2: #bbd0ff;
  --accent: #7c5fff;
}

/* === Fonts === */
body {
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  background: var(--mimi-pink);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Headings */
h1,
h2,
h3,
h4 {
  font-family: "Poppins", "DM Sans", Arial, sans-serif;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5em;
}

/* Header & Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--mauve);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
}
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--periwinkle-2);
}

/* === Hero Section Modern Redesign === */
#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--mimi-pink), var(--periwinkle-2));
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1rem 3rem 1rem;
}
.hero-logo-center {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo-center object,
#hero-logo {
  width: 96px;
  height: 48px;
  max-width: 22vw;
  display: block;
}
.hero-heading {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.2rem 0;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.1;
}
.hero-subheading {
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--periwinkle);
  margin: 0 0 2.2rem 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Animated text reveal */
.animated-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextReveal 1s cubic-bezier(0.77, 0, 0.18, 1) 0.3s forwards;
}
@keyframes heroTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animated-subtext {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroSubTextReveal 1s cubic-bezier(0.77, 0, 0.18, 1) 0.9s forwards;
}
@keyframes heroSubTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Button with animated arrow */
.hero-cta {
  margin-top: 1.5rem;
  padding: 1em 2.5em 1em 2em;
  font-size: 1.25rem;
  font-family: "Poppins", Arial, sans-serif;
  background: var(--accent);
  color: var(--text-light);
  border: none;
  border-radius: 2em;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, transform 0.2s;
}
.hero-cta .cta-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1);
}
.hero-cta:hover {
  background: var(--periwinkle);
  transform: scale(1.05);
}
.hero-cta:hover .cta-arrow {
  transform: translateX(8px) rotate(8deg);
}
.hero-cta .arrow-path {
  transition: stroke 0.3s;
}
.hero-cta:hover .arrow-path {
  stroke: var(--accent);
}

/* About, Services, Portfolio, Testimonials, Contact */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.about-icons,
.services-list,
.portfolio-grid,
.testimonials-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.service-card,
.portfolio-item {
  background: var(--mauve-2);
  border-radius: 1.5em;
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.service-card:hover,
.portfolio-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(184, 192, 255, 0.18);
}
.portfolio-item img {
  width: 100%;
  border-radius: 1em;
  margin-bottom: 1em;
  transition: filter 0.3s;
}
.portfolio-item:hover img {
  filter: brightness(1.1) saturate(1.2);
}

/* Testimonials */
blockquote {
  background: var(--periwinkle-2);
  border-left: 5px solid var(--accent);
  padding: 1.5em;
  border-radius: 1em;
  font-style: italic;
  margin: 1em 0;
}

/* === Modern Contact Us Section === */
#contact {
  position: relative;
  padding: 64px 0 48px 0;
  background: linear-gradient(
    135deg,
    var(--mimi-pink) 0%,
    var(--periwinkle-2) 100%
  );
  overflow: hidden;
  z-index: 1;
}

.contact-title {
  font-family: "Poppins", "Quicksand", "DM Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}

.contact-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  gap: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.contact-info-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  transition: transform 0.3s;
}
.contact-info-item:hover .contact-icon {
  transform: scale(1.08) rotate(-4deg);
}
.contact-info-text {
  font-family: "Quicksand", "DM Sans", sans-serif;
  font-size: 1.1rem;
  color: #333;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 4px 16px;
  box-shadow: 0 2px 8px 0 rgba(200, 182, 255, 0.07);
}

/* Contact Form */
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 8px 32px 0 rgba(187, 208, 255, 0.13);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-form input,
.contact-form textarea {
  font-family: "Quicksand", "DM Sans", sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--periwinkle-2);
  color: #333;
  box-shadow: 0 2px 8px 0 rgba(200, 182, 255, 0.07);
  transition: background 0.3s, box-shadow 0.3s;
  outline: none;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--mimi-pink);
  box-shadow: 0 4px 16px 0 rgba(124, 95, 255, 0.13);
}
.contact-form textarea {
  min-height: 100px;
  max-height: 220px;
}
.cta-btn.contact-submit-btn {
  font-family: "Poppins", "Quicksand", "DM Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 16px;
  padding: 14px 0;
  background: linear-gradient(
    90deg,
    var(--mauve),
    var(--accent),
    var(--periwinkle)
  );
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(124, 95, 255, 0.13);
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.3s;
  will-change: transform;
}
.cta-btn.contact-submit-btn:hover,
.cta-btn.contact-submit-btn:focus {
  transform: scale(1.06);
  box-shadow: 0 8px 32px 0 rgba(124, 95, 255, 0.18);
}

/* === SVG Animations === */
svg .draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
svg .fade-in {
  opacity: 0;
  animation: fadeIn 1.2s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* === Responsive Design === */
@media (max-width: 900px) {
  .services-list,
  .portfolio-grid,
  .about-icons {
    flex-direction: column;
    gap: 1.5rem;
  }
  section {
    padding: 3rem 1rem;
  }
  .hero-inner {
    padding: 3rem 0.5rem 2rem 0.5rem;
    max-width: 98vw;
  }
  .hero-heading {
    font-size: 2.1rem;
  }
  .hero-logo-center object,
  #hero-logo {
    width: 72px;
    height: 36px;
  }
  .about-content {
    padding: 3rem 1rem 2rem 1rem;
  }
  .about-heading {
    font-size: 1.7rem;
  }
  .about-animated-icons {
    gap: 1.2rem;
  }
  .about-icon {
    width: 64px;
    height: 64px;
  }
}
@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.7em 1.5em;
  }
  section {
    padding: 2rem 0.5rem;
  }
  #hero {
    min-height: 70vh;
  }
  .hero-inner {
    padding: 2.2rem 0.2rem 1.5rem 0.2rem;
  }
  .hero-heading {
    font-size: 1.3rem;
  }
  .hero-subheading {
    font-size: 1rem;
  }
  .hero-logo-center object,
  #hero-logo {
    width: 56px;
    height: 28px;
  }
  .hero-cta {
    font-size: 1rem;
    padding: 0.7em 1.7em 0.7em 1.2em;
  }
  .about-content {
    padding: 2rem 0.5rem 1.5rem 0.5rem;
  }
  .about-heading {
    font-size: 1.1rem;
  }
  .about-animated-icons {
    flex-direction: column;
    gap: 0.7rem;
  }
  .about-icon {
    width: 48px;
    height: 48px;
  }
}

/* === About Animated Section === */
.about-animated-section {
  position: relative;
  background: linear-gradient(120deg, var(--mimi-pink), var(--periwinkle-2));
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.about-bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.about-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-heading {
  font-family: "Poppins", "Space Grotesk", Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.1rem;
  letter-spacing: 1px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.05em;
}
.about-heading span {
  opacity: 0;
  display: inline-block;
  transform: translateY(30px);
  transition: opacity 0.4s, transform 0.4s;
}
.about-heading span.revealed {
  opacity: 1;
  transform: translateY(0);
}
.about-desc {
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  font-size: 1.18rem;
  color: var(--text-dark);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.2rem auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}
.about-desc.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-animated-icons {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  margin-top: 1.5rem;
  z-index: 1;
}
.about-icon {
  width: 84px;
  height: 84px;
  min-width: 64px;
  min-height: 64px;
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1);
  filter: drop-shadow(0 2px 16px rgba(184, 192, 255, 0.1));
  cursor: pointer;
  background: transparent;
}
.about-icon:hover {
  transform: scale(1.09) rotate(-3deg);
  filter: drop-shadow(0 6px 24px rgba(127, 90, 240, 0.13));
}

/* === About Storytelling Section === */
.about-story-section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(120deg, var(--mimi-pink), var(--periwinkle-2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
}

/* Parallax SVG Layers */
.about-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.about-parallax-layer {
  position: absolute;
  width: 120vw;
  height: 120vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0.7;
  transition: opacity 0.5s;
}

/* SVG Masked Reveal */
.about-svg-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: lighten;
}

/* Timeline Path & Milestones */
.about-timeline-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 520px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-timeline-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.timeline-path {
  stroke: var(--accent, #7f5af0);
  stroke-width: 6;
  fill: none;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  opacity: 0.85;
  filter: drop-shadow(0 2px 16px var(--periwinkle-2));
  transition: stroke-dashoffset 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}
.timeline-path.animated {
  stroke-dashoffset: 0;
}

.timeline-milestone {
  position: absolute;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.6s;
  z-index: 3;
  cursor: pointer;
  background: transparent;
}
.timeline-milestone.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}
.timeline-milestone:hover {
  filter: drop-shadow(0 6px 24px var(--accent));
  transform: translate(-50%, -50%) scale(1.18) rotate(-7deg);
}

/* Animated Text Along Path */
.timeline-text-block {
  position: absolute;
  min-width: 180px;
  max-width: 260px;
  color: var(--text-dark);
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1.2em;
  box-shadow: 0 2px 16px rgba(184, 192, 255, 0.1);
  padding: 1.1em 1.5em;
  opacity: 0;
  transform: scale(0.85) translateY(40px) rotate(-4deg);
  transition: opacity 0.7s, transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  pointer-events: auto;
}
.timeline-text-block.visible {
  opacity: 1;
  transform: scale(1) translateY(0) rotate(0deg);
}
.timeline-text-block.bounce {
  animation: textBounceIn 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}
@keyframes textBounceIn {
  0% {
    transform: scale(0.85) translateY(40px) rotate(-4deg);
  }
  60% {
    transform: scale(1.08) translateY(-10px) rotate(2deg);
  }
  100% {
    transform: scale(1) translateY(0) rotate(0);
  }
}

/* === Modern About Us Section === */
#about {
  position: relative;
  background: linear-gradient(120deg, var(--mimi-pink), var(--periwinkle-2));
  overflow: hidden;
  padding: 100px 0 120px 0;
  min-height: 650px;
  z-index: 1;
}
.about-bg-svg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.33;
  transition: transform 2s cubic-bezier(0.77, 0, 0.18, 1);
}
.about-bg-svg-1 {
  top: -80px;
  left: -120px;
  width: 380px;
  height: 380px;
  animation: floatBlob 8s ease-in-out infinite alternate;
}
.about-bg-svg-2 {
  bottom: -60px;
  right: -100px;
  width: 260px;
  height: 260px;
  animation: floatBlob2 9s ease-in-out infinite alternate;
}
@keyframes floatBlob {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(30px) scale(1.04);
  }
}
@keyframes floatBlob2 {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-24px) scale(1.07);
  }
}
.about-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-heading {
  font-family: "Space Grotesk", "Poppins", Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.7em;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}
.about-heading.reveal {
  opacity: 1;
  transform: translateY(0);
}
.about-intro {
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--text-dark);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}
.about-intro.reveal {
  opacity: 1;
  transform: translateY(0);
}
.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 3.5rem;
}
.feature-card {
  background: var(--periwinkle-2);
  border-radius: 1.5em;
  box-shadow: 0 4px 24px rgba(200, 182, 255, 0.1);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  width: 260px;
  min-width: 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
  z-index: 1;
}
.feature-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 10px 32px rgba(184, 192, 255, 0.18);
}
.feature-card h3 {
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  color: var(--accent);
  font-size: 1.25rem;
  margin: 1.1em 0 0.5em 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.feature-card p {
  color: var(--text-dark);
  font-size: 1.05rem;
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  margin: 0;
  text-align: center;
}
.animated-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.1em;
  display: block;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1), filter 0.3s;
  filter: drop-shadow(0 2px 16px rgba(184, 192, 255, 0.1));
  will-change: transform;
}
.feature-card:hover .animated-icon {
  transform: scale(1.13) rotate(-6deg);
  filter: drop-shadow(0 6px 24px var(--accent));
}

/* Animated SVG Path */
.about-animated-path {
  width: 100%;
  max-width: 600px;
  height: 60px;
  margin: 0 auto;
  display: block;
  z-index: 2;
}
.about-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  opacity: 0.7;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}
.about-path.animated {
  stroke-dashoffset: 0;
}
.about-dot {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}
.about-dot.visible {
  opacity: 1;
}

/* === Services Section Modern Redesign === */
.services-section {
  background: linear-gradient(120deg, var(--mimi-pink), var(--periwinkle-2));
  padding: 5rem 2rem 5rem 2rem;
  border-radius: 2.5em;
  margin: 4rem auto 4rem auto;
  box-shadow: 0 8px 40px rgba(184, 192, 255, 0.13);
  max-width: 1300px;
  position: relative;
  overflow: hidden;
}

.services-heading {
  font-family: "Space Grotesk", "Poppins", Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}
.services-heading.revealed {
  opacity: 1;
  transform: translateY(0);
}
.services-heading-text {
  display: inline-block;
  /* For letter-by-letter animation if needed */
}

.services-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 24px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
}

/* Ensure cards fit side by side and wrap responsively */
.service-card {
  flex: 1 1 320px;
  max-width: 340px;
  min-width: 260px;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .services-list {
    gap: 18px 10px;
    max-width: 98vw;
  }
  .service-card {
    min-width: 220px;
    max-width: 98vw;
  }
}
@media (max-width: 700px) {
  .services-list {
    flex-direction: column;
    gap: 1.1rem;
    align-items: center;
  }
  .service-card {
    min-width: 0;
    max-width: 98vw;
  }
}

.service-card {
  background: linear-gradient(
    135deg,
    var(--periwinkle-2) 80%,
    var(--mimi-pink) 100%
  );
  padding: 32px 24px 28px 24px;
  border-radius: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 24px 0 rgba(80, 80, 160, 0.07);
  transition: box-shadow 0.3s, transform 0.3s;
  gap: 14px;
  margin: 0 0 18px 0;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 12px 36px 0 rgba(80, 80, 160, 0.13);
}

.feature-icon,
.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), filter 0.3s;
  filter: drop-shadow(0 2px 8px rgba(120, 120, 200, 0.08));
  will-change: transform;
}

.feature-card:hover .feature-icon,
.service-card:hover .service-icon {
  transform: scale(1.13) rotate(-6deg);
  filter: brightness(1.1) drop-shadow(0 4px 16px rgba(120, 120, 200, 0.16));
}

.feature-card h3,
.service-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.18rem;
  font-family: "Poppins", "Quicksand", sans-serif;
  font-weight: 600;
  color: var(--accent, #6c63ff);
}

.feature-card p,
.service-card p {
  margin: 0;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.about-features,
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 24px;
  margin-top: 32px;
  margin-bottom: 12px;
  align-items: stretch;
}

/* === Contact Section Modern Pastel === */
#contact {
  position: relative;
  background: linear-gradient(
    120deg,
    var(--mimi-pink),
    var(--periwinkle-2) 90%
  );
  border-radius: 2.5em;
  box-shadow: 0 8px 40px rgba(184, 192, 255, 0.13);
  padding: 4.5rem 2rem 4rem 2rem;
  margin: 4rem auto 0 auto;
  max-width: 700px;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-title {
  font-family: "Poppins", "DM Sans", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}
.contact-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.2rem;
  z-index: 2;
  flex-wrap: wrap;
}
.contact-icon-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  max-width: 220px;
  text-align: center;
  gap: 0.5em;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 1.2em;
  box-shadow: 0 2px 16px rgba(184, 192, 255, 0.1);
  padding: 0.7em;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1), box-shadow 0.35s;
  opacity: 0;
  transform: translateY(30px) scale(0.92);
}
.contact-icon.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.contact-icon:hover {
  transform: scale(1.13) rotate(-6deg);
  box-shadow: 0 8px 32px var(--periwinkle-2);
  filter: brightness(1.08) drop-shadow(0 4px 16px var(--accent));
}
.contact-info-label {
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--accent);
  margin-top: 0.5em;
  word-break: break-word;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}
.contact-icon.visible + .contact-info-label,
.contact-info_label.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 700px) {
  #contact {
    padding: 2.5rem 0.5rem 2rem 0.5rem;
    border-radius: 1.2em;
    max-width: 98vw;
    min-height: 0;
  }
  .contact-form {
    padding: 1.2em 0.5em 1em 0.5em;
    max-width: 98vw;
  }
  .contact-icons {
    gap: 1.2rem;
  }
  .contact-icon {
    width: 40px;
    height: 40px;
    padding: 0.4em;
  }
  .contact-bg-blob-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    left: -30px;
  }
  .contact-bg-blob-2 {
    width: 90px;
    height: 90px;
    bottom: -20px;
    right: -20px;
  }
}

/* Fade-in animation utility */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorative animated blobs for background */
.contact-bg-blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.contact-bg-blob-1 {
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  animation-delay: 0s;
}

.contact-bg-blob-2 {
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  animation-delay: 2s;
}

@keyframes blobFloat {
  0% {
    transform: scale(1) translateY(0) rotate(0deg);
  }
  100% {
    transform: scale(1.08) translateY(24px) rotate(8deg);
  }
}

/* === Modern Footer === */
#footer {
  background: var(--periwinkle);
  color: #222;
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  padding: 3.5rem 2rem 1.2rem 2rem;
  border-top-left-radius: 2.5em;
  border-top-right-radius: 2.5em;
  margin-top: 4rem;
  box-shadow: 0 -4px 32px 0 rgba(184, 192, 255, 0.13);
}
.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 2.5rem 2rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 1.2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  font-family: "Poppins", "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  color: var(--accent);
  grid-column: 1 / 2;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--periwinkle-2);
  box-shadow: 0 2px 12px rgba(124, 95, 255, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.footer-logo:hover svg,
.footer-logo:focus svg {
  transform: scale(1.13) rotate(-7deg);
  filter: drop-shadow(0 4px 16px var(--accent));
}
.footer-logo svg {
  width: 36px;
  height: 36px;
  display: block;
  transition: transform 0.3s, filter 0.3s;
}
.footer-company {
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: 1px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  font-size: 1.1rem;
  grid-column: 2 / 3;
}
.footer-nav a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  padding: 2px 0;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  font-size: 1.05rem;
  grid-column: 3 / 4;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: #222;
  font-size: 1.05rem;
  line-height: 1.3;
  word-break: break-word;
}
.footer-contact-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-block;
}
.footer-social {
  display: flex;
  gap: 1.1em;
  align-items: center;
  grid-column: 4 / 5;
  justify-content: flex-end;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  box-shadow: 0 2px 8px rgba(200, 182, 255, 0.08);
  transition: background 0.2s, transform 0.3s, box-shadow 0.3s;
  outline: none;
}
.footer-social-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}
.footer-social-icon:hover,
.footer-social-icon:focus {
  background: var(--mimi-pink);
  transform: scale(1.13) rotate(-7deg);
  box-shadow: 0 8px 32px var(--periwinkle-2);
}
.footer-social-icon:hover svg,
.footer-social-icon:focus svg {
  filter: brightness(1.1) drop-shadow(0 4px 16px var(--accent));
}
.footer-copyright {
  text-align: center;
  font-size: 1rem;
  color: #444;
  margin-top: 1.5rem;
  letter-spacing: 0.5px;
  font-family: "Quicksand", "DM Sans", Arial, sans-serif;
  opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.2rem;
  }
  .footer-brand {
    grid-column: 1 / 2;
  }
  .footer-nav {
    grid-column: 2 / 3;
  }
  .footer-contact {
    grid-column: 1 / 2;
  }
  .footer-social {
    grid-column: 2 / 3;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  #footer {
    padding: 2.2rem 0.5rem 0.7rem 0.5rem;
    border-radius: 1.2em 1.2em 0 0;
  }
  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
    padding-bottom: 0.5rem;
  }
  .footer-brand,
  .footer-nav,
  .footer-contact,
  .footer-social {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 1.2em;
    margin-bottom: 0.6em;
  }
  .footer-social {
    justify-content: flex-start;
    margin-top: 0.7em;
  }
}

/* Footer scroll-in animation */
#footer {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}
#footer.visible {
  opacity: 1;
  transform: translateY(0);
}
