
/* Subscription Section */
.subscription-container {
  background: #c4bebe52;
  border-radius: 12px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 1170px;
  height: 380px;
  margin: 80px auto;
  position: relative;
  overflow: visible;
  border-top-left-radius: 10rem;
}

.email-icon {
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(50%, -50%);
  width: 50px;
  height: 50px;
  background-color: #FF7A50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.email-icon::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: white;
  font-size: 24px;
}

.title {
  font-size: 33px;
  font-weight: 600;
  color: #5E6282;
  line-height: 1.3;
  margin: 2.5rem 0 3.15rem;
}

.form-container {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
}

.input-wrapper {
  flex: 1;
  position: relative;
}

.input-wrapper::before {
  content: "✉";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 22px;
}

.email-input {
  width: 100%;
  padding: 18px 20px 18px 50px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #64748b;
}

.subscribe-btn {
  background: linear-gradient(135deg, #FF7A50 0%, #ff8e7a 100%);
  color: #fff;
  border: none;
  padding: 0 35px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px;
  margin-left: 5rem;
}

.subscribe-btn:hover {
  background: linear-gradient(135deg, #ff5722 0%, #FF7A50 100%);
}

/* Footer Section */
.footer {
  background-color: #fff;
  padding: 80px 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Section */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.footer-logo h2 {
  font-size: 44px;
  font-weight: 700;
  color: #181E4B;
  margin: 0;
  letter-spacing: -1px;
  line-height: 1;
}

.footer-description {
  color: #5E6282;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

/* Middle Sections */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h3 {
  color: #080809;
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 30px 0;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-column li {
  margin-bottom: 0;
}

.footer-column a {
  color: #5E6282;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-column a:hover {
  color: #181E4B;
}

/* Right Section */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-icon.facebook {
  background: #1877F2;
  color: white;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-icon.twitter {
  background: #1DA1F2;
  color: white;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* App Section */
.app-section {
  text-align: center;
  width: 100%;
}

.app-title {
  color: #5E6282;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px 0;
  text-align: center;
}

.app-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.app-button {
  display: block;
  transition: transform 0.3s ease;
}

.app-button:hover {
  transform: scale(1.05);
}

.app-button img {
  width: 120px;
  height: 40px;
  border-radius: 20px;
  background: #000;
  padding: 8px 16px;
  box-sizing: border-box;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
  color: #5E6282;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start; 
  gap: 100px;
}

.testimonials-content {
  flex: 1;
  max-width: 400px;
}

.testimonials-header {
  margin-bottom: 40px;
}

.testimonials-subtitle {
  font-family: 'Poppins';
  font-size: 18px;
  font-weight: 600;
  color: #5E6282;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}

.testimonials-title {
  font-family: 'Volkhov';
  font-size: 48px;
  font-weight: 700;
  color: #14183E;
  line-height: 1.2;
  margin: 0;
}

.testimonial-slider {
  flex: 1;
  position: relative;
  overflow: visible;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  width: 100%;
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  position: relative;
  min-width: 500px; 
  max-width: 600px; 
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.testimonial-card.active {
  opacity: 1;
}

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

.testimonial-text {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #5E6282;
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #5E6282;
  margin-bottom: 5px;
}

.author-info p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5E6282;
  margin: 0;
}

.testimonial-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  width: 100%;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #E5E5E5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background-color: #39425D;
}

.nav-dot:hover {
  background-color: #39425D;
  opacity: 0.7;
}

.testimonial-nav { 
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: absolute;
  right: 40px; 
  top: 50%; 
  transform: translateY(-50%);
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #3E2E4D; 
  color: #3E2E4D;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: #3E2E4D;
  color: #fff;
}

/* Partners Section */
.partners {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-logo {
  flex: 1;
  min-width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .subscription-container {
    width: 90%;
    height: auto;
    padding: 40px 20px;
  }
  .testimonial-nav { 
    right: 20px;
  }
}

@media (max-width: 992px) {
    .header {
    background: linear-gradient(to right, #fff 52%, var(--light-bg) 40%);
  }

    .header .container {
    padding: 0 20px; 
  }
  
  .logo {
    margin-left: 10px; 
  }
  
  .menu-toggle {
    margin-right: 10px; 
  }

  .hero {
    margin-top: 60px; 
    padding-top: 60px; 
  }

  .hero-image {
    width: 100%;
    margin-top: -30px;
  }
  
  .hero-image img {
    max-height: 500px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    justify-items: center;
  }
  
  .service-card {
    width: 100%;
    max-width: 280px;
  }

  .subscription-container {
    border-top-left-radius: 5rem;
    padding: 40px 20px;
    height: auto;
  }

  .title {
    font-size: 28px;
    margin: 1.5rem 0 2rem;
  }
  
  .testimonials-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .testimonials-content { 
    text-align: center;
    max-width: 100%;
  }
  .testimonials-header { 
     text-align: center;
  }

   /* .testimonials-subtitle {

   }
   .testimonials-title {

   } */

  .testimonial-card {
    padding: 20px;
    min-width: 100%;
    max-width: 500px;
    margin: 0 auto; 
  }
  
  .testimonial-content { 
      text-align: left;
  }

  .testimonial-navigation {  
    justify-content: center;
    margin: 20px auto 0;  
  }

  .form-container {
    flex-direction: column;
    max-width: 100%;
  }

  .subscribe-btn {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    padding: 15px;
  }
  
  .footer-middle {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column h3 {
    text-align: center; 
  }

  .footer-column ul {
    justify-content: center;
    gap: 10px 15px;
  }
  
  .testimonial-nav { 
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
  }
}

@media (max-width: 768px) {
    .header {
    background: linear-gradient(to right, #fff 55%, var(--light-bg) 40%);
  }

  .email-icon {
    position: relative;
    display: flex;
    top: auto; 
    right: auto;
    left: auto;
    transform: none; 
    margin: 0 auto 20px auto;
    z-index: 2;
    align-items: center; 
    justify-content: center;
  }

    .input-wrapper::before {
    left: 20px;
    transform: translateY(-50%);
  }

  .subscription-container {
    width: 95%;
    margin: 40px auto;
    padding: 30px 15px;
    border-top-left-radius: 3rem;
  }

  .title {
    font-size: 24px;
    margin: 1rem 0;
  }

  .form-container {
    flex-direction: column;
  }

  .subscribe-btn {
    margin: 10px 0 0;
    width: 100%;
  }
  
  .testimonials {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .testimonials-container {
    gap: 30px;
  }

  .testimonials-title {
      font-size: 36px;
  }

  .testimonial-card {
      padding: 25px;
  }

  .nav-arrow i { 
    transform: none; 
  }

  .nav-arrow.prev i {
    transform: rotate(-90deg);
  }

   .nav-arrow.next i {
    transform: rotate(-90deg);
  }
}

@media (max-width: 576px) {
  .subscription-container {
    border-top-left-radius: 3rem;
    padding: 30px 15px;
  }

  .title {
    font-size: 20px; 
    margin: 1rem 0 1.5rem; 
  }

  .email-input {
    padding: 15px 15px 15px 40px;
  }

  .input-wrapper::before {
    left: 15px;
    font-size: 18px;
  }
  
  .testimonials-title {
      font-size: 30px;
  }
  .footer-column ul {
    gap: 8px 12px;
  }
}
