/* Services Page Specific Styles */
:root {
  --primary-color: #4a6bff;
  --primary-dark: #3a56d4;
  --secondary-color: #6c99f5;
  --accent-color: #abf0f5;
  --text-color: #2d3748;
  --text-light: #4a5568;
  --bg-color: #fff;
  --bg-light: #f7fafc;
  --bg-dark: #1a202c;
  --border-color: #e2e8f0;
  --border-radius: 10px;
  --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base styles from Home.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--bg-light);
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 120px 0;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--bg-dark);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
  font-weight: 500;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* Services Hero Section */
.services-hero {
  position: relative;
  background: url('/pagebackground.jpg') center/cover repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 80px;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

.services-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
  color: white;
}

.services-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.5s ease-out;
  color: var(--accent-color);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Services Section */
.main-services {
  padding: 80px 0;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.main-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%234a6bff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  position: relative;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--text-color);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transition: var(--transition);
  z-index: -1;
  opacity: 0;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
  opacity: 1;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon i,
.service-card:hover .service-link {
  color: white;
}

.service-icon {
  margin-bottom: 20px;
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  background: rgba(74, 107, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: rotateY(360deg);
  transition: transform 0.8s, background 0.3s;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card p {
  transition: var(--transition);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
  margin-top: auto;
  position: relative;
  padding-right: 25px;
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.service-card:hover .service-link i {
  transform: translate(5px, -50%);
}

/* Service Detail Sections */
.service-detail {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.service-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%234a6bff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.alt-bg {
  background-color: var(--bg-light);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-detail-content.reverse {
  grid-template-areas: "image text";
}

.service-detail-content.reverse .service-detail-image {
  grid-area: image;
}

.service-detail-content.reverse .service-detail-text {
  grid-area: text;
}

.service-detail-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.service-detail-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.service-detail-text p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.service-features {
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.feature i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 5px;
  transition: var(--transition);
}

.feature:hover i {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.feature span {
  font-size: 1.05rem;
}

.service-detail-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-detail-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 107, 255, 0.2), rgba(108, 153, 245, 0.2));
  z-index: 1;
  opacity: 0;
  transition: var(--transition);
}

.service-detail-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-image:hover::before {
  opacity: 1;
}

.service-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.service-detail-image:hover img {
  transform: scale(1.05);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  background-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.btn-primary:hover {
  background-image: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 107, 255, 0.25);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(74, 107, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 107, 255, 0.15);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(26, 32, 44, 0.9), rgba(74, 107, 255, 0.8)), url('/pagebackground.jpg') center/cover no-repeat;
  padding: 80px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Animation Classes */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-element.animated {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

/* Navigation Styles */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.nav-container {
  width: 90%;
  max-width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.logo img {
  height: 67px;
  border-radius: 0;
  filter: none;
  transition: var(--transition);
  box-shadow: none;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* Burger menu for mobile */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 5px;
  transition: var(--transition);
  border-radius: 3px;
}

/* Footer Styles */
.footer {
  background: var(--bg-dark);
  color: white;
  padding-top: 80px;
}

.footer-container {
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
  border-radius: 0;
  box-shadow: none;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
}

.footer-social .social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 10px;
  transition: var(--transition);
}

.footer-social .social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-heading {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 8px;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.newsletter-form {
  position: relative;
  margin-top: 20px;
}

.newsletter-input {
  width: 100%;
  padding: 15px;
  padding-right: 50px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font-primary);
  font-size: 0.95rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.footer-copyright a:hover {
  color: white;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 100px 0;
  }
  
  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-detail-content.reverse {
    grid-template-areas: 
      "image"
      "text";
  }
  
  .services-hero h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  #navbar {
    padding: 12px 0;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 18px 0;
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 0.5s forwards;
    animation-delay: calc(0.1s * var(--i));
  }
  
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .burger {
    display: block;
    z-index: 1001;
  }
  
  .burger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .burger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  section {
    padding: 80px 0;
  }
  
  .services-hero {
    height: 40vh;
  }
  
  .services-hero h1 {
    font-size: 2rem;
  }
  
  .services-hero p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .services-hero {
    height: 35vh;
  }
  
  .services-hero h1 {
    font-size: 1.8rem;
  }
  
  .services-hero p {
    font-size: 0.9rem;
    max-width: 90%;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 25px 15px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.8rem;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-detail-text h2 {
    font-size: 1.8rem;
  }
  
  .feature {
    margin-bottom: 10px;
  }
  
  .feature i {
    font-size: 1rem;
  }
  
  .feature span {
    font-size: 0.95rem;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-links a {
    justify-content: center;
  }
  
  .newsletter-form {
    max-width: 280px;
    margin: 20px auto 0;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  .whatsapp-button {
    bottom: 70px;
    left: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media screen and (max-width: 360px) {
  .services-hero h1 {
    font-size: 1.6rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
  }
  
  .service-detail-text h2 {
    font-size: 1.6rem;
  }
  
  .cta-content h2 {
    font-size: 1.6rem;
  }
}

/* Sticky Navigation */
#navbar.sticky {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

#navbar.hide {
  transform: translateY(-100%);
}

/* Additional Animations and Effects */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

/* Modern design elements */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-effect {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.shadow-effect:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Improved focus states for accessibility */
a:focus, 
button:focus, 
input:focus, 
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus,
.social-icon:focus,
.back-to-top:focus,
.whatsapp-button:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Print styles for better printing */
@media print {
  .nav-container,
  .footer,
  .back-to-top,
  .whatsapp-button,
  .cta-section {
    display: none;
  }
  
  .services-hero {
    height: auto;
    padding: 40px 0;
    background: none;
    color: black;
  }
  
  .services-hero h1,
  .services-hero p {
    color: black;
    text-shadow: none;
  }
  
  .service-detail-content {
    grid-template-columns: 1fr;
  }
  
  .service-card,
  .service-detail-image {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .section-header h2::after,
  .service-detail-text h2::after {
    display: none;
  }
  
  .service-card::before {
    display: none;
  }
}

/* Prefers reduced motion media query for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-element,
  .animate-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .service-card:hover,
  .service-detail-image:hover,
  .feature:hover i,
  .service-icon {
    transform: none;
    transition: none;
  }
}

/* Enhanced hover effects for cards */
.service-card:hover .service-link {
  padding-right: 30px;
}

/* Animated background for services section */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-bg {
  background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), #4a90e2, #6c63ff);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

/* Loading animation for images */
.lazy-load {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.lazy-load.loaded {
  opacity: 1;
}

/* Floating animation for elements */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

/* Staggered animation for service cards */
.services-grid .service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
  animation-delay: calc(var(--card-index, 0) * 0.1s + 0.3s);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
/* Additional Animations for Services Page */

/* Reveal animations for sections */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.8s ease;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.reveal-rotate {
  opacity: 0;
  transform: rotate(-10deg);
  transition: all 0.8s ease;
}

.reveal-left.active,
.reveal-right.active,
.reveal-up.active,
.reveal-down.active,
.reveal-scale.active,
.reveal-rotate.active {
  opacity: 1;
  transform: translate(0) scale(1) rotate(0);
}

/* Typing text animation */
.typing-text {
  overflow: hidden;
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary-color) }
}

/* Animated underline for links */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.animated-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Ripple effect for buttons */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}

.btn-ripple:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* Shake animation for CTA elements */
.shake:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Heartbeat animation for important elements */
.heartbeat:hover {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

/* Glowing effect for featured items */
.glow {
  transition: all 0.3s ease;
}

.glow:hover {
  box-shadow: 0 0 15px var(--primary-color);
}

/* Flip card animation */
.flip-card {
  perspective: 1000px;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.flip-card-front {
  background-color: white;
  color: var(--text-color);
  box-shadow: var(--box-shadow);
}

.flip-card-back {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: rotateY(180deg);
  box-shadow: var(--box-shadow);
}

/* Zoom in effect for images */
.zoom-effect {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.zoom-effect img {
  transition: transform 0.5s ease;
}

.zoom-effect:hover img {
  transform: scale(1.1);
}

/* Fade in animation for service features */
.feature {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: calc(var(--feature-index, 0) * 0.1s + 0.2s);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Animated gradient border */
.gradient-border {
  position: relative;
  border-radius: var(--border-radius);
  padding: 4px;
}

.gradient-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius);
  padding: 4px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-dark));
  background-size: 400% 400%;
  animation: gradientBorder 15s ease infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Tilt effect on hover */
.tilt-effect {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.tilt-effect:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Animated counter for statistics */
.counter-animation {
  display: inline-block;
  opacity: 0;
}

.counter-animation.visible {
  opacity: 1;
}

/* Parallax scrolling effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Add this JavaScript to your Services.html file to activate the animations */
