/* ألوان من colors.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  background: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* التصميم غير المتماثل مع أنيميشن */
.asymmetrical {
  position: absolute;
  height: 100%;
  width: 45%;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  z-index: -1;
  top: 0;
  right: 0;
  border-bottom-left-radius: 60px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
  animation: wave 12s ease-in-out infinite;
}

.asymmetrical-2 {
  position: absolute;
  height: 80%;
  width: 40%;
  background: rgba(var(--accent-color-rgb), 0.1);
  z-index: -2;
  top: 0;
  left: 0;
  border-bottom-right-radius: 60px;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  animation: wave 10s ease-in-out infinite reverse;
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* شريط التنقل مع أنيميشن */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 8%;
  position: relative;
  animation: fadeDown 1s ease-out;
  background-color: var(--white-color);
  box-shadow: var(--shadow-light);
}

@keyframes fadeDown {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo {
  display: flex;
  align-items: center;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.8rem;
}

.logo img {
  height: 50px;
  margin-left: 10px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.nav-links a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
}

.btn:hover:before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-5px);
  background: transparent;
  color: var(--accent-color);
  box-shadow: 0 12px 35px rgba(var(--accent-color-rgb), 0.3);
  border: 2px solid var(--accent-color);
}

.nav-actions {
  display: flex;
  align-items: center;
}

/* قسم البطل مع أنيميشن متقدمة */
.hero {
  padding: 5rem 8% 8rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
}

.hero-content {
  flex: 1;
  padding-right: 3rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--black-color);
  animation: textReveal 1.2s ease-out;
}

@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 span {
  color: var(--black-color);
  position: relative;
}

.hero h1 span:after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background: rgba(var(--secondary-color-darker-rgb), 0.4);
  z-index: -1;
}


.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  animation: fadeIn 1.5s ease-out;
}

.hero-image {
  flex: 1;
  position: relative;
  perspective: 1000px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.dashboard {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.dashboard:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.dashboard img {
  max-width: 100%;
  display: block;
  transition: all 0.3s ease;
}

.dashboard:hover img {
  transform: scale(1.02);
}

.dashboard-header {
  background: var(--secondary-color);
  padding: 0.8rem;
  display: flex;
  align-items: center;
}

.dashboard-dots {
  display: flex;
  margin-left: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 0.2rem;
  animation: blink 1.5s infinite;
}

.dot:nth-child(1) {
  background: var(--red-color);
  animation-delay: 0s;
}

.dot:nth-child(2) {
  background: var(--accent-color);
  animation-delay: 0.5s;
}

.dot:nth-child(3) {
  background: var(--green-main);
  animation-delay: 1s;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* قسم الميزات بطريقة حديثة - تم تحسينه */
.features {
  padding: 5rem 8%;
  background: var(--white-color);
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: lineExtend 1.5s ease-out;
}

@keyframes lineExtend {
  0% {
    width: 0;
  }
  100% {
    width: 80px;
  }
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-color);
  font-size: 1.1rem;
}

/* تصميم جديد ومحسّن للميزات - بطاقات */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--light-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  animation: fadeIn 1s ease-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color-light);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.feature-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.1);
}

.feature-icon {
  position: absolute;
  top: -30px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  z-index: 2;
}

.feature-card:hover .feature-icon {
  transform: rotate(15deg) scale(1.1);
  background: var(--secondary-color);
}

.feature-content {
  padding: 2rem 1.5rem 1.5rem;
  flex-grow: 1;
  position: relative;
  background: var(--white-color);
}

.feature-content:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--accent-color);
  transition: all 0.5s ease;
}

.feature-card:hover .feature-content:after {
  width: 100%;
}

.feature-content h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.feature-content p {
  color: var(--gray-color);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-top: 1rem;
}

.feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-color-light);
  display: flex;
  align-items: center;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li i {
  color: var(--accent-color);
  margin-left: 10px;
  width: 20px;
}

/* قسم عن الشاليه */
.about {
  padding: 8rem 8%;
  background: var(--green-light-bg);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.about-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-text h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
  animation: lineExtend 1.5s ease-out;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-dark-color-2);
}

.stats {
  display: flex;
  margin-top: 2rem;
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--white-color);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  animation: fadeIn 1s ease-out;
  flex: 1;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* قسم الغرف */
.rooms {
  padding: 5rem 8%;
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.room-card {
  background: var(--white-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  position: relative;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.room-image {
  height: 250px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.room-card:hover .room-image img {
  transform: scale(1.1);
}

.room-content {
  padding: 1.5rem;
}

.room-content h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.room-features {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-features li {
  background: rgba(var(--accent-color-rgb), 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.room-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.price span {
  font-size: 1rem;
  color: var(--gray-color);
}

/* قسم الاشتراك */
.cta {
  padding: 8rem 8%;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,224L48,213.3C96,203,192,181,288,186.7C384,192,480,224,576,229.3C672,235,768,213,864,181.3C960,149,1056,107,1152,112C1248,117,1344,171,1392,197.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
  animation: wave 10s linear infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  animation: textReveal 1s ease-out;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
  animation: fadeIn 1.5s ease-out;
}

.cta .btn {
  background: #fff;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  animation: pulse 2s infinite;
}

.cta .btn:hover {
  background: var(--accent-color);
  color: #fff;
  animation: none;
}

/* التذييل */
.footer {
  background: var(--dark-color);
  color: #fff;
  padding: 4rem 8% 2rem;
  position: relative;
}

.footer:before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%238c8566" d="M0,224L48,213.3C96,203,192,181,288,186.7C384,192,480,224,576,229.3C672,235,768,213,864,181.3C960,149,1056,107,1152,112C1248,117,1344,171,1392,197.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col h3:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: -8px;
  left: 0;
}

.footer-col p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.8rem;
  color: #fff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-right: 5px;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 3rem;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .asymmetrical,
  .asymmetrical-2 {
    display: none;
  }

  .about-content {
    flex-direction: column;
  }

  .stats {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .stats {
    flex-direction: column;
  }
}

/* مؤثرات الحركة العامة */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* مؤشر التحميل */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 75px;
  height: 75px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* عناصر متحركة إضافية */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(var(--accent-color-rgb), 0.1);
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 80px;
  height: 80px;
  bottom: 20%;
  right: 15%;
  animation-delay: 1s;
}

.floating-element:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 25%;
  animation-delay: 2s;
}
/* تنسيق قسم المرفقات الجديد */
.features-timeline {
  padding: 100px 8% 80px;
  background: var(--white-color);
  position: relative;
  overflow: hidden;
}

.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline-line {
  position: absolute;
  right: 50%;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--accent-color),
    var(--secondary-color)
  );
  z-index: 1;
  animation: linePulse 3s infinite;
}

@keyframes linePulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.timeline-item.right {
  justify-content: flex-end;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-point {
  position: absolute;
  right: calc(50% - 15px);
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  border-radius: 50%;
  border: 4px solid var(--white-color);
  box-shadow: 0 0 0 4px var(--accent-color);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-point::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--white-color);
  border-radius: 50%;
}

.timeline-content {
  width: 45%;
  background: var(--white-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: right;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 0;
  background: var(--accent-color);
  transition: height 0.5s ease;
}

.timeline-item:hover .timeline-content::before {
  height: 100%;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timeline-image {
  width: 45%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.timeline-item:hover .timeline-image img {
  transform: scale(1.05);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.timeline-item:hover .feature-icon {
  transform: rotate(15deg) scale(1.1);
  color: var(--secondary-color);
}

.timeline-content h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.timeline-content h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.5s ease;
}

.timeline-item:hover .timeline-content h3::after {
  width: 100%;
}

.timeline-content p {
  color: var(--gray-dark-color-2);
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-details {
  list-style: none;
  padding: 0;
}

.feature-details li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color-light);
  display: flex;
  align-items: center;
}

.feature-details li:last-child {
  border-bottom: none;
}

.feature-details li i {
  color: var(--accent-color);
  margin-left: 10px;
  width: 20px;
  transition: transform 0.3s ease;
}

.timeline-item:hover .feature-details li i {
  transform: scale(1.3);
}

/* التصميم المتجاوب */
@media (max-width: 992px) {
  .timeline-line {
    right: 30px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 60px;
  }

  .timeline-item.right,
  .timeline-item.left {
    padding-right: 50px;
  }

  .timeline-content,
  .timeline-image {
    width: 100%;
  }

  .timeline-image {
    margin-bottom: 30px;
  }

  .timeline-point {
    right: 18px;
  }
}

@media (max-width: 768px) {
  .features-timeline {
    padding: 80px 5%;
  }

  .timeline-line {
    right: 20px;
    width: 3px;
  }

  .timeline-point {
    right: 13px;
    width: 25px;
    height: 25px;
  }

  .timeline-item.right,
  .timeline-item.left {
    padding-right: 40px;
  }

  .timeline-content {
    padding: 25px;
  }

  .timeline-content h3 {
    font-size: 1.6rem;
  }

  .feature-icon {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .timeline-line {
    right: 15px;
  }

  .timeline-point {
    right: 8px;
    width: 20px;
    height: 20px;
  }

  .timeline-item.right,
  .timeline-item.left {
    padding-right: 30px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content h3 {
    font-size: 1.4rem;
  }

  .timeline-image img {
    height: 220px;
  }
}

@media (min-width: 991px) {
  .timeline-item.left .timeline-content,
  .timeline-item.left .timeline-image {
    margin-right: 60px;
  }

  .timeline-item.right .timeline-content,
  .timeline-item.right .timeline-image {
    margin-left: 60px;
  }
}

.timeline-item.in-view .timeline-content::before {
  height: 100%;
}

.timeline-item.in-view .timeline-content {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timeline-item.in-view .timeline-image img {
  transform: scale(1.05);
}

.timeline-item.in-view .feature-icon {
  transform: rotate(15deg) scale(1.1);
  color: var(--secondary-color);
}

.timeline-item.in-view .timeline-content h3::after {
  width: 100%;
}

.timeline-item.in-view .feature-details li i {
  transform: scale(1.3);
}

