/* ============================================
   IMPROVED STYLE.CSS FOR WATER'S IT SOLUTIONS
   ============================================ */

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

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e293b;
  --accent-color: #10b981;
  --light-color: #f8fafc;
  --dark-color: #0f172a;
  --text-color: #334155;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  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::after {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  color: white;
}

.btn-secondary {
  background: var(--gradient-dark);
  color: white;
}

.btn-secondary:hover {
  background: #0f172a;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.bg-light {
  background-color: var(--light-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  position: relative;
}

.loader-square {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--primary-color);
  animation: loader-animation 1.5s ease-in-out infinite;
}

.loader-square:nth-child(1) { top: 0; left: 0; animation-delay: 0s; }
.loader-square:nth-child(2) { top: 0; left: 24px; animation-delay: 0.1s; }
.loader-square:nth-child(3) { top: 0; left: 48px; animation-delay: 0.2s; }
.loader-square:nth-child(4) { top: 24px; left: 0; animation-delay: 0.3s; }
.loader-square:nth-child(5) { top: 24px; left: 24px; animation-delay: 0.4s; }
.loader-square:nth-child(6) { top: 24px; left: 48px; animation-delay: 0.5s; }
.loader-square:nth-child(7) { top: 48px; left: 0; animation-delay: 0.6s; }
.loader-square:nth-child(8) { top: 48px; left: 24px; animation-delay: 0.7s; }
.loader-square:nth-child(9) { top: 48px; left: 48px; animation-delay: 0.8s; }

@keyframes loader-animation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 5px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  transition: var(--transition);
}

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

.logo i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--secondary-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  bottom: -5px;
  left: 0;
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary-color);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  transition: var(--transition);
}

.menu-toggle:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 150px 20px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%232563eb" opacity="0.03"/></svg>');
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

.hero-image i {
  font-size: 15rem;
  color: var(--primary-color);
  opacity: 0.8;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}

.about-text {
  flex: 2;
}

.about-image {
  flex: 1;
}

.image-placeholder {
  background: var(--gradient-primary);
  color: white;
  border-radius: 12px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.image-placeholder:hover {
  transform: translateY(-10px);
}

.image-placeholder i {
  font-size: 5rem;
  margin-bottom: 25px;
  animation: pulse 2s ease-in-out infinite;
}

.image-placeholder p {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0;
}

.image-placeholder span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 5px;
  opacity: 0.9;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  text-align: center;
  flex-wrap: wrap;
  gap: 20px;
}

.stat {
  flex: 1;
  padding: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 200px;
  transition: var(--transition);
}

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

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: white;
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-color);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.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:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-icon {
  background: rgba(37, 99, 235, 0.1);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  transform: scale(1.1);
}

.service-card:hover .service-icon i {
  color: white;
}

.service-icon i {
  font-size: 2.8rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card h3 {
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.service-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.service-features i {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 1rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header {
  background: var(--gradient-primary);
  padding: 35px;
  text-align: center;
  color: white;
}

.pricing-header h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.price {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.currency {
  font-size: 1.8rem;
  vertical-align: top;
  margin-right: 2px;
}

.amount {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 5px;
}

.period {
  font-size: 1.2rem;
  opacity: 0.9;
}

.price-note {
  color: #d1fae5;
  font-weight: 600;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  padding: 35px;
}

.pricing-features li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 1.1rem;
  width: 20px;
}

.pricing-card .btn {
  display: block;
  margin: 0 35px 35px;
  text-align: center;
}

.pricing-note {
  background: rgba(37, 99, 235, 0.08);
  border-radius: 10px;
  padding: 25px;
  margin-top: 50px;
  text-align: center;
  border-left: 4px solid var(--primary-color);
}

.pricing-note i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.pricing-note a {
  font-weight: 600;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.portfolio-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image {
  background: var(--gradient-primary);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
}

.portfolio-image i {
  font-size: 5rem;
  z-index: 1;
}

.portfolio-content {
  padding: 30px;
}

.portfolio-content h3 {
  margin-bottom: 12px;
}

.portfolio-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: var(--transition);
}

.portfolio-tag:hover {
  background: var(--primary-color);
  color: white;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  position: relative;
  margin-bottom: 30px;
  padding-left: 25px;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 5rem;
  color: rgba(37, 99, 235, 0.15);
  font-family: serif;
  line-height: 1;
  font-weight: bold;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.7;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.author-avatar i {
  font-size: 2rem;
  color: white;
}

.author-info h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background-color: white;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  padding: 22px 25px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(37, 99, 235, 0.03);
}

.faq-question i {
  transition: var(--transition);
  font-size: 1.1rem;
  color: var(--primary-color);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.active {
  padding: 0 25px 25px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

.contact-item {
  display: flex;
  margin-bottom: 35px;
  align-items: flex-start;
}

.contact-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--gradient-primary);
  transform: scale(1.05);
}

.contact-item:hover .contact-icon i {
  color: white;
}

.contact-icon i {
  font-size: 1.6rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.contact-details h4 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.contact-details p {
  margin-bottom: 5px;
  color: var(--text-light);
}

.social-links {
  margin-top: 40px;
}

.social-links h4 {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-5px);
}

.form-group {
  margin-bottom: 25px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}

.error-message {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 8px;
  display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: white;
  padding: 80px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-column h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-logo i {
  margin-right: 12px;
  color: var(--primary-color);
  font-size: 2rem;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 25px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
  display: inline-block;
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 8px;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.contact-info i {
  margin-right: 12px;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
}

.back-to-top.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
  z-index: 997;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Services Page Specific Styles */
.services-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 150px 20px 100px;
  text-align: center;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.05"/></svg>');
}

.services-hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.services-hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.services-nav {
  background-color: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 70px;
  z-index: 100;
}

.services-nav .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 20px;
}

.service-nav-link {
  padding: 12px 24px;
  border-radius: 30px;
  background-color: var(--light-color);
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-nav-link:hover,
.service-nav-link.active {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.service-category {
  padding: 100px 0;
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 25px;
  flex-wrap: wrap;
}

.category-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.category-icon:hover {
  background: var(--gradient-primary);
  transform: scale(1.05);
}

.category-icon:hover i {
  color: white;
}

.category-icon i {
  font-size: 2.8rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.detailed-service {
  display: flex;
  gap: 40px;
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  align-items: center;
}

.detailed-service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-detail-icon {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.detailed-service:hover .service-detail-icon {
  background: var(--gradient-primary);
  transform: rotate(5deg);
}

.detailed-service:hover .service-detail-icon i {
  color: white;
}

.service-detail-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-detail-content {
  flex: 1;
}

.service-detail-content h3 {
  font-size: 1.9rem;
  margin-bottom: 18px;
}

.service-detail-features {
  list-style: none;
  margin: 25px 0 30px;
}

.service-detail-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.service-detail-features i {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 1.1rem;
  width: 20px;
}

.cta-section {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.05"/></svg>');
}

.cta-section h2 {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 25px;
  position: relative;
}

.cta-section p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.cta-section .btn-outline {
  border-color: white;
  color: white;
  background: transparent;
}

.cta-section .btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-image i {
    font-size: 12rem;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 130px 20px 80px;
  }
  
  .hero-content {
    margin-bottom: 60px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image i {
    font-size: 10rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 40px;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .detailed-service {
    flex-direction: column;
    text-align: center;
  }
  
  .service-detail-icon {
    margin-bottom: 25px;
  }
  
  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .category-icon {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    gap: 15px;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .services-hero h1 {
    font-size: 2.5rem;
  }
  
  .about-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .stat {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .services-nav .container {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .services-nav .container::-webkit-scrollbar {
    display: none;
  }
  
  .service-nav-link {
    white-space: nowrap;
  }
  
  .detailed-service {
    padding: 30px;
  }
  
  .cta-section h2 {
    font-size: 2.2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .services-grid,
  .pricing-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn,
  .cta-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .hero-image i {
    font-size: 8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .service-card,
  .pricing-card,
  .detailed-service {
    padding: 25px;
  }
  
  .whatsapp-float {
    left: 20px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ============ Dropdown Navigation ============ */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 1000;
  border-radius: 8px;
  overflow: hidden;
  top: 100%;
  left: 0;
  margin-top: 10px;
}

.dropdown-content a {
  color: var(--secondary-color);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: rgba(37, 99, 235, 0.05);
  color: var(--primary-color);
  padding-left: 25px;
}

.dropdown-content a.active {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
    width: 100%;
    display: none;
    background-color: transparent;
  }
  
  .dropdown-content a {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
}

/* ============ Service Overview Styles ============ */
.service-overview {
  display: flex;
  gap: 60px;
  margin-top: 40px;
  align-items: flex-start;
}

.overview-text {
  flex: 2;
}

.overview-cta {
  flex: 1;
  min-width: 300px;
}

.business-value {
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  border-left: 4px solid var(--accent-color);
}

.business-value h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.business-value i {
  font-size: 1.5rem;
}

.key-services {
  margin-top: 40px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.service-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 24px;
}

.cta-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--primary-color);
  position: sticky;
  top: 100px;
}

.cta-card h4 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.cta-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-buttons .btn {
  width: 100%;
  text-align: center;
}

/* ============ Services Comparison Table ============ */
.services-comparison {
  padding: 80px 0;
}

.comparison-table {
  margin: 40px 0;
  overflow-x: auto;
}

.table-responsive {
  width: 100%;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th {
  background: var(--gradient-primary);
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.comparison-table tr:hover {
  background-color: rgba(37, 99, 235, 0.02);
}

.comparison-table .btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.custom-solution {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: var(--gradient-primary);
  border-radius: 12px;
  color: white;
}

.custom-solution h3 {
  color: white;
  margin-bottom: 15px;
}

.custom-solution p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 25px;
}

/* ============ Web Services Detail Page ============ */
.service-detail-overview {
  padding: 80px 0;
}

.overview-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.overview-text {
  flex: 2;
}

.overview-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.overview-image i {
  font-size: 10rem;
  color: var(--primary-color);
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

.value-proposition {
  margin-top: 40px;
}

.value-proposition h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.value-points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.value-point {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-color);
}

.value-point:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.value-point i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.value-point h4 {
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.value-point p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Detailed Services Grid */
.detailed-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.detailed-service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.detailed-service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-card-header {
  background: var(--gradient-primary);
  color: white;
  padding: 25px;
  position: relative;
}

.service-card-header h3 {
  color: white;
  margin-bottom: 10px;
}

.service-icon {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255,255,255,0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 1.8rem;
  color: white;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.service-card-body {
  padding: 25px;
  flex: 1;
}

.service-features {
  margin: 20px 0;
}

.service-features h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.service-features ul {
  list-style: none;
  padding-left: 0;
}

.service-features li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: var(--text-color);
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.business-value {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.business-value h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card-footer {
  padding: 0 25px 25px;
}

.service-card-footer .btn {
  width: 100%;
  text-align: center;
}

/* Web Pricing Tabs */
.web-pricing-section {
  padding: 80px 0;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.pricing-tab {
  padding: 12px 24px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-color);
}

.pricing-tab:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pricing-tab.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
}

.pricing-content {
  display: none;
}

.pricing-content.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.service-pricing-list {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-item {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.pricing-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.pricing-item-header h4 {
  margin-bottom: 0;
  color: var(--secondary-color);
}

.price-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
}

.pricing-item p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.pricing-item ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.pricing-item li {
  padding-left: 25px;
  position: relative;
  color: var(--text-color);
  margin-bottom: 8px;
}

.pricing-item li:before {
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--accent-color);
  font-size: 1.5rem;
  line-height: 1;
}

/* Process Section */
.process-steps {
  max-width: 900px;
  margin: 50px auto 0;
  position: relative;
}

.process-steps:before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--border-color);
  z-index: 1;
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.step-content {
  padding-top: 15px;
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.step-content p {
  color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .service-overview {
    flex-direction: column;
  }
  
  .overview-cta {
    width: 100%;
    min-width: auto;
  }
  
  .cta-card {
    position: static;
  }
  
  .overview-content {
    flex-direction: column;
  }
  
  .overview-image i {
    font-size: 8rem;
  }
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr;
  }
  
  .value-points {
    grid-template-columns: 1fr;
  }
  
  .detailed-services-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .pricing-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .price-tag {
    align-self: flex-start;
  }
  
  .process-steps:before {
    display: none;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .step-number {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .service-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .business-value {
    padding: 20px;
  }
  
  .cta-card {
    padding: 20px;
  }
}