/* Base styles and variables */
:root {
  --primary: #3B9C9C;
  --accent: #FF6B6B;
  --background: #FDFDFD;
  --text: #1E1E1E;
  --yellow: #FFDD00;
  --blue: #4C4CFF;
  --shadow: rgba(0, 0, 0, 0.1);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v15/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v15/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #328282;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow);
}

.btn-secondary {
  background-color: var(--accent);
  color: white;
}

.btn-secondary:hover {
  background-color: #e05555;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow);
}

/* Header & Navigation */
.main-header {
  background-color: var(--background);
  box-shadow: 0 2px 10px var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 1.5rem;
}

.main-nav ul li a {
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  text-align: center; /* Center text */
}

.hero-section .container {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content */
  width: 100%;
  padding: 0 1rem;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
  margin-left: auto; /* Center subtitle */
  margin-right: auto; /* Center subtitle */
}

.hero-section .btn {
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.1;
  background: linear-gradient(45deg, var(--primary), var(--blue));
}

.animated-bg::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--yellow);
  border-radius: 50%;
  top: 20%;
  left: 15%;
  animation: float 20s infinite alternate;
}

.animated-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent);
  border-radius: 50%;
  bottom: -100px;
  right: -100px;
  animation: float 25s infinite alternate-reverse;
}

/* Advantages Section */
.advantages-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, rgba(59, 156, 156, 0.05), rgba(76, 76, 255, 0.05));
}

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

.advantage-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-10px);
}

.advantage-card:hover::before {
  height: 100%;
}

.advantage-icon {
  margin-bottom: 1.5rem;
  position: relative;
}

.advantage-icon img {
  width: 180px; /* Larger image */
  height: 180px; /* Larger image */
  object-fit: cover;
  border-radius: 12px; /* More card-like */
  border: 3px solid var(--primary);
  box-shadow: 0 5px 15px var(--shadow);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
}

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

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::after {
  bottom: 0;
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 180px; /* Larger image */
  height: 180px; /* Larger image */
  object-fit: cover;
  border-radius: 12px; /* More card-like */
  box-shadow: 0 5px 15px var(--shadow);
}

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

.service-card .btn {
  margin-top: 1.5rem;
}

/* Cases Section */
.cases-section {
  padding: 5rem 0;
  background-color: #f5f5f5;
}

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

.case-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.case-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--accent);
}

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

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem;
  padding: 1rem;
  scrollbar-width: none;  /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Edge */
}

.testimonial {
  scroll-snap-align: start;
  min-width: 300px;
  width: calc(33.33% - 2rem);
  margin: 0 1rem;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-top: 1rem;
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
  background: linear-gradient(to top left, rgba(255, 107, 107, 0.05), rgba(255, 221, 0, 0.05));
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.process-step {
  width: 250px;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -50px;
  width: 100px;
  height: 2px;
  background-color: var(--primary);
  opacity: 0.3;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}

/* Contact Form Section */
.contact-section {
  padding: 5rem 0;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow);
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 156, 156, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: #f5f5f5;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: 0 3px 10px var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  color: var(--primary);
}

.faq-question a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: var(--primary);
  text-decoration: none;
}

.faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 10px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.faq-toggle::before {
  width: 100%;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-toggle::after {
  width: 2px;
  height: 100%;
  left: 9px;
  top: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Contact Info Section */
.contact-info-section {
  padding: 5rem 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-info-item {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.contact-info-item:hover {
  transform: translateY(-5px);
}

.contact-info-item h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

/* Footer */
.main-footer {
  background-color: var(--primary);
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--yellow);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-column a {
  color: white;
}

.footer-column a:hover {
  color: var(--accent);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 20px var(--shadow);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transition: bottom 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
  opacity: 0;
  visibility: hidden;
}

.cookie-popup.show {
  bottom: 0;
  opacity: 1;
  visibility: visible;
}

.cookie-popup p {
  margin: 0;
  flex: 1;
}

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

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
  100% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .testimonial {
    width: calc(50% - 2rem);
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: white;
    transition: var(--transition);
    box-shadow: 5px 0 15px var(--shadow);
    padding: 2rem;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
  }
  
  .main-nav ul li {
    margin: 0 0 1.5rem 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .testimonial {
    width: calc(100% - 2rem);
  }
  
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-popup .btn {
    margin-top: 1rem;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-section .btn {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .advantage-card,
  .service-card,
  .case-card,
  .contact-form,
  .faq-item,
  .contact-info-item {
    padding: 1.5rem;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }
} 