/* ===== VARIABLES ===== */
:root {
  --primary: #0176d3;
  --primary-dark: #0157a3;
  --primary-light: #e6f2ff;
  --secondary: #ff6b35;
  --dark: #333333;
  --gray: #666666;
  --light: #f8f9fa;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the video covers the area */
  z-index: -1;
  /* Sends the video behind text */
  filter: brightness(60%);
  /* Optional: darken for better contrast */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-slide-1 {
  background-image: url("assets/images/slide-4-migration.jpg");
}

.carousel-slide-2 {
  background-image: url("assets/images/slide-1.jpg");
}

.carousel-slide-3 {
  background-image: url("assets/images/slide-2.jpg");
}

.carousel-slide-4 {
  background-image: url("assets/images/slide-3.jpg");
}

.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s;
}

.slide-content.active {
  opacity: 1;
  visibility: visible;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicator.active {
  background-color: var(--white);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 2;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* ===== KEY OFFERINGS SECTION ===== */
.offerings {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.intro {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 900px;
  font-size: 1.1rem;
}

.zigzag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.zigzag-grid > :nth-child(2),
.zigzag-grid > :nth-child(4) {
  margin-top: 80px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

.card:nth-child(4) {
  animation-delay: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  width: 100%;
  /* height: 180px; */
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
}

.card h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
}

.card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.card:hover h3::after {
  width: 50px;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  z-index: 2;
}

.card:nth-child(1) .card-icon {
  background: var(--primary);
}

.card:nth-child(2) .card-icon {
  background: var(--secondary);
}

.card:nth-child(3) .card-icon {
  background: var(--primary);
}

.card:nth-child(4) .card-icon {
  background: var(--secondary);
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: fadeUp 0.8s ease forwards;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.service-img {
  height: 240px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px 25px;
  text-align: center;
}

.service-content h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card:hover .service-content h3 {
  color: var(--secondary);
}

.service-content p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 480px;
}

.about-text p {
  text-align: justify;
  line-height: 1.8;
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.about-image {
  flex: 1 1 480px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-image:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.08);
}

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.process-container {
  position: relative;
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 80px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 15px;
}

.step-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(1, 118, 211, 0.15);
  border: 3px solid var(--primary-light);
  transition: var(--transition);
  position: relative;
}

.step-icon i {
  font-size: 2.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(1, 118, 211, 0.3);
}

.process-step:hover .step-icon {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(1, 118, 211, 0.25);
}

.process-step:hover .step-icon i {
  color: var(--primary-dark);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.step-description {
  color: var(--gray);
  line-height: 1.7;
  font-size: 1rem;
}

.process-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.feature-description {
  color: var(--gray);
  line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 80px 0;
  background-color: var(--light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-container {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  margin-right: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(5px);
}

.cta-button {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 4px 10px rgba(1, 118, 211, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
  text-align: center;
  border: 2px solid transparent;
  font-size: 1rem;
  line-height: 1.4;
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(1, 118, 211, 0.4);
  border-color: var(--primary-dark);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== DESKTOP STYLES (Default) ===== */
.hero h1,
.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero p,
.slide-content p {
  font-size: 1.2rem;
  margin: 0 auto 30px;
  max-width: 700px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* ===== TABLET STYLES (768px and below) ===== */
@media (max-width: 768px) {
  .hero h1,
  .slide-content h2 {
    font-size: 2.5rem;
  }

  .hero p,
  .slide-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .zigzag-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .zigzag-grid > :nth-child(2),
  .zigzag-grid > :nth-child(4) {
    margin-top: 0;
  }

  .about-content,
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }

  .process-timeline {
    flex-direction: column;
    gap: 60px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 25px;
  }

  .step-icon {
    margin: 0;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
  }

  .step-content {
    flex: 1;
  }

  .cta-button {
    padding: 14px 28px;
    font-size: 1.05rem;
    min-width: 180px;
  }

  .hero .cta-button {
    margin: 0 auto;
    display: block;
    max-width: 200px;
  }

  .services,
  .about,
  .process-section {
    padding: 80px 0;
  }

  .offerings {
    margin: 40px auto;
  }
}

/* ===== MOBILE STYLES (480px and below) ===== */
@media (max-width: 480px) {
  .hero h1,
  .slide-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero p,
  .slide-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-title p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .carousel-nav {
    padding: 0 10px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .carousel-indicators {
    bottom: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .step-icon {
    margin: 0 auto;
    width: 80px;
    height: 80px;
  }

  .step-icon i {
    font-size: 2rem;
  }

  .step-number {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .process-features {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-container {
    flex-direction: column;
    gap: 40px;
  }

  .cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }

  .hero .cta-button {
    width: 90%;
    max-width: 300px;
  }

  .card-content,
  .service-content {
    padding: 20px;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .info-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .services,
  .about,
  .process-section,
  .testimonials,
  .contact {
    padding: 60px 0;
  }

  .offerings {
    margin: 30px auto;
    padding: 0 15px;
  }
}

/* ===== SMALL MOBILE STYLES (360px and below) ===== */
@media (max-width: 360px) {
  .hero h1,
  .slide-content h2 {
    font-size: 1.8rem;
  }

  .hero p,
  .slide-content p {
    font-size: 0.95rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 14px 24px;
    font-size: 1rem;
    min-width: auto;
  }

  .hero .cta-button {
    width: 95%;
    max-width: none;
  }

  .card-image {
    height: 150px;
  }

  .service-img {
    height: 200px;
  }

  .step-icon {
    width: 70px;
    height: 70px;
  }

  .step-icon i {
    font-size: 1.8rem;
  }
}
