/* style.css - Complete Final Version with 360° Logo Animation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #ffffff;
  color: #1f2937;
  padding-top: 80px;
  overflow-x: hidden;
  width: 100%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== NAVBAR - WITH PROFESSIONAL LOGO (360° ROTATION) ====== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  min-height: 70px;
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1420px;
  height: 1px;
  background: linear-gradient(to right, transparent, #ff7a00, transparent);
  border-radius: 10px;
}

/* Professional Logo with Circular Image - 360° ROTATION ANIMATION */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  z-index: 1001;
  margin-right: auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.02);
}

.logo-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.15);
  transition: all 0.3s ease;
  border: none; /* NO BORDER */
  /* 360° Rotation Animation */
  animation: rotate360 20s linear infinite;
  animation-play-state: running;
}

.logo-image:hover {
  animation-play-state: paused;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.25);
}

/* Smooth 360° Rotation Animation */
@keyframes rotate360 {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(90deg) scale(1.02);
  }
  50% {
    transform: rotate(180deg) scale(1);
  }
  75% {
    transform: rotate(270deg) scale(1.02);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-highlight {
  color: #ff7a00;
  position: relative;
}

.logo-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff7a00, transparent);
  border-radius: 2px;
}

/* Nav menu container */
.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

/* Navigation links - aligned to right */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 16px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ff7a00;
}

/* Call to action buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 15px;
}

.btn.primary {
  background: #ff7a00;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  min-width: 120px;
}

.btn.primary:hover {
  background: #e66e00;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 122, 0, 0.3);
}

.btn.secondary {
  border: 1px solid #ff7a00;
  color: #111827;
  background: white;
}

.btn.secondary:hover {
  background: #fff3e8;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  margin-left: 20px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background-color: #111827;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

/* Responsive Navbar */
@media (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }
  
  .nav-menu {
    gap: 25px;
  }
  
  .btn {
    padding: 9px 18px;
    font-size: 14px;
  }
  
  .logo-text {
    font-size: 1.6rem;
  }
  
  .logo-image {
    width: 45px;
    height: 45px;
    animation: rotate360 25s linear infinite;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
    min-height: 65px;
  }
  
  .logo-container {
    gap: 10px;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .logo-image {
    width: 42px;
    height: 42px;
    animation: rotate360 30s linear infinite;
  }
  
  .hamburger {
    display: flex;
    margin-left: 15px;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Mobile menu - full width right-aligned content */
  .nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: white;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 40px 30px;
    gap: 30px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto;
    margin-left: 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    align-items: flex-end;
    padding-right: 20px;
  }
  
  .nav-links a {
    font-size: 18px;
    padding: 12px 25px;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
    width: auto;
  }
  
  .nav-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 20px;
    padding-right: 20px;
  }
  
  .nav-actions .btn {
    width: auto;
    min-width: 180px;
    padding: 14px 30px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 12px 15px;
    min-height: 60px;
  }
  
  .logo-container {
    gap: 8px;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
  
  .logo-image {
    width: 38px;
    height: 38px;
    animation: rotate360 35s linear infinite;
  }
  
  .nav-menu {
    top: 60px;
    height: calc(100vh - 60px);
    padding: 30px 20px;
  }
  
  .nav-links a {
    font-size: 17px;
    padding: 10px 20px;
  }
  
  .hamburger {
    margin-left: 10px;
  }
  
  .nav-actions .btn {
    min-width: 160px;
    padding: 12px 25px;
  }
}

@media (max-width: 360px) {
  .logo-text {
    font-size: 1.3rem;
  }
  
  .logo-image {
    width: 36px;
    height: 36px;
    animation: rotate360 40s linear infinite;
  }
}

/* ====== HERO SECTION ====== */
.hero {
  text-align: center;
  position: relative;
  padding: 60px 20px 40px;
  background: #f8f9fa;
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
  width: 100%;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  padding: 0 15px;
}

.highlight {
  color: #ff7a00;
}

.light {
  color: #6b7280;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 24px);
}

.hero p {
  max-width: 700px;
  margin: 0 auto 35px;
  font-size: clamp(16px, 2.2vw, 18px);
  color: #6b7280;
  line-height: 1.6;
  padding: 0 15px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 0 15px;
}

.hero-buttons .btn {
  min-width: 180px;
  padding: 14px 28px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  padding: 0 15px;
}

.feature-item {
  background: #fff3e8;
  color: #ff7a00;
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 15px 35px;
    border-radius: 0 0 30px 30px;
  }
  
  .hero-buttons {
    gap: 15px;
  }
  
  .hero-buttons .btn {
    min-width: 160px;
    width: 100%;
    max-width: 300px;
  }
  
  .features {
    gap: 10px;
  }
  
  .feature-item {
    font-size: 12px;
    padding: 8px 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 10px 30px;
    border-radius: 0 0 25px 25px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .light {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .features {
    gap: 8px;
  }
  
  .feature-item {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* ====== SERVICES SECTION ====== */
.services-section {
  padding: 80px 0;
  background: #f9fafb;
  position: relative;
  width: 100%;
}

.services-section h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #111827;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.services-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff7a00;
  border-radius: 3px;
}

/* Service alternate layout */
.service-alternate {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #ffedd5;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-alternate.reverse {
  flex-direction: row-reverse;
}

/* Service image */
.service-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.service-alternate:hover .service-image {
  transform: scale(1.02);
}

.service-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-alternate:hover .service-image img {
  transform: scale(1.05);
}

/* Service content */
.service-content {
  flex: 1;
  padding: 0 10px;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.service-icon {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #ff7a00;
  background: #fff3e8;
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.service-content h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.service-description {
  color: #6b7280;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 3px solid #ff7a00;
}

.service-features {
  list-style: none;
  margin-bottom: 25px;
}

.service-features li {
  margin-bottom: 12px;
  color: #374151;
  padding-left: 30px;
  position: relative;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.5;
}

.service-features li::before {
  content: "✓";
  color: #ff7a00;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.1rem;
  background: #fff3e8;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-contact {
  background: linear-gradient(135deg, #fff3e8 0%, #ffe5cc 100%);
  padding: 14px 18px;
  border-radius: 10px;
  margin: 20px 0;
  border: 1px solid #ffedd5;
}

.service-contact p {
  margin: 0;
  color: #111827;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.service-contact i {
  color: #ff7a00;
  font-size: 1.1rem;
}

.book-btn {
  width: 100%;
  margin-top: 10px;
  padding: 14px 25px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Responsive Service Layout */
@media (max-width: 1024px) {
  .service-alternate {
    gap: 40px;
    padding: 25px;
    margin-bottom: 60px;
  }
  
  .service-image img {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }
  
  .service-alternate,
  .service-alternate.reverse {
    flex-direction: column;
    gap: 30px;
    padding: 25px;
    margin-bottom: 50px;
  }
  
  .service-image {
    width: 100%;
  }
  
  .service-image img {
    height: 300px;
  }
  
  .service-content {
    width: 100%;
    padding: 0;
  }
  
  .service-header {
    gap: 15px;
  }
  
  .service-features li {
    padding-left: 28px;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 50px 0;
  }
  
  .service-alternate {
    padding: 20px 15px;
    margin-bottom: 40px;
    border-radius: 15px;
  }
  
  .service-image img {
    height: 220px;
  }
  
  .service-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .service-content h3 {
    text-align: center;
  }
  
  .service-features li {
    font-size: 0.9rem;
    padding-left: 26px;
  }
  
  .book-btn {
    padding: 12px 20px;
  }
}

/* ====== PROCESS SECTION ====== */
.process-section {
  padding: 70px 0;
  background: #ffffff;
  width: 100%;
}

.process-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #111827;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.process-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background-color: #ff7a00;
}

.process-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 20px;
  line-height: 1.6;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.process-step {
  background: #f9fafb;
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #ffedd5;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.step-number {
  display: inline-block;
  width: 45px;
  height: 45px;
  background: #ff7a00;
  color: white;
  border-radius: 50%;
  line-height: 45px;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.process-step h3 {
  color: #111827;
  margin-bottom: 15px;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.process-step ul {
  list-style: none;
  text-align: left;
  padding: 0;
}

.process-step li {
  margin-bottom: 10px;
  color: #374151;
  padding-left: 20px;
  position: relative;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.5;
}

.process-step li::before {
  content: "•";
  color: #ff7a00;
  position: absolute;
  left: 0;
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .process-section {
    padding: 60px 0;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .process-step {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .process-section {
    padding: 50px 0;
  }
  
  .process-step {
    padding: 20px 18px;
  }
}

/* ====== STATS SECTION ====== */
.stats-section {
  padding: 50px 0;
  background: #ff7a00;
  color: white;
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.stat-item p {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-section {
    padding: 40px 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ====== FOOTER SECTION ====== */
.footer {
  background-color: #0b0c10;
  color: #ffffff;
  padding: 60px 5% 25px;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  min-width: 300px;
}

.footer-logo {
  font-size: clamp(1.8rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-desc {
  line-height: 1.6;
  color: #c5c6c7;
  max-width: 480px;
  margin-bottom: 25px;
  font-size: clamp(0.9rem, 1.2vw, 0.95rem);
}

.contact-info p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e5e5;
  font-size: clamp(0.9rem, 1.2vw, 0.95rem);
}

.contact-info i {
  color: #ff7a00;
  width: 18px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #1f2833;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  font-size: 16px;
}

.footer-right {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.footer-right h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 3px solid #ff7a00;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-form .form-row {
  display: flex;
  gap: 15px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 14px;
  background: #1f2833;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.btn-whatsapp {
  background: #ff7a00;
  color: #000;
  font-weight: 800;
  border: none;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1vw, 0.85rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}

.devcube-link {
  color: #ff7a00;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  color: #888;
  font-size: clamp(0.85rem, 1vw, 0.9rem);
}

.footer-tagline {
  margin-top: 8px;
  font-size: clamp(0.8rem, 1vw, 0.85rem);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 20px 25px;
  }
  
  .footer-container {
    gap: 40px;
  }
  
  .footer-form .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .social-icons a {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 15px 20px;
  }
  
  .footer-container {
    gap: 30px;
  }
  
  .footer-left,
  .footer-right {
    min-width: 100%;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .btn-whatsapp {
    padding: 12px;
    font-size: 0.8rem;
  }
}

/* ====== HERO ANIMATION ====== */
.hero-background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-animation-element {
  position: absolute;
  color: #aab6cc;
  opacity: 0.2;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  animation: floatAround 20s linear infinite;
  z-index: 0;
}

.hero-animation-element.element-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.hero-animation-element.element-2 {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
  animation-duration: 22s;
}

.hero-animation-element.element-3 {
  bottom: 30%;
  left: 15%;
  animation-delay: 4s;
  animation-duration: 28s;
}

.hero-animation-element.element-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 6s;
  animation-duration: 24s;
}

@keyframes floatAround {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(100px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(50px, 100px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 50px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
  .hero-animation-element {
    font-size: 1.5rem;
  }
  
  @keyframes floatAround {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
    25% {
      transform: translate(50px, 25px) rotate(90deg);
    }
    50% {
      transform: translate(25px, 50px) rotate(180deg);
    }
    75% {
      transform: translate(-25px, 25px) rotate(270deg);
    }
    100% {
      transform: translate(0, 0) rotate(360deg);
    }
  }
}

@media (max-width: 480px) {
  .hero-animation-element {
    font-size: 1.2rem;
  }
}

/* ====== FORM VALIDATION ====== */
input:invalid,
select:invalid,
textarea:invalid {
  border-color: #ef4444;
}

input:valid,
select:valid,
textarea:valid {
  border-color: #10b981;
}

/* Loading spinner */
.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Ripple effect animations */
.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn,
.btn-whatsapp,
.btn-submit {
  position: relative;
  overflow: hidden;
}

/* Button loading states */
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Focus outlines for accessibility */
*:focus {
  outline: 2px solid #ff7a00;
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* Print styles */
@media print {
  .navbar,
  .hero-buttons,
  .footer-form,
  .social-icons {
    display: none !important;
  }

  body {
    padding-top: 20px;
  }

  .service-alternate {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* Touch feedback for mobile */
.service-alternate.touch-active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Prevent text selection on mobile */
.nav-links a,
.btn,
.btn-whatsapp,
.btn-submit {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
  .nav-links a {
    padding: 12px 0;
  }
  
  .btn, .btn-whatsapp {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Safe area for notch phones */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  
  .hero, .footer {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
  }
}

/* Prevent zoom on iOS */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px;
  }
}