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

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
}

.section {
  padding: 5rem 40px;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #000;
}


/* Header */
.header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  color: #22223b;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(34, 34, 59, 0.18);
}

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

.header .logo,
.header .nav a,
.header-actions a {
  color: #22223b;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav ul {
  display: flex;
  gap: .9rem;
}

.nav a {
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, filter 0.2s;
  overflow: hidden;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2em;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
  z-index: 1;
  pointer-events: none;
}

.nav a:hover {
  background: rgba(102, 126, 234, 0.06);
  color: #764ba2;
  filter: brightness(1.15);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header .btn-primary {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;

  display: inline-block;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.header .btn-primary:hover {
  background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
  color: #fff;
}

/* Hamburger Icon */
.mobile-menu-icon {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 100;
  background: none;
  border: none;
  outline: none;
}

.mobile-menu-icon span {
  display: block;
  width: 28px;
  height: 3px;
  background: #22223b;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}


/* Sliding Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 82vw;
  max-width: 340px;
  height: 100vh;
  background: rgba(34, 34, 59, 0.98);
  color: #fff;
  box-shadow: 2px 0 24px rgba(34, 34, 59, 0.18);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.5rem 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu a:hover {
  background: rgba(102, 126, 234, 0.12);
  color: #667eea;
}

.mobile-menu-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 200;
  padding: 0.2em 0.5em;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s;
}

.mobile-menu-close:hover {
  background: rgba(102, 126, 234, 0.12);
}

/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 59, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1);
  z-index: 150;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}

.mobile-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(102,126,234,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(102,126,234,0.10);
  text-decoration: none;
}

.mobile-social-icons a i {
  margin: 0;
  font-size: 1.2rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/*------- Hero Section ---------*/
.hero {
  position: relative;
  height: 90vh;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(102, 126, 234, 0.65) 0%, rgba(118, 75, 162, 0.6) 100%),
    url('background-images/laptop-bg-3.jpg') center center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
  max-width: 850px;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.18rem;
  font-weight: 400;
  color: #e0e7ff;
  margin-bottom: 2rem;
  opacity: 0.96;
  letter-spacing: 0.01em;
  max-width: 850px;
}

.hero .hero-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  z-index: 2;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(102, 126, 234, 0.15),
    0 2px 8px rgba(34, 34, 59, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hero .hero-btn::before {
  /* Animated gradient background overlay */
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transition: left 0.6s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
}

.hero .hero-btn:hover::before {
  left: 100%;
}

.hero .hero-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  /* border-color: rgba(94, 87, 99, 0.899); */
  box-shadow:
    0 12px 36px rgba(102, 126, 234, 0.28),
    0 4px 16px rgba(34, 34, 59, 0.16),
    0 8px 32px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.02);
  color: #fff;
}


/*----------------- Offerings ----------------*/
.offerings {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}


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

.offering-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 2rem 1.2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid rgba(102, 126, 234, 0.08);
}

.offering-card img {
  width: 100%;
  max-width: 180px;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.offering-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.offering-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.2rem;
}


/* Featured Products */
.featured {
  background: rgba(247, 248, 250, 0.7);
  backdrop-filter: blur(4px);
}

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

.product-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.10), 0 1.5px 8px rgba(34, 34, 59, 0.08);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  transition: transform 0.22s cubic-bezier(.4, 0, .2, 1), box-shadow 0.22s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid rgba(102, 126, 234, 0.10);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.16), 0 4px 16px rgba(34, 34, 59, 0.12);
  border-color: #667eea;
}

.product-carousel {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f8fa;
  display: flex;
  align-items: center;
}

.product-carousel img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(.4, 0, .2, 1);
  z-index: 1;
  pointer-events: none;
}

.product-carousel img.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34, 34, 59, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  outline: none;
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

.product-info {
  margin-top: 1.1rem;
  margin-bottom: 0.7rem;
  width: 100%;
}

.product-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #22223b;
  margin-bottom: 0.4rem;
}

.product-info p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.1rem;
}

.product-link {
  display: inline-block;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-bottom: 0.2rem;
}

.product-link:hover,
.product-link:focus {
  background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.16);
  outline: none;
}


/* Why Choose Evoryte */
.why-content {
  max-width: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e0e7ff 100%);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 20px;
  margin: 2rem 40px;
  box-shadow: 0 8px 32px rgba(34, 34, 59, 0.1);
}

/* Decorative Background Elements */
.why-content::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
  z-index: 0;
}

.why-content::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.why-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 4px 20px rgba(34, 34, 59, 0.08);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 36px rgba(102, 126, 234, 0.2);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  color: #667eea;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.why-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #22223b;
}

.why-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}


/*------------------ Testimonials -------------------------------------------*/
.testimonials {
  border: 1px solid rgba(102, 126, 234, 0.08);
}

.testimonials-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 60px;
  /* Space for navigation buttons */
  box-sizing: border-box;
}

.testimonials-slider .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(34, 34, 59, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  outline: none;
}

.testimonials-slider .carousel-btn:hover {
  background: rgba(102, 126, 234, 0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.testimonials-slider .carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.testimonials-slider .testimonials-prev {
  left: 10px;
}

.testimonials-slider .testimonials-next {
  right: 10px;
}

.testimonials-slider::before {
  left: 60px;
  background: linear-gradient(to right, rgba(247, 248, 250, 0.9) 0%, rgba(247, 248, 250, 0.6) 70%, transparent 100%);
}

.testimonials-slider::after {
  right: 60px;
  background: linear-gradient(to left, rgba(247, 248, 250, 0.9) 0%, rgba(247, 248, 250, 0.6) 70%, transparent 100%);
}

.testimonials-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  will-change: transform;
  transition: none;
  /* Smooth transitions are handled by JS when needed */
  align-items: stretch;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 350px;
  min-height: 200px;
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.12);
  padding: 2rem 1.5rem;
  text-align: center;
  font-style: italic;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.18);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card span {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #667eea;
  font-size: 1rem;
  position: relative;
}

.testimonial-card span::before {
  content: '—';
  margin-right: 0.5rem;
  opacity: 0.6;
}

/* Cloned cards (for seamless loop) should be identical */
.testimonial-card.cloned-card {
  /* Same styles as regular cards */
  /* Empty so cloned cards look like regular cards */
}


/*---------------------- Contact Section ----------------------*/
.contact {
  padding: 6rem 40px 4rem 40px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1 1 350px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.12);
  border: 1px solid rgba(102, 126, 234, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #22223b;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-info ul {
  margin: 2rem 0;
  padding: 0;
}

.contact-info li {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.contact-info li:hover {
  transform: translateX(8px);
}

.contact-info li a {
  color: #22223b;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(102, 126, 234, 0.08);
  transition: all 0.3s ease;
  width: 100%;
}

.contact-info li a:hover {
  background: rgba(102, 126, 234, 0.15);
  color: #667eea;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.contact-info i {
  margin-right: 1rem;
  color: #667eea;
  font-size: 1.4rem;
  width: 24px;
  text-align: center;
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 12px;
  /* font-size: 1.4rem; */
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.social-icons a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.social-icons a:hover i {
  color: #fff;
}

.social-icons a i {
  margin-right: 0;
}

.contact-form {
  flex: 1 1 400px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #22223b;
  font-size: 1rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 2px solid #e0e7ff;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  font-family: 'Inter', Arial, sans-serif;
  margin-bottom: 1.5rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.contact-form .btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.contact-form .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.contact-form .btn-primary:hover::before {
  left: 100%;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.contact-form .btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 59, 0.6);
  z-index: 300;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.15);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-content p {
  font-size: 1.2rem;
  color: #22223b;
  margin-bottom: 1rem;
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 1.8rem;
  color: #555;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.3rem 0.5rem;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}


/*--------------------------- Footer ------------------------*/
.footer {
  background: linear-gradient(135deg, rgba(34, 34, 59, 0.95) 0%, rgba(34, 34, 59, 0.98) 100%);
  color: #fff;
  padding: 4rem 0 2rem 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

.footer::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.footer-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-nav ul {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #e0e7ff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-nav a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(102, 126, 234, 0.15);
  color: #e0e7ff;
  border-radius: 10px;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-social a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  font-size: 0.95rem;
  color: #a0a8cc;
  border-top: 1px solid rgba(102, 126, 234, 0.2);
  position: relative;
  z-index: 1;
}


/*------------------- Responsive Design ------------------------ */
@media (min-width: 768px) and (max-width: 1199px) {

  /* TESTIMONAIL SECTION */
  .testimonial-card {
    width: 320px;
  }

  .testimonials-grid {
    gap: 1.8rem;
  }
}

@media(min-width: 1200px) {

  /* OFFERING SECTION */
  .offerings-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* TESTIMONIAL SECTION */
  .testimonial-card {
    width: 380px;
  }

  .testimonials-grid {
    gap: 2.5rem;
  }
}

@media(min-width: 1024px) {
  .header {
    padding: 1rem 4rem;
  }

  .nav ul {
    gap: .5rem;
  }
}

@media(max-width: 991px) {
  .subtitle {
    font-size: 1.1rem;
  }

  /* OFFERING SECTION */
  .offerings-grid {
    grid-template-columns: repeat(2, minmax(220px, 350px));
    justify-content: center;
    gap: 1.2rem;
  }

  /* WHY-EVORYTE SECTION */
  .why-content {
    margin: 1.5rem 20px;
    padding: 4rem 2rem;
  }

  .why-grid {
    gap: 1.5rem;
  }

  .why-card {
    padding: 2rem 1rem;
  }

  /* CONTACT SECTION */
  .contact {
    padding: 4rem 40px 3rem 40px;
  }

  .contact-flex {
    gap: 3rem;
  }

  .contact-info,
  .contact-form {
    padding: 2.5rem 2rem;
  }

  /* FOOTER */
  .footer-flex {
    padding: 0 1.5rem;
  }
}

@media(max-width: 850px) {

  .header .btn-primary,
  .nav ul {
    display: none;
  }

  .mobile-menu-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #22223b;
  }

  .logo {
    font-size: 1.6rem;
  }
}

@media(max-width: 768px) {
  .header {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .section {
    padding: 5rem 20px;
  }

  /* HERO SECTION */
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: .7rem;
  }

  .subtitle {
    margin-bottom: 1.2rem;
  }

  .hero .hero-btn {
    font-size: 1rem;
    padding: 0.75rem 1.8rem;
    box-shadow:
      0 6px 24px rgba(102, 126, 234, 0.16),
      0 2px 6px rgba(34, 34, 59, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .hero .hero-btn:hover {
    box-shadow:
      0 8px 28px rgba(102, 126, 234, 0.24),
      0 3px 12px rgba(34, 34, 59, 0.12),
      0 6px 24px rgba(255, 255, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px) scale(1.01);
  }

  /* OFFERING SECTION */
  .offering-card {
    padding: 1.5rem 1rem;
  }

  /* WHY-EVORYTE SECTION */
  .why-content {
    margin: 1rem 10px;
    padding: 3rem 1.5rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-card {
    padding: 1.5rem 0.8rem;
  }

  .why-icon {
    font-size: 2.5rem;
  }

  /* TESTIMONIAL SECTION */
  /* Hide gradient on mobile for cleaner look */
  .testimonials-slider::before {
    left: 50px;
    width: 20px;
  }

  .testimonials-slider::after {
    right: 50px;
    width: 20px;
  }

  /* CONTACT SECTION */
  .contact {
    padding: 3rem 20px 2rem 20px;
  }

  .contact-flex {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info {
    flex: 1 1 100%;
    padding: 2rem 1.5rem;
  }

  .contact-info h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .contact-info p {
    text-align: center;
    font-size: 1rem;
  }

  .social-icons {
    justify-content: center;
  }

  .contact-form {
    flex: 1 1 100%;
    padding: 2rem 1.5rem;
  }

  /* FOOTER */
  .footer-flex {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-nav {
    order: 2;
  }

  .footer-social {
    order: 3;
    justify-content: center;
  }
}

@media (max-width: 767px) {

  /* TESTIMONAIL SECTION */
  .testimonials-slider {
    padding: 0 50px;
  }

  .testimonials-grid {
    gap: 1.5rem;
  }

  .testimonial-card {
    width: calc(100vw - 120px);
    max-width: 300px;
    min-width: 280px;
    padding: 1.5rem 1.2rem;
  }

  .testimonial-card p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .testimonials-slider .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .testimonials-slider .testimonials-prev {
    left: 8px;
  }

  .testimonials-slider .testimonials-next {
    right: 8px;
  }
}


@media(max-width: 600px) {
  .section-title {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  /* HERO SECTION */
  .hero {
    min-height: 100vh;
    padding: 2.5rem 0 2.5rem 0;

  }

  .hero-content {
    padding: 0 2.2rem;
  }

  .hero h1 {
    margin-bottom: 1.3rem;
  }

  .subtitle {
    margin-bottom: 2.2rem;
  }

  .hero .hero-btn {
    margin-top: 0.7rem;
    margin-bottom: 0.2rem;
  }

  /* FEATURED SECTION */
  .product-card {
    padding: 1rem 0.5rem 1rem 0.5rem;
    border-radius: 14px;
  }

  .product-info h4 {
    font-size: 1rem;
  }

  .product-info p {
    font-size: 0.95rem;
  }

  .product-link {
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem;
  }
}

@media(max-width: 576px) {

  /* OFFERING SECTION */
  .offerings-grid {
    grid-template-columns: repeat(1, minmax(220px, 350px));
  }

  /* CONTACT SECTION */
  .contact-info,
  .contact-form {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .contact-info h2 {
    font-size: 1.6rem;
  }

  .contact-info li a {
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
  }

  .social-icons a {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.9rem 1rem;
  }

  /* FOOTER */
  .footer-nav ul {
    gap: 1rem;
    justify-content: center;
  }

  .footer-nav a {
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .footer-logo {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {

  /* HERO SECTION */
  .hero .hero-btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
  }

  .hero h1 {
    line-height: 1.12;
    margin-bottom: 1.1rem;
  }

  .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    padding: 0 1.2rem;
  }

  .hero .hero-btn {
    margin-top: 0.5rem;
  }

  /* CONTACT SECTION */
  .contact-info li {
    margin-bottom: 1rem;
  }

  .contact-info i {
    font-size: 1.1rem;
  }

  .social-icons {
    gap: 0.8rem;
  }

  /* FOOTER */
  .footer-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .footer-social {
    gap: 0.8rem;
  }

  .copyright {
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 370px) {
  .hero-content {
    padding: 0 1.5rem;
  }
}
