:root {
  /* --primary: #0066cc;
  --secondary: #4d94ff;
  --accent: #ff9933;
  --dark: #333333;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d; */
  --primary: #112240; /* Medium dark blue */
  --secondary: #020c1b; /* Very dark blue */
  --accent: #ff8c42; /* Copper/orange accent */
  --dark: #333333;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  /* --primary: #0a192f;      Darker blue for primary */
  /* --secondary: #64ffda;    Cyan blue for secondary */
  /* --accent: #ff8c42;       Copper/orange accent */
  /* --dark: #020c1b;         Very dark blue */
  /* --light: #112240;        Medium dark blue */
  /* --white: #e6f1ff;        Light blue-white */
  /* --gray: #8892b0;         Blue-tinted gray */
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 10px;
  font-size: 2.2rem;
}

.logo-icon img {
  height: 60px;
  width: auto;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 5px 10px;
  border-radius: 4px;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-links .cta {
  background-color: var(--accent);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
}

.nav-links .cta:hover {
  background-color: #e68a2e;
  transform: translateY(-2px);
}

.hero {
  min-height: 85vh;
  padding: 20px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  margin-right: 15px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

.services {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  color: var(--primary);
}

.section-header h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: var(--accent);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  color: var(--white);
  font-size: 4rem;
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

.service-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.service-content a:hover {
  color: var(--accent);
}

.cloud-providers {
  background-color: var(--white);
  padding: 80px 0;
}

.providers-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.provider {
  text-align: center;
  margin: 20px;
  width: 200px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  place-content: center;
  align-items: center;
}

.provider:hover {
  transform: scale(1.1);
}

.provider-logo {
  width: 120px;
  height: 120px;
  background-color: var(--light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.provider-logo img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

.provider-logo i {
  font-size: 3.5rem;
  color: var(--primary);
}

.provider h4 {
  font-size: 1.2rem;
  color: var(--dark);
}

.why-us {
  padding: 100px 0;
  background-color: #f1f5f9;
}

.why-us-content {
  margin-top: 50px;
}

.why-us-text {
  width: 100%;
}

.why-us-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.why-us-icon {
  background-color: rgba(0, 102, 204, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-us-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.testimonials {
  padding: 100px 0;
  text-align: center;
  background-color: var(--white);
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.testimonial-card {
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 350px;
  text-align: left;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: rgba(0, 102, 204, 0.1);
  font-family: "Georgia", serif;
  line-height: 0;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-weight: 600;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), #004999);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--accent);
  bottom: 0;
  left: 0;
}

.footer-about p {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 10px;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-item i {
  margin-right: 15px;
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subpage {
  display: none;
  padding: 80px 0;
  background-color: var(--light);
}

.subpage.active {
  display: block;
}

.subpage-header {
  text-align: center;
  margin-bottom: 50px;
}

.subpage-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
}

.subpage-header h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: var(--accent);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.subpage-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.subpage-image {
  width: 400px;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.cloud-server {
  background-image: url("../img/img-svc_infra.jpeg");
}

.cloud-migration {
  background-image: url("../img/img-svc_migration.jpeg");
}

.infra-as-code {
  background-image: url("../img/img-svc_iac.jpeg");
}

.automation {
  background-image: url("../img/img-svc_cicd.jpeg");
}

.subpage-grid {
  display: grid;
  grid-template-columns: 400px auto;
  grid-gap: 40px;
}

@media screen and (max-width: 1200px) {
  .subpage-grid {
    display: grid;
    grid-template-rows: 400px auto;
    grid-template-columns: auto;
    grid-gap: 40px;
  }

  .subpage-image {
    width: 100%;
  }
}

.subpage-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.subpage-content p {
  margin-bottom: 20px;
}

.subpage-content ul {
  margin-bottom: 30px;
  padding-left: 20px;
}

.subpage-content li {
  margin-bottom: 10px;
}

.go-back {
  text-align: center;
  padding: 20px 0;
  background-color: var(--light);
  border-top: 1px solid var(--gray);
  width: 100%;
  position: sticky;
  bottom: 0;
  z-index: 1;
  cursor: pointer;
}

.go-back i {
  margin-right: 10px;
}

.go-back:hover {
  color: var(--accent);
}

@media (max-width: 991px) {
  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .container > div {
    gap: 20px;
  }

  .hero .container img {
    width: 250px !important;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px 0;
  }

  .nav-links {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li {
    margin: 10px 15px;
  }

  .hero {
    height: auto;
    padding: 100px 0;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero .container > div {
    flex-direction: column;
    align-items: center;
  }

  .hero .container img {
    margin-bottom: 30px;
    width: 200px !important;
  }
}

/* TODO - Formulário */
.contact-form {
  max-width: 500px;
  margin: 30px auto 0;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  color: var(--dark);
  font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form select {
  color: #666;
}

.contact-form select option {
  background: white;
  color: var(--dark);
}

.contact-form button {
  width: 100%;
  margin-top: 10px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}

a.service-link {
  display: flex;
  gap: 12px;
}

@media screen and (max-width: 600px) {
  header {
    position: relative;
  }

  .nav-links {
    display: none;
    list-style: none;
  }
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
}

@media screen and (max-width: 600px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active li {
    margin: 10px 0;
  }
}
