:root {
  --color1: #ffb07f;
  --color2: #ffd075;
  --color3: #004e81;
  --color4: #008f79;
  --color5: #5bcd86;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  overflow-x: hidden;
  background: #ffffff;
  color: #1a1a1a;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: #ffffff;
  color: var(--color3);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--color3);
  letter-spacing: -1px;
}

.nav ul {
  display: flex;
  list-style-type: none;
  gap: 40px;
}

.nav a {
  color: var(--color3);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--color4);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color4);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--color3);
}

.mobile-menu {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  background-color: #ffffff;
  color: var(--color3);
  padding: 30px;
  position: fixed;
  top: 80px;
  right: 20px;
  width: 280px;
  z-index: 999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav ul {
  list-style-type: none;
}

.mobile-nav li {
  margin: 20px 0;
}

.mobile-nav a {
  color: var(--color3);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.hero {
  margin-top: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 5%;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color3);
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.hero-highlight {
  color: var(--color4);
  position: relative;
  display: inline-block;
}

.hero p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
  color: #555;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  padding: 18px 45px;
  background: var(--color3);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.hero-cta:hover {
  background: var(--color4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 143, 121, 0.3);
}

.hero-decoration {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 80%;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(
    135deg,
    rgba(255, 176, 127, 0.1),
    rgba(91, 205, 134, 0.1)
  );
  animation: morph 8s ease-in-out infinite;
}

.hero-shape.shape1 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 5%;
}

.hero-shape.shape2 {
  width: 300px;
  height: 300px;
  bottom: 15%;
  right: 20%;
  animation-delay: -4s;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

.hero-image-wrapper {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  height: 550px;
  z-index: 2;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.story {
  padding: 120px 5%;
  background: #f8f9fa;
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.story-text h2 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  color: var(--color3);
  margin-bottom: 30px;
  line-height: 1.2;
}

.story-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
}

.story-stats {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--color4);
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 15px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.story-visual {
  position: relative;
  height: 600px;
}

.story-image-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 70%;
  z-index: 2;
}

.story-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-decoration-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 60%;
  background: var(--color5);
  border-radius: 20px;
  z-index: 1;
}

.services {
  padding: 120px 5%;
  background: white;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 80px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  color: var(--color3);
  margin-bottom: 25px;
  line-height: 1.2;
}

.section-header p {
  font-size: 20px;
  color: #666;
  line-height: 1.7;
}

.services-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service-item {
  padding: 60px 50px;
  background: #f8f9fa;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--color4);
}

.service-item h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color3);
  margin-bottom: 20px;
}

.service-item p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.service-list {
  list-style: none;
  margin-top: 25px;
}

.service-list li {
  padding: 12px 0;
  font-size: 16px;
  color: #666;
  border-bottom: 1px solid #e0e0e0;
  padding-left: 25px;
  position: relative;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color4);
  font-weight: 700;
}

.methodology {
  padding: 120px 5%;
  background: var(--color3);
  color: white;
  position: relative;
  overflow: hidden;
}

.methodology::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.methodology-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.methodology h2 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.methodology-intro {
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 60px;
  max-width: 800px;
  opacity: 0.9;
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
}

.method-step {
  position: relative;
  padding-left: 70px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 56px;
  font-weight: 900;
  color: var(--color1);
  line-height: 1;
  opacity: 0.8;
}

.method-step h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.method-step p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.85;
}

.blog {
  padding: 120px 5%;
  background: #f8f9fa;
}

.blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 30px;
}

.blog-category {
  display: inline-block;
  padding: 6px 15px;
  background: var(--color5);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.blog-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color3);
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #999;
}

.read-more {
  color: var(--color4);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--color3);
}

.faq {
  padding: 120px 5%;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 60px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border: 2px solid #f0f0f0;
  border-radius: 15px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--color4);
}

.faq-question {
  padding: 30px 35px;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color3);
  margin: 0;
  flex: 1;
}

.faq-toggle {
  font-size: 28px;
  color: var(--color4);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #f8f9fa;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 30px 35px;
}

.faq-answer p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.contact {
  padding: 120px 5%;
  background: linear-gradient(
    135deg,
    rgba(0, 78, 129, 0.03),
    rgba(91, 205, 134, 0.03)
  );
  position: relative;
}

.contact-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact-info h2 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  color: var(--color3);
  margin-bottom: 30px;
  line-height: 1.2;
}

.contact-info p {
  font-size: 20px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 40px;
}

.contact-details {
  margin-top: 50px;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-item p {
  font-size: 20px;
  color: var(--color3);
  font-weight: 600;
  margin: 0;
}

.contact-form-wrapper {
  background: white;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color3);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  padding: 18px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color4);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  padding: 18px 45px;
  background: var(--color3);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background: var(--color4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 143, 121, 0.3);
}

.footer {
  background: var(--color3);
  color: white;
  padding: 80px 5% 40px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.footer-brand p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 350px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  font-size: 15px;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-legal a:hover {
  opacity: 1;
}

.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--color4);
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 143, 121, 0.3);
  transform: translateX(400px);
  transition: transform 0.5s ease;
  z-index: 10000;
  max-width: 350px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 15px;
}

.notification.show {
  transform: translateX(0);
}

.notification-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.notification-close:hover {
  opacity: 1;
}

.notification.success {
  background: var(--color4);
}

.notification.error {
  background: #e74c3c;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero {
    padding: 60px 5%;
  }

  .hero-decoration,
  .hero-image-wrapper {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .story-visual {
    height: 400px;
  }

  .story-stats {
    flex-direction: column;
    gap: 30px;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .methodology-steps {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-form-wrapper {
    padding: 40px 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 1200px) {
  .hero-image-wrapper {
    width: 350px;
    height: 450px;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.hero-shape {
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-shape.shape2 {
  animation-delay: -4s;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-30px) translateX(15px);
  }
  50% {
    transform: translateY(-20px) translateX(-10px);
  }
  75% {
    transform: translateY(-40px) translateX(20px);
  }
}

.stat-number {
  transition: all 0.3s ease;
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s ease;
  border: 2px solid var(--color4);
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-popup h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color3);
  margin-bottom: 15px;
}

.cookie-popup p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 120px;
}

.cookie-btn.accept {
  background: var(--color4);
  color: white;
}

.cookie-btn.accept:hover {
  background: var(--color3);
  transform: translateY(-2px);
}

.cookie-btn.decline {
  background: #f8f9fa;
  color: #666;
  border: 2px solid #e0e0e0;
}

.cookie-btn.decline:hover {
  background: #e9ecef;
  border-color: #ccc;
}

.cookie-btn.settings {
  background: transparent;
  color: var(--color4);
  border: 2px solid var(--color4);
}

.cookie-btn.settings:hover {
  background: var(--color4);
  color: white;
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Cookie Settings Modal */
.cookie-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-settings.show {
  opacity: 1;
  visibility: visible;
}

.cookie-settings h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--color3);
  margin-bottom: 20px;
}

.cookie-category {
  margin-bottom: 25px;
  padding: 20px;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
}

.cookie-category h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color3);
  margin-bottom: 10px;
}

.cookie-category p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 25px;
  background: #ccc;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: var(--color4);
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-switch.active::after {
  transform: translateX(25px);
}

.cookie-settings-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
}

/* Responsive Cookie Popup */
@media (max-width: 768px) {
  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    min-width: auto;
  }

  .cookie-settings {
    width: 95%;
    padding: 30px 20px;
  }
}
