/* Base Styles */
:root {
  --primary: #e11d48;
  --primary-dark: #c81e42;
  --primary-light: #fb7185;
  --accent: #fde68a;
  --accent-dark: #fcd34d;
  --neutral-light: #ffffff;
  --neutral-dark: #1f2937;
  --neutral-gray: #a1a1aa;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--neutral-dark);
  background-color: var(--neutral-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--neutral-dark);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--neutral-gray);
  font-size: 1.1rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  margin-top: 0.5rem;
}

.section-header .eyebrow::after {
  margin: 0.5rem auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-text {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  font-weight: 500;
}

.btn-text:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.accent {
  color: var(--primary);
}

.tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--neutral-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Shapes */
.hero-shape {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
}

.services-shape {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background-color: var(--primary);
  border-radius: 50%;
  opacity: 0.05;
  z-index: 1;
}

.testimonials-shape {
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background-color: var(--accent);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.cta-shape {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-light);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 1.25rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h2 {
  font-size: 1.75rem;
  margin: 0;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.logo h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.logo h2:hover::after {
  width: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--neutral-dark);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding-top: 12rem;
  padding-bottom: 6rem;
  background-color: var(--neutral-light);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--neutral-gray);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02) rotate(1deg);
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: 20px;
  z-index: -1;
}

/* About Section */
.about {
  background-color: #f9fafb;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.02) rotate(-1deg);
}

.about-image::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: 20px;
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.stat h3 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.stat p {
  font-size: 0.875rem;
  color: var(--neutral-gray);
  margin: 0;
  font-weight: 500;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
}

.service-icon::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  border-radius: 50%;
  z-index: -1;
  top: 5px;
  left: -5px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon::after {
  transform: scale(1.5);
  opacity: 0.7;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--neutral-gray);
  margin-bottom: 1.5rem;
}

/* Work Section */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.work-image {
  height: 100%;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.work-content {
  padding: 2.5rem;
}

.work-content h3 {
  margin-bottom: 1rem;
}

.work-content p {
  margin-bottom: 1.5rem;
  color: var(--neutral-gray);
}

/* Testimonials Section */
.testimonials {
  background-color: #f9fafb;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-dark);
}

.quote {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--accent);
  font-family: "Poppins", sans-serif;
  line-height: 1;
  opacity: 0.3;
  transition: all 0.4s ease;
}

.testimonial-card:hover .quote {
  opacity: 0.5;
  transform: scale(1.1);
}

.testimonial-card p {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-author p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--neutral-gray);
  font-style: normal;
}

/* CTA Section */
.cta {
  background-color: var(--primary);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 3.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease;
}

.cta-content:hover {
  transform: translateY(-5px);
}

.cta .eyebrow {
  color: var(--accent);
}

.cta .eyebrow::after {
  background-color: var(--accent);
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

.cta .btn-primary:hover {
  background-color: var(--accent);
  color: var(--neutral-dark);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
  background-color: var(--neutral-dark);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.footer-logo p {
  color: var(--neutral-gray);
  margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--neutral-gray);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--neutral-gray);
}

.footer-contact li svg {
  color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  color: var(--neutral-gray);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  color: white;
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--neutral-gray);
  margin: 0;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero .container,
  .about .container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    justify-content: center;
    order: -1;
  }

  .about-image {
    text-align: center;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    padding: 6rem 2rem 2rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    align-items: flex-start;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-content {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding-top: 8rem;
  }

  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .work-content {
    padding: 1.5rem;
  }
}
