html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #0d212f;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 234, 255, 0.2);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
}

section {
  position: relative;
  z-index: 2;
}

#particlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#neonRain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 33, 47, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 234, 255, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-button {
  background: #00eaff;
  color: #0d212f;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

.quote-button:hover {
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.8);
  transform: translateY(-2px);
}

/* Email Badge Top */
.email-badge-top {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99;
  background: rgba(13, 33, 47, 0.95);
  border: 1px solid rgba(0, 234, 255, 0.3);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.email-badge-top:hover {
  border-color: rgba(0, 234, 255, 0.5);
  box-shadow: 0 6px 20px rgba(0, 234, 255, 0.2);
}

.email-badge-top .email-icon {
  font-size: 1.2rem;
  opacity: 0.9;
}

.email-link-top {
  font-size: 0.9rem;
  color: #00eaff;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.email-link-top:hover {
  color: #fff;
  text-decoration: underline;
}

.copy-email-btn-top {
  padding: 0.4rem 0.5rem;
  background: rgba(0, 234, 255, 0.1);
  border: 1px solid rgba(0, 234, 255, 0.3);
  color: #00eaff;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0.8;
}

.copy-email-btn-top:hover {
  background: rgba(0, 234, 255, 0.2);
  border-color: #00eaff;
  opacity: 1;
}

.copy-email-btn-top:active {
  transform: scale(0.9);
}

.copy-email-btn-top .copy-icon {
  font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #00eaff;
  transition: all 0.3s;
  border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00eaff;
  text-shadow: 0 0 10px #00eaff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #00eaff;
  text-decoration: none;
  transition: all 0.3s;
  opacity: 0.8;
}

.nav-menu a:hover {
  opacity: 1;
  text-shadow: 0 0 10px #00eaff;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-content {
  text-align: center;
  color: #00eaff;
  font-family: 'Poppins', sans-serif;
}

.hero-content h1 {
  font-size: 4em;
  margin: 0;
  text-shadow: 0 0 10px #00eaff, 0 0 30px #00eaff;
}

.hero-content p {
  font-size: 1.5em;
  opacity: 0.9;
  margin: 1rem 0 2rem;
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: transparent;
  border: 2px solid #00eaff;
  color: #00eaff;
  cursor: pointer;
  transition: all 0.3s;
  text-shadow: 0 0 5px #00eaff;
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.3);
}

.cta-button:hover {
  background: #00eaff;
  color: #0d212f;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.8);
  text-shadow: none;
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  padding: 5rem 2rem;
  background: rgba(13, 33, 47, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 234, 255, 0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  color: #00eaff;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px #00eaff;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section.visible .section-title {
  opacity: 1;
  transform: translateY(0);
}

.section-description {
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.9;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  padding: 0 1rem;
}

.service-card {
  background: transparent;
  perspective: 1000px;
  height: 280px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible .service-card {
  opacity: 1;
  transform: scale(1);
}

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

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-card-front {
  cursor: pointer;
}

.service-card-back {
  transform: rotateY(180deg);
  background: rgba(0, 234, 255, 0.1);
  border-color: #00eaff;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 234, 255, 0.7));
}

.service-card-front h3 {
  color: #00eaff;
  font-size: 1.3rem;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

.service-card-back p {
  color: #fff;
  opacity: 0.9;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.section.visible .why-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}

.section.visible .why-card:nth-child(1) { transition-delay: 0.1s; }
.section.visible .why-card:nth-child(2) { transition-delay: 0.2s; }
.section.visible .why-card:nth-child(3) { transition-delay: 0.3s; }
.section.visible .why-card:nth-child(4) { transition-delay: 0.4s; }

.why-card:hover {
  background: rgba(0, 234, 255, 0.1);
  border-color: #00eaff;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.3);
  transform: translateY(-5px);
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(0, 234, 255, 0.7));
}

.why-card h3 {
  color: #00eaff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 5px rgba(0, 234, 255, 0.5);
}

.why-card p {
  color: #fff;
  opacity: 0.8;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(-30px);
}

.section.visible .portfolio-card {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s ease;
}

.section.visible .portfolio-card:nth-child(1) { transition-delay: 0.1s; }
.section.visible .portfolio-card:nth-child(2) { transition-delay: 0.2s; }
.section.visible .portfolio-card:nth-child(3) { transition-delay: 0.3s; }

.portfolio-card:hover {
  background: rgba(0, 234, 255, 0.1);
  border-color: #00eaff;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.3);
  transform: translateY(-5px);
}

.portfolio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.portfolio-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 234, 255, 0.7));
}

.portfolio-card h3 {
  color: #00eaff;
  font-size: 1.3rem;
  margin: 0;
  text-shadow: 0 0 5px rgba(0, 234, 255, 0.5);
}

.portfolio-description {
  color: #fff;
  opacity: 0.8;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(0, 234, 255, 0.1);
  border: 1px solid rgba(0, 234, 255, 0.3);
  color: #00eaff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.tag:hover {
  background: rgba(0, 234, 255, 0.2);
  border-color: #00eaff;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00eaff;
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.3);
}

.submit-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: transparent;
  border: 2px solid #00eaff;
  color: #00eaff;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 5px;
}

.submit-button:hover {
  background: #00eaff;
  color: #0d212f;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.8);
}

/* Custom Notification */
.custom-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1a3a4a 0%, #0d212f 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #00eaff;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
  font-weight: 500;
  max-width: 400px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.custom-notification.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.custom-notification.error {
  border-color: #ff4444;
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #4a1a1a 0%, #2f0d0d 100%);
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  background: rgba(13, 33, 47, 0.95);
  border-top: 1px solid rgba(0, 234, 255, 0.3);
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.footer-copyright {
  color: #00eaff;
  text-align: center;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #00eaff;
  text-decoration: none;
  transition: all 0.3s;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  text-shadow: 0 0 10px #00eaff;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
  filter: grayscale(0.5);
}

.social-icon:hover {
  filter: grayscale(0) drop-shadow(0 0 10px rgba(0, 234, 255, 0.7));
  transform: scale(1.2);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: rgba(13, 33, 47, 0.95);
  border: 1px solid rgba(0, 234, 255, 0.5);
  margin: 10% auto;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.3);
}

.close-modal {
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: #00eaff;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.close-modal:hover {
  transform: scale(1.2);
}

.modal-content h2 {
  color: #00eaff;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
  margin-bottom: 1.5rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-form input,
.quote-form textarea {
  padding: 1rem;
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: rgba(0, 234, 255, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.testimonial-author strong {
  color: #00eaff;
}

.testimonial-author span {
  color: #fff;
  opacity: 0.7;
  font-size: 0.9rem;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(0, 234, 255, 0.7));
}

.trust-text {
  color: #00eaff;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* About Section Enhanced */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-description {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.8;
  margin: 0;
}

.about-mission {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(0, 234, 255, 0.1);
  border: 1px solid rgba(0, 234, 255, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: #00eaff;
  font-weight: bold;
  width: fit-content;
}

.badge-icon {
  font-size: 1.5rem;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  padding: 3rem;
  border-radius: 10px;
}

.team-icon {
  font-size: 5rem;
  filter: drop-shadow(0 0 15px rgba(0, 234, 255, 0.7));
  margin-bottom: 1rem;
}

.about-visual p {
  color: #00eaff;
  font-size: 1.2rem;
  margin: 0;
}

/* Technologies Section */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  padding: 1.5rem;
  border-radius: 10px;
  transition: all 0.3s;
}

.tech-item:hover {
  background: rgba(0, 234, 255, 0.1);
  border-color: #00eaff;
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.3);
}

.tech-icon {
  font-size: 2.5rem;
}

.tech-item span {
  color: #00eaff;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Contact Section Enhanced */
.contact-cta {
  text-align: center;
  font-size: 1.3rem;
  color: #fff;
  margin: 2rem 0;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 3rem 0;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 234, 255, 0.1);
  border: 1px solid rgba(0, 234, 255, 0.3);
  color: #00eaff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-button:hover {
  background: rgba(0, 234, 255, 0.2);
  border-color: #00eaff;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.3);
}

.contact-icon {
  font-size: 1.3rem;
}

.form-title {
  color: #00eaff;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

/* Review Form */
.review-form-container {
  max-width: 700px;
  margin: 4rem auto 0;
  padding: 2.5rem;
  background: rgba(0, 234, 255, 0.05);
  border: 1px solid rgba(0, 234, 255, 0.3);
  border-radius: 15px;
}

.review-form-title {
  color: #00eaff;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.review-form input,
.review-form textarea {
  padding: 1rem;
  background: rgba(13, 33, 47, 0.6);
  border: 1px solid rgba(0, 234, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: #00eaff;
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.3);
  background: rgba(13, 33, 47, 0.8);
}

.rating-label {
  color: #00eaff;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 2rem;
}

.rating-stars input[type="radio"] {
  display: none;
}

.rating-stars label {
  cursor: pointer;
  filter: grayscale(1);
  transition: all 0.3s;
  opacity: 0.4;
}

.rating-stars input[type="radio"]:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

.char-count {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}

.submit-review-btn {
  margin-top: 1rem;
  width: 100%;
  max-width: 300px;
  align-self: center;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-top: 0.5rem;
}

/* ===== МОБИЛЬНЫЕ СТИЛИ ===== */

/* Performance: Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Responsive - Tablets and Phones */
@media (max-width: 768px) {
  .section {
    transition-duration: 0.3s;
    padding: 3rem 1rem;
  }
  
  .service-card, .why-card, .portfolio-card {
    animation-duration: 0.3s;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-container {
    flex-wrap: wrap;
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(13, 33, 47, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    gap: 2rem;
    transition: left 0.3s ease;
    border-top: 1px solid rgba(0, 234, 255, 0.3);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 1.3rem;
    display: block;
    padding: 1rem;
    min-height: 44px;
  }

  .nav-actions {
    width: 100%;
    order: 3;
    justify-content: center;
    margin-top: 1rem;
    padding: 1rem 0;
  }

  .quote-button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    width: 100%;
    max-width: 300px;
    min-height: 44px;
  }
  
  .hero {
    min-height: 70vh;
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .cta-button {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    height: auto;
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .service-card-inner {
    transform: none !important;
    position: relative;
    height: auto;
  }

  .service-card-front,
  .service-card-back {
    position: relative !important;
    transform: none !important;
    backface-visibility: visible !important;
    background: transparent !important;
  }

  .service-card-front {
    margin-bottom: 1rem;
  }

  .service-card-back {
    display: block;
    padding: 0;
    border-top: 1px solid rgba(0, 234, 255, 0.2);
    padding-top: 1rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }
  
  .portfolio-card {
    border-radius: 15px;
    overflow: hidden;
  }
  
  .portfolio-card img {
    height: 220px;
    object-fit: cover;
  }
  
  .portfolio-info {
    padding: 1.5rem;
  }
  
  .portfolio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .portfolio-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .portfolio-filters {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0 1rem;
  }

  .filter-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    min-height: 44px;
    white-space: nowrap;
  }

  .portfolio-card h3 {
    font-size: 1.2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .why-card {
    padding: 2rem 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s;
  }
  
  .why-card:active {
    transform: scale(0.98);
  }

  .why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .why-card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .tech-item {
    padding: 2rem 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s;
  }
  
  .tech-item:active {
    transform: scale(0.95);
  }

  .tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .tech-item span {
    font-size: 1rem;
    font-weight: 500;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  
  .testimonial-header {
    margin-bottom: 1rem;
  }
  
  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .testimonial-rating {
    font-size: 1.1rem;
  }

  .contact-methods {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 1rem;
    min-height: 48px;
  }

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

  .contact-form button {
    min-height: 48px;
    font-size: 1rem;
    padding: 1rem 2rem;
    width: 100%;
  }

  .email-badge-top {
    top: 70px;
    right: 10px;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .email-link-top {
    font-size: 0.85rem;
  }

  .review-form-container {
    padding: 2rem 1.5rem;
  }

  .form-row {
    flex-direction: column;
  }

  .review-form input,
  .review-form textarea {
    font-size: 1rem;
    padding: 1rem;
  }

  .footer-content {
    text-align: center;
    padding: 2rem 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .footer-socials {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .social-icon {
    font-size: 2rem;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
    padding: 2rem 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .close-modal {
    font-size: 2rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile Responsive - Small Phones */
@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    padding: 1.5rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .cta-button {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .service-card {
    min-height: 280px;
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .tech-icon {
    font-size: 2.5rem;
  }

  .portfolio-card {
    padding: 1.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .modal-content {
    padding: 1.5rem 1rem;
    margin: 0.5rem;
  }

  .modal-content h2 {
    font-size: 1.3rem;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .why-icon {
    font-size: 2.5rem;
  }

  .testimonial-card {
    padding: 1.5rem 1rem;
  }

  .footer-content {
    padding: 2rem 1rem;
  }
}

/* ===== КОНЕЦ МОБИЛЬНЫХ СТИЛЕЙ ===== */
