* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, #e0e0e0, #f9f9f9);
  color: #333;
}

.section {
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.hero {
  min-height: 100vh;
  background: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.hero-content {
  max-width: 500px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  color: #111;
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: scale(1.03);
}

.btn {
  display: inline-block;
  background-color: #222;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #444;
}

.whatsapp {
  background-color: #25D366;
  color: white;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card, .result-card {
  width: 300px;
  text-align: left;
}

.result-card p {
  font-style: italic;
  margin-bottom: 10px;
}

.result-card span {
  font-weight: bold;
}

.footer {
  text-align: center;
  padding: 20px;
  background-color: #eee;
  font-size: 0.9rem;
  color: #444;
}

@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
}


.portfolio-swiper {
  width: 100%;
  padding: 20px;
}

.portfolio-slide {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.portfolio-slide img {
  width: 100%;
  display: block;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-slide:hover img {
  transform: scale(1.05);
}


.portfolio-section {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.portfolio-section .section-title {
  font-size: 2.3rem;
  margin-bottom: 40px;
  color: #222;
}

.portfolio-swiper {
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

.portfolio-card img {
  width: auto;
  height: 480px; /* Adjust this to match your actual 9:16 image height */
  max-height: 90vh;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


.portfolio-card h3 {
  font-size: 1.1rem;
  color: #333;
  margin: 15px 0 10px;
}

.view-btn {
  background-color: #111;
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s;
}

.view-btn:hover {
  background-color: #000;
}


.rotating-wrapper {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 0 10px;
  white-space: nowrap;
  display: flex;
  justify-content: center;
}

.rotating-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.rotating-text {
  font-size: 1.6rem;
  font-weight: bold;
  white-space: nowrap;
  color: #222;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.fixed-text {
  flex-shrink: 0;
}

#rotate-word {
  color: #007bff;
  display: inline-block;
  width: 170px; /* Lock width based on longest word */
  transition: opacity 0.5s ease-in-out;
  text-align: left;
}




/* PHONE MOCKUP FRAME */
.phone-mockup {
  position: relative;
  width: 240px;
  height: 500px;
  background: #000;
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #444;
  border-radius: 3px;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.flow-container {
  max-width: 700px;
  margin: 80px auto;
  position: relative;
  padding-left: 40px;
}

.flow-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ddd;
}

.flow-step {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin-bottom: 60px;
  background: #ffffffc7;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  position: relative;
}

.flow-step::before {
  content: attr(data-icon);
  position: absolute;
  left: -40px;
  top: 20px;
  font-size: 22px;
  background: white;
  border: 2px solid #4f46e5;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
}

.flow-step.active {
  opacity: 1;
  transform: translateY(0);
}

.flow-step h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: #1f2937;
}

.flow-step p {
  margin: 0;
  color: #4b5563;
}
