/* Reset e Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Faz parte do header */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Colors */
:root {
  --primary-color: #782900;
  --secondary-color: #eb8000;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --bgcolor: #FFF2EB;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--secondary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.logo-link {
  text-decoration: none;
}

.nav-desktop {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-link-mobile {
  text-decoration: none;
  color: var(--dark-gray);
  padding: 0.75rem 0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link-mobile:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fff5f0 0%, #fff0e6 100%);
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title-main {
  display: block;
  color: var(--primary-color);
}

.hero-title-accent {
  display: block;
  color: var(--secondary-color);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* A manga que vira cubo */
.hero-shape {
            width: 300px;
            height: 300px;
            background-color: var(--primary-color);
            border-radius: 0; /* Começa como um quadrado perfeito */
            position: relative;
            overflow: hidden;
            z-index: 1;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            /* A animação 'morphFloat' foi atualizada para criar o círculo */
            animation: morphFloat 12s ease-in-out infinite, colorShift 8s ease-in-out infinite;
        }

        .hero-shape::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50%; /* Tamanho do quadrado interno */
            height: 50%;
            background-color: var(--bgcolor);
            border-radius: 0;
            z-index: 2;
            /* Adiciona a animação para o quadrado interno virar uma bola junto */
            animation: morphBefore 12s ease-in-out infinite;
        }

        .hero-shape::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top right, transparent calc(50% - 2px), var(--bgcolor) calc(50% - 2px), var(--bgcolor) calc(50% + 2px), transparent calc(50% + 2px));
            background-size: 100% 100%;
            background-repeat: no-repeat;
            z-index: 3;
        }
        
        /* * NOTA: O seletor '::shimmer' não é um pseudo-elemento CSS válido e será ignorado pelo navegador.
         * Para um efeito de brilho, seria necessário usar uma classe (ex: .shimmer) no HTML
         * ou aplicar a animação a um pseudo-elemento existente como ::before ou ::after.
         * O código foi mantido como no original, conforme solicitado.
        */
        .hero-shape::shimmer {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
            110deg,
            transparent 40%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 60%
            );
            background-size: 200% 100%;
            background-position: 100% 0;
            animation: shimmer 1s linear infinite;
            z-index: 4;
        }

        /* Keyframes atualizados para a transformação de quadrado para círculo */
        @keyframes morphFloat {
            0%, 100% {
                transform: scale(1) rotate(0deg);
                border-radius: 0%; /* Estado de quadrado */
            }
            50% {
                transform: scale(1.1) rotate(180deg);
                border-radius: 50%; /* Estado de círculo */
            }
        }
        
        /* Novos keyframes para animar o border-radius do quadrado interno */
        @keyframes morphBefore {
            0%, 100% {
                border-radius: 0%;
            }
            50% {
                border-radius: 50%;
            }
        }

        /* Seus keyframes originais para as outras animações */
        @keyframes colorShift {
            0%, 100% {
                background-color: var(--primary-color);
            }
            50% {
                background-color: var(--secondary-color);
            }
        }

        @keyframes shimmer {
            0% {
                background-position: 100% 0;
            }
            100% {
                background-position: -100% 0;
            }
        }

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  z-index: 10; /* Garantir que fique acima do hero-shape */
}

.btn::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.5s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #5a1f00);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(120, 41, 0, 0.3);
}

/* var(--primary-color), #5a1f00) */
.btn-primary:hover {
  background: linear-gradient(135deg, #5a1f00, var(--primary-color));
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(120, 41, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(0px) scale(1);
  transition: all 0.1s ease;
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  position: relative;
  z-index: 1;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--secondary-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover::after {
  width: 100%;
}

.btn-secondary:hover {
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(235, 128, 0, 0.4);
}

.btn-secondary:active {
  transform: translateY(0px) scale(1);
  transition: all 0.1s ease;
}

.btn-full {
  width: 100%;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--white);
}

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

/* Card Styles */
.about-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(235, 128, 0, 0.05),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 0;
}

.about-card:hover::before {
  left: 100%;
}

.about-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 30px; /* Considere usar uma variável para o box-shadow no hover */
}
.about-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), #ff9500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 2s ease;
  transform: translate(-50%, -50%);
}

/* - Corrigido: o ícone agora gira 360 graus no hover */
.about-card:hover .about-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 8px 16px rgba(235, 128, 0, 0.3);
}

.about-card:hover .about-icon::after {
  width: 100%;
  height: 100%;
}

.about-card-text {
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--light-gray);
}

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

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 4px solid var(--secondary-color);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--secondary-color),
    var(--primary-color)
  );
  transition: width 0.3s ease;
  z-index: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(120, 41, 0, 0.03),
    transparent
  );
  transition: right 0.5s ease;
  z-index: 0;
}

.service-card:hover::before {
  width: 6px;
}

.service-card:hover::after {
  right: 100%;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-left-color: var(--primary-color);
}

/* Seletor corrigido para o ícone de serviço */
.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), #ff9500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: ""; /* Corrigido: content precisa de aspas para uma string vazia ou valor */
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 2s ease;
}

.service-card:hover .service-icon {
  /* transform: scale(1.1) rotateY(180deg); */
  box-shadow: 0 6px 12px rgba(235, 128, 0, 0.3);
}

.service-card:hover .service-icon::before {
  left: 100%;
}

/* Seletor adicionado para o título do serviço */
.service-title {
  font-size: 1.25rem; /* Ajustado de 1rem para 1.25rem para um título */
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact-content {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; */
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-form-wrapper {
  flex: 2;
  min-width: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.google-forms-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 78.4%; /* Proporção 880x690 = 78.4% */
  overflow: hidden;
}

.google-forms-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.business-hours {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.business-hours h4 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.business-hours p {
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-logo-tagline {
  font-size: 0.7rem;
  color: var(--secondary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-description {
  color: #ccc;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 2rem;
  text-align: center;
  color: #ccc;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.bounce-in {
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Logo Animation */
.logo {
  animation: logoEntrance 1s ease-out 0.5s both;
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
  }
  50% {
    transform: translateY(5px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero Title Animation */
.hero-title-main {
  animation: slideInFromLeft 1s ease-out 0.8s both;
}

.hero-title-accent {
  animation: slideInFromRight 1s ease-out 1.2s both;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Description Animation */
.hero-description {
  animation: fadeInUp 1s ease-out 1.6s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Buttons Animation */
.hero-buttons {
  animation: fadeInUp 1s ease-out 2s both;
}

/* Hero Shape Animation */
.hero-visual {
  animation: scaleIn 1s ease-out 1.4s both;
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Staggered Animation for Cards */
.about-card:nth-child(1) {
  animation-delay: 0.1s;
}
.about-card:nth-child(2) {
  animation-delay: 0.2s;
}
.about-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Pulse Animation for Interactive Elements */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 128, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(235, 128, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(235, 128, 0, 0);
  }
}

/* Typing Cursor Animation */
.typing-cursor {
  border-right: 2px solid var(--secondary-color);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    border-color: var(--secondary-color);
  }
  51%,
  100% {
    border-color: transparent;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--white);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(235, 128, 0, 0.3);
}

/* Form Validation Styles */
.form-input.valid,
.form-textarea.valid {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-error-message.show {
  display: block;
}

/* Loading state for form button */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for better accessibility */
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.nav-link:focus,
.social-link:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Service Pages Styles */
.service-hero {
  background: linear-gradient(135deg, #fff5f0 0%, #fff0e6 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.service-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-icon-large {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--secondary-color), #ff9500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(235, 128, 0, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.service-hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-hero-description {
  font-size: 1.2rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.service-details {
  padding: 80px 0;
  background: var(--white);
}

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

.service-feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 4px solid var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.service-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), #ff9500);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.service-feature-card:hover .service-feature-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(235, 128, 0, 0.3);
}

.service-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-feature-description {
  color: var(--dark-gray);
  line-height: 1.6;
}

.service-technologies {
  padding: 80px 0;
  background: var(--light-gray);
}

.technologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.tech-item i {
  font-size: 3rem;
  color: var(--secondary-color);
}

.tech-item span {
  font-weight: 600;
  color: var(--primary-color);
}

.service-process {
  padding: 80px 0;
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #5a1f00);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(120, 41, 0, 0.3);
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.process-description {
  color: var(--dark-gray);
  line-height: 1.6;
}

.service-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), #5a1f00);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Responsive adjustments for service pages */
@media (max-width: 768px) {
  .service-hero {
    padding: 120px 0 60px;
  }

  .service-hero-title {
    font-size: 2.5rem;
  }

  .service-hero-description {
    font-size: 1.1rem;
  }

  .service-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .technologies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .service-hero-title {
    font-size: 2rem;
  }

  .service-icon-large {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .technologies-grid {
    grid-template-columns: 1fr;
  }

  .tech-item {
    padding: 1.5rem 1rem;
  }

  .tech-item i {
    font-size: 2.5rem;
  }
}

/* Service Link Styles */
.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.service-link::after {
  content: " →";
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--primary-color);
}

.service-link:hover::after {
  transform: translateX(5px);
}
