* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ORIGINAL START */
/* :root {
  --primary-dark: #0b4f6c;
  --primary-light: #01baef;
  --secondary-dark: #333333;
  --secondary-light: #ffffff;
  --accent: #20bf55;
  --gradient-1: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-light)
  );
  --gradient-2: linear-gradient(135deg, var(--primary-light), var(--accent));
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.25);
} */

/* ALT START */
:root {
  --primary-dark: #051760;
  /* --primary-dark: #4682b4; */
  --primary-light: #4682b4;
  /* --primary-light: #5f9ea0; */
  --secondary-dark: #696969;
  --secondary-light: #ffffff;
  --accent: #1ace56;
  --gradient-1: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-light)
  );
  --gradient-2: linear-gradient(135deg, var(--primary-light), var(--accent));
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--secondary-dark);
  overflow-x: hidden;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Header */
header {
  background: var(--gradient-1);
  padding: 0.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

header.scrolled {
  background: rgba(11, 79, 108, 0.95);
  box-shadow: var(--shadow-medium);
}

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

.logo {
  position: relative;
  width: 100%;
  z-index: 9999;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* padding: 1rem;
  margin-top: 5rem; */
  margin-left: 5rem;
  box-shadow: rgba(202, 220, 247, 0.851);
}

.logo::before {
  /* content: "⚡"; */
  font-size: 1.5rem;
}
.logo2 {
  position: absolute;
  /* width: 100%; */
  z-index: 9999;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  /* gap: 0.5rem; */
  /* padding: 0.2rem; */
  margin-top: 0.1rem;
  margin-left: 0.1rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--secondary-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

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

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--secondary-light);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

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

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

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

/* Floating Action Buttons */
.fab-container {
  position: fixed;
  bottom: 2rem;
  right: 0.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fab {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-light);
  text-decoration: none;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.fab:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-heavy);
}

.back-to-top {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: var(--gradient-1);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--secondary-light);
  position: relative;
  overflow: hidden;
  background-image: url("../imagens/bg1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* opacity: 0.9; */
}

.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 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
  opacity: 0.3;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
}

.shape:nth-child(1) {
  font-size: 5rem;
  width: 80px;
  height: 80px;
  top: 20%;
  left: 25%;
  animation-delay: 0s;
}
.shape:nth-child(2) {
  font-size: 5rem;
  width: 60px;
  height: 60px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}
.shape:nth-child(3) {
  font-size: 5rem;
  width: 100px;
  height: 100px;
  top: 60%;
  left: 15%;
  animation-delay: 4s;
}
.shape:nth-child(4) {
  font-size: 4rem;
  width: 80px;
  height: 80px;
  top: 20%;
  left: 50%;
  animation-delay: 8s;
}
.shape:nth-child(5) {
  font-size: 5rem;
  width: 180px;
  height: 180px;
  top: 22%;
  left: 80%;
  animation-delay: 10s;
}
.shape:nth-child(6) {
  width: 150px;
  height: 150px;
  top: 80%;
  left: 50%;
  animation-delay: 12s;
  background-image: url("https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/react/react-original-wordmark.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
}

/* @keyframes float { ORIGINAL
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
} */
@keyframes float {
  0%,
  100% {
    transform: translateZ(0px) scaleZ(10%) translateY(0px) translateX(0px)
      rotate(0deg);
  }
  60% {
    transform: scaleZ(100%) translateZ(0px) translateY(-50px) translateX(-100px)
      rotate(150deg);
  }
  /* 30% {
    transform: translateX(100px);
  } */
  /* 10% {
    transform: translateX(50px) rotate(380deg);
  } */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
  font-weight: 800;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-top {
  padding: 5px 5px;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* background: var(--accent); */
  color: var(--secondary-light);
}
.btn-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  background: var(--secondary-light);
  color: var(--primary-dark);
}

.btn-primary,
.btn-secondary {
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--secondary-light);
}

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

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  color: var(--primary-dark);
}

/* Typing Effect */
.typing-text {
  border-right: 2px solid var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Sections */
section {
  padding: 100px 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--primary-dark);
  position: relative;
  font-weight: 800;
  text-shadow: 2px 2px 5px #ffffff;
}

.section-title::after {
  content: "";
  width: 100px;
  height: 4px;
  background: var(--gradient-2);
  display: block;
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* Stats Section */
.stats {
  background: var(--gradient-1);
  color: var(--secondary-light);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-grid-portweb {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20px, 0.5fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.stat-item-portweb {
  text-align: center;
  /* padding: 2rem; */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}
.stat-item-portweb:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-number-portweb {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
}

/* About Section */

.p-op {
  padding: 0px;
  margin: 0px;
}
.about {
  background: var(--secondary-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 2rem;
}

.about-features {
  list-style: none;
  margin-top: 2rem;
}

.about-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-features li::before {
  content: "✓";
  background: var(--accent);
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.about-visual {
  position: relative;
  height: 600px;
  background: var(--gradient-1);

  background-image: url("../imagens/bg_about.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-radius: 20px;
  display: flex;
  align-items: start;
  justify-content: right;
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 255, 255, 0.1) 20px
  );
  animation: slide 20s linear infinite;
}

@keyframes slide {
  0% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(-40%, -40%);
  }
}

.about-visual-content {
  position: relative;
  z-index: 2;
  text-align: right;
  color: #80f3f0;
  display: flex;
  flex-direction: column;
  padding-right: 0.5rem;
}

.about-visual-content h3 {
  font-size: 2rem;
  margin-bottom: 0rem;
  text-align: right;
  margin: 0px;
  padding: 0px;
  height: 40px;
}

/* Timeline */
.timeline {
  background: #f8f9fa;
  padding: 100px 0;
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-2);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  background: var(--secondary-light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  width: 45%;
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -60px;
}

.timeline-year {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Services */
.services {
  background: var(--secondary-light);
}

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

.service-card {
  background: var(--secondary-light);
  padding: 3rem;
  border-radius: 25px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow-light);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--accent);
}

.service-card:hover * {
  position: relative;
  z-index: 2;
  color: var(--secondary-light);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  -webkit-text-fill-color: var(--secondary-light);
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

.service-price {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #eee;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent);
}

/* Portfolio */
.portfolio {
  background: #f8f9fa;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: transparent;
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-dark);
  color: var(--secondary-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

.portfolio-item {
  background: var(--secondary-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  position: relative;
  group: hover;
}

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

.portfolio-image {
  height: 250px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--secondary-light);
  position: relative;
  overflow: hidden;
}

.portfolio-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
  opacity: 1;
}

.portfolio-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.3s ease;
  text-align: center;
  z-index: 3;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .btn-primary {
  margin: 0.5rem;
}

.portfolio-content {
  padding: 2.5rem;
}

.portfolio-content h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

.tag {
  background: var(--accent);
  color: var(--secondary-light);
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Team */
.team {
  background: var(--secondary-light);
}

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

.team-member {
  text-align: center;
  background: var(--secondary-light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.team-member::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.team-member:hover::before {
  opacity: 0.1;
}

.team-avatar {
  width: 120px;
  height: 120px;
  background: var(--gradient-2);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--secondary-light);
  position: relative;
  z-index: 2;
}

.team-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  position: relative;
  z-index: 2;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.team-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}

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

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* Testimonials */
.testimonials {
  background: #f8f9fa;
}

.testimonials-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  background: var(--secondary-light);
  padding: 3rem;
  border-radius: 25px;
  text-align: center;
  position: relative;
  margin: 0 1rem;
  box-shadow: var(--shadow-light);
  display: none;
}

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

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: var(--primary-light);
  opacity: 0.2;
}

.testimonial-text {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-light);
  font-size: 1.5rem;
}

.author-info h4 {
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.author-info p {
  color: var(--accent);
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Contact */
.contact {
  background: var(--gradient-1);
  color: var(--secondary-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-content-portweb {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  padding: 5rem;
}

.contact-info h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 800;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.contact-item-portweb {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  justify-content: center;
}

.contact-item-portweb:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.5rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary-dark);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: var(--secondary-light);
  box-shadow: 0 0 0 3px rgba(32, 191, 85, 0.2);
}

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

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--secondary-light);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #1aa649;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Newsletter */
.newsletter {
  background: var(--secondary-dark);
  color: var(--secondary-light);
  padding: 60px 0;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 15px 30px;
  background: var(--accent);
  color: var(--secondary-light);
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #1aa649;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--secondary-dark);
  color: var(--secondary-light);
  padding: 4rem 0 2rem;
}

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

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

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

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--secondary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  justify-content: center;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: var(--primary-dark);
  color: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

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

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--secondary-light);
  padding: 3rem;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-dark);
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s ease;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Live Chat */
.chat-widget {
  position: fixed;
  bottom: 140px;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-light);
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  z-index: 998;
}

.chat-widget:hover {
  transform: scale(1.1);
  background: var(--accent);
}

.chat-widget::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ff4444;
  border-radius: 50%;
  top: -5px;
  right: -5px;
  animation: pulse 2s infinite;
}

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

/* Dark Mode */
body.dark-mode {
  background: var(--secondary-dark);
  color: var(--secondary-light);
}

.dark-mode .about,
.dark-mode .services,
.dark-mode .team {
  background: #2a2a2a;
}

.dark-mode .portfolio,
.dark-mode .testimonials {
  background: #1a1a1a;
}

.dark-mode .service-card,
.dark-mode .portfolio-item,
.dark-mode .testimonial,
.dark-mode .team-member {
  background: #333;
  color: var(--secondary-light);
}

.dark-mode .section-title {
  color: var(--secondary-light);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 6rem;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--secondary-light);
  border: 2px solid var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 997;
}

.theme-toggle:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: flex;
    padding-right: 2rem;
  }

  .logo2 img {
    width: 150px;
    margin-top: 0.2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

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

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .services-grid,
  .portfolio-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    left: 2rem;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 4rem;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-content::before {
    left: -60px !important;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  section {
    padding: 60px 0;
  }

  .fab-container {
    bottom: 1rem;
    right: 1rem;
  }

  .theme-toggle {
    right: 1rem;
  }

  .chat-widget {
    right: 1rem;
    bottom: 120px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-number-portweb {
    font-size: 1.5rem;
  }
}
