:root {
  --color-darkest: #081040;
  --color-dark: #151826;
  --color-medium-dark: #262a40;
  --color-medium: #364a73;
  --color-light: #54678c;
  --text-primary: #f0f6fc;
  --text-secondary: #a5b1c2;
  --border-color: rgba(84, 103, 140, 0.3);
}
/* HTML Ajustes Responsivos Start */
@media screen and (max-width: 1024px) {
  html {
    font-size: 95%;
  }
}
@media screen and (max-width: 768px) {
  html {
    font-size: 90%;
  }
}
@media screen and (max-width: 480px) {
  html {
    font-size: 85%;
  }
}
/* HTML Ajustes Responsivos End */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #364a73;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 30%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*Navbar start */
nav {
  display: flex;
  box-shadow: 2px 5px 5px #333;
  background: #03588c;
  animation: gradient 10s ease infinite;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.logo-container {
  flex: 1 1 auto;
  margin: 40px;
}
.logo-container span {
  font-size: 70px;
  font-family: "Bruno Ace", sans-serif;
  font-weight: 600;
  text-shadow: 3px 6px 6px #333;
  color: lightgray;
}

.nav-container {
  flex: 1 1 auto;
  margin: 40px;
}
.nav-container ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
}
.nav-container li {
  margin: 30px;
}
.nav-container li span {
  margin-right: 10px;
}
.nav-container a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-family: "Iceland", sans-serif;
  font-size: 30px;
  transition: opacity 0.3s;
}
.nav-item {
  transition: opacity 0.3s;
  position: relative;
}
.nav-item:hover {
  opacity: 0.8;
}
.nav-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s;
}
.nav-item:hover::after {
  width: 100%;
}
.hamburguer-menu {
  display: none;
  cursor: pointer;
  padding: 15px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 100;
  background: transparent;
  border: none;
}
.hamburguer-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}
/*media query for tablets */
@media screen and (max-width: 1024px) {
  nav {
    flex-direction: column;
    align-items: center;
  }
  .logo-container {
    margin: 20px;
  }
  .logo-container span {
    font-size: 50px;
  }
  .nav-container {
    width: 100%;
    margin: 0px;
  }
  .nav-container ul {
    justify-content: space-around;
    padding: 0 10px 20px 10px;
  }
  .nav-container li {
    margin: 15px;
  }
  .nav-container a {
    font-size: 25px;
  }
}
/* media query for mobile devices */
@media screen and (max-width: 767px) {
  .hamburguer-menu {
    display: block;
  }
  .hamburguer-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
  }
  .hamburguer-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburguer-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
  }
  .logo-container {
    margin: 20px 0;
    text-align: center;
    width: 100%;
  }
  .logo-container span {
    font-size: 40px;
  }
  .nav-container {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    margin: 0;
    width: 100%;
    z-index: 100;
  }
  .nav-container.active {
    height: auto;
  }
  .nav-container ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }
  .nav-container li {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .nav-container a {
    font-size: 22px;
    display: block;
    width: 100%;
  }
  .nav-item::after {
    display: none;
  }
}

/* media query for smaller devices */

@media screen and (max-width: 480px) {
  .logo-container {
    margin: 15px 0;
  }
  .logo-container span {
    font-size: 28px;
  }
  .hamburguer-menu {
    top: 12px;
    right: 12px;
  }
  .hamburguer-menu span {
    width: 25px;
    height: 2px;
  }
}
/* Navbar End*/

/* Quote Start*/
.pessoa-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}
.pessoa-container span {
  display: block;
}
.span-1 {
  font-size: 30px;
  font-weight: 700;
  font-family: "Cinzel Decorative", serif;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
}
@media screen and (max-width: 768px) {
  .pessoa-container {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .span-1 {
    font-size: 24px;
    text-align: center;
  }
}

@media screen and(max-width: 480px) {
  .span-1 {
    font-size: 20px;
  }
}
/*Quote End */

/*Main Header Start*/

.header-cover {
  width: 100%;
  height: 500px;
  background: linear-gradient(90deg, #0487d9, #023859, #0455bf, #0487d9);
  background-size: 200% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  animation: gradient 10s ease infinite;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.header-container h1 {
  font-family: "Bruno Ace", sans-serif;
  font-size: 80px;
}
.header-container span {
  font-family: "Bruno Ace", sans-serif;
  font-size: 30px;
}
@media screen and (max-width: 1024px) {
  .header-cover {
    height: 400px;
  }
  .header-container h1 {
    font-size: 60px;
  }
  .header-container span {
    font-size: 24px;
  }
}
@media screen and (max-width: 768px) {
  .header-cover {
    height: 350px;
    background-size: 150% 100%;
  }
  .header-container h1 {
    font-size: 48px;
  }
  .header-container span {
    font-size: 20px;
  }
}
@media screen and (max-width: 480px) {
  .header-cover {
    height: 300px;
    background-size: 130% 100%;
    animation-duration: 15s;
  }
  .header-container h1 {
    font-size: 36px;
    text-align: center;
  }
  .header-container span {
    font-size: 18px;
  }
}
/*Main Header End */

/*About The company Start */
.about-section {
  background: linear-gradient(135deg, #081040 0%, #151826 25%, #262a40 50%);
  padding: 60px 20px;
  color: #f0f6fc;
  font-family: "Bruno Ace", sans-serif;
}
.about-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.main-background {
  background: linear-gradient(
    135deg,
    #081040 0%,
    #151826 25%,
    #262a40 50%,
    #364a73 75%,
    #54678c 100%
  );
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(8, 16, 64, 0.4),
    0 0 0 1px rgba(84, 103, 140, 0.1);
}

.main-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(84, 103, 140, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(54, 74, 115, 0.2) 0%,
      transparent 50%
    ),
    linear-gradient(45deg, transparent 30%, rgba(84, 103, 140, 0.05) 70%);
  pointer-events: none;
}

.main-background::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(84, 103, 140, 0.1) 0%,
    transparent 70%
  );
  transform: rotate(45deg);
  pointer-events: none;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.flex-container-about {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(84, 103, 140, 0.2);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.flex-container-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #54678c, #364a73, #54678c);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.flex-container-about:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(84, 103, 140, 0.4);
  box-shadow: 0 20px 40px -8px rgba(8, 16, 64, 0.3),
    0 0 0 1px rgba(84, 103, 140, 0.2);
}

.flex-container-about:hover::before {
  opacity: 1;
}

.flex-container-about h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  position: relative;
}

.flex-container-about h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #54678c, #364a73);
  border-radius: 1px;
  transition: width 0.4s ease;
}

.flex-container-about:hover h2::after {
  width: 80px;
}

.flex-container-about p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.flex-container-about strong {
  color: #ffffff;
  font-weight: 600;
  position: relative;
}

.tech-decoration {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(84, 103, 140, 0.1);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  pointer-events: none;
}

.tech-decoration::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(84, 103, 140, 0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  body {
    padding: 20px 10px;
  }

  .main-background {
    padding: 40px 20px;
    border-radius: 16px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flex-container-about {
    padding: 24px 18px;
  }

  .flex-container-about h2 {
    font-size: 1.3rem;
  }
}

@keyframes floatMin {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatAlt {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.flex-container-about:nth-child(1) {
  animation: floatMin 8s ease-in-out infinite;
  animation-delay: 0s;
}

.flex-container-about:nth-child(2) {
  animation: floatAlt 7s ease-in-out infinite;
  animation-delay: 1s;
}

.flex-container-about:nth-child(3) {
  animation: floatMin 9s ease-in-out infinite;
  animation-delay: 2s;
}

.flex-container-about:nth-child(4) {
  animation: floatAlt 8.5s ease-in-out infinite;
  animation-delay: 3s;
}

.h1-container {
  text-align: center;
  position: relative;
  padding: 2rem;
  font-family: "Bruno Ace", sans-serif;
  background-color: #151826;
  width: 100%;
}
.h1-container > h2 {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    to bottom,
    #f0f0f0 0%,
    #c0c0c0 20%,
    #a0a0a0 40%,
    #c8c8c8 60%,
    #e6e6e6 80%,
    #f4f4f4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.4),
    0 0 10px rgba(255, 255, 255, 0.1), 0 2px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}
.h1-container > h1::before {
  content: "Sobre a Patrono";
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 60%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  z-index: 1;
  background-size: 200%;
  animation: sshine 3s infinite linear;
}
.h1-container > h1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.2) 80%,
    transparent 100%
  );
  z-index: -1;
}
@keyframes sshine {
  0% {
    background-position: -200%;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes pppulse {
  0% {
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.4),
      0 0 10px rgba(200, 200, 200, 0.1), 0 2px 2px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6),
      0 0 15px rgba(200, 200, 255, 0.3), 0 2px 2px rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.4),
      0 0 10px rgba(255, 255, 255, 0.1), 0 2px 2px rgba(0, 0, 0, 0.3);
  }
}
@media screen and (max-width: 1024px) {
  .about-container {
    margin: 50px 40px;
  }
}

@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
    margin: 40px 30px;
  }

  .flex-container-about {
    margin-bottom: 30px;
  }

  .h1-container > h1 {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .about-container {
    margin: 30px 20px;
    padding: 10px;
  }

  .flex-container-about h2 {
    margin: 15px;
    font-size: 32px;
  }

  .flex-container-about p {
    padding: 15px;
  }

  .h1-container > h1 {
    font-size: 28px;
  }
}
/* About the company End */
/* Seo Section Start */
.seo-content-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #023859 0%, #03588c 50%, #0455bf 100%);
  overflow: hidden;
}

/* Animated background effect */
.seo-content-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(4, 135, 217, 0.1) 0%,
    transparent 70%
  );
  animation: ppulse 15s ease-in-out infinite;
}

.seo-content-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(4, 119, 191, 0.1) 0%,
    transparent 70%
  );
  animation: ppulse 20s ease-in-out infinite reverse;
}

@keyframes ppulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
}

.seo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  font-family: "Bruno Ace", sans-serif;
}

/* Main heading with gradient text */
.seo-content-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #0487d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(4, 135, 217, 0.5);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 10px rgba(4, 135, 217, 0.5));
  }
  to {
    filter: drop-shadow(0 0 20px rgba(4, 135, 217, 0.8));
  }
}

/* Paragraphs with subtle animation */
.seo-content-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Strong tags styling */
.seo-content-section strong {
  color: #0487d9;
  font-weight: 700;
  position: relative;
  transition: all 0.3s ease;
}

.seo-content-section p:hover strong {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(4, 135, 217, 0.8);
}

/* Features section with glassmorphism */
.seo-features {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: slideIn 1s ease-out 0.3s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-features:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(4, 135, 217, 0.3);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.seo-features h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #0487d9;
  position: relative;
  padding-bottom: 15px;
}

.seo-features h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #0487d9 0%, #0477bf 100%);
  animation: expand 1s ease-out 0.5s both;
}

@keyframes expand {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

/* Animated list items */
.seo-features ul {
  list-style: none;
  padding: 0;
}

.seo-features li {
  padding: 15px 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 40px;
  transition: all 0.3s ease;
  animation: fadeInLeft 0.5s ease-out both;
}

.seo-features li:nth-child(1) {
  animation-delay: 0.6s;
}
.seo-features li:nth-child(2) {
  animation-delay: 0.7s;
}
.seo-features li:nth-child(3) {
  animation-delay: 0.8s;
}
.seo-features li:nth-child(4) {
  animation-delay: 0.9s;
}
.seo-features li:nth-child(5) {
  animation-delay: 1s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.seo-features li:hover {
  color: #ffffff;
  transform: translateX(10px);
  text-shadow: 0 0 10px rgba(4, 135, 217, 0.5);
}

/* Animated checkmarks */
.seo-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 15px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #0487d9;
  animation: bounce 2s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.seo-features li:nth-child(1)::before {
  --delay: 0s;
}
.seo-features li:nth-child(2)::before {
  --delay: 0.2s;
}
.seo-features li:nth-child(3)::before {
  --delay: 0.4s;
}
.seo-features li:nth-child(4)::before {
  --delay: 0.6s;
}
.seo-features li:nth-child(5)::before {
  --delay: 0.8s;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(360deg);
  }
}

/* Hover effect for strong tags in list */
.seo-features li strong {
  background: linear-gradient(90deg, #0487d9 0%, #0477bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  transition: all 0.3s ease;
}

.seo-features li:hover strong {
  background: linear-gradient(90deg, #ffffff 0%, #0487d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(4, 135, 217, 0.6));
}

/* Floating particles effect */
.particle {
  position: absolute;
  background: radial-gradient(
    circle,
    rgba(4, 135, 217, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s infinite;
}

.particle:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  animation-duration: 25s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 60px;
  height: 60px;
  right: 20%;
  animation-duration: 20s;
  animation-delay: 5s;
}

.particle:nth-child(3) {
  width: 100px;
  height: 100px;
  left: 70%;
  animation-duration: 30s;
  animation-delay: 10s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .seo-content-section {
    padding: 60px 0;
  }

  .seo-features {
    padding: 30px 20px;
  }

  .seo-content-section h2 {
    font-size: 2rem;
  }

  .seo-features h3 {
    font-size: 1.5rem;
  }

  .seo-features li {
    font-size: 1rem;
    padding-left: 35px;
  }
}

/* Loading animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}
/* Main Content Start - Cards*/
.container {
  max-width: 100%;
  margin: 0 auto;
  background-color: #023859;
  min-height: 120vh; /* changed from height to min-height */
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 30px; /* add padding at bottom */
  overflow: hidden; /* prevent overflow */
}

.title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 4.5rem;
  font-family: "Bruno Ace", sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  position: relative;
}

.title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #54678c, transparent);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-template-rows: auto auto;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background-color: #151826;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(84, 103, 140, 0.3);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(84, 103, 140, 0.15),
    transparent 70%
  );
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(84, 103, 140, 0.1),
    transparent
  );
  transform: rotate(30deg);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  border-color: rgba(84, 103, 140, 0.6);
}

.card-image {
  height: 180px;
  background-color: #364a73;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.card-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="%23546A8C" stroke-width="0.5" stroke-dasharray="10,5" opacity="0.2"/><circle cx="50" cy="50" r="30" stroke="%23546A8C" stroke-width="0.5" fill="none" opacity="0.2"/><path d="M20,80 L80,20" stroke="%23546A8C" stroke-width="0.5" opacity="0.2"/><path d="M20,20 L80,80" stroke="%23546A8C" stroke-width="0.5" opacity="0.2"/></svg>');
  opacity: 0.6;
  background-size: 50px;
}

.card-image .tech-icon {
  position: relative;
  z-index: 2;
  font-size: 40px;
}

.card-content {
  padding: 1.8rem;
  position: relative;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
  font-family: "Bruno Ace", sans-serif;
}

.card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #54678c;
}

.card-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  font-family: sans-serif;
}

.card-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #364a73;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 1px solid rgba(84, 103, 140, 0.4);
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: "Bruno Ace", sans-serif;
}

.card-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s ease;
}

.card-button:hover {
  background-color: #54678c;
  box-shadow: 0 5px 15px rgba(54, 74, 115, 0.4);
}

.card-button:hover::before {
  left: 100%;
}

.card-number {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .container {
    height: auto;
    padding: 60px 20px;
  }
  .title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
  }
  .card-grid {
    max-width: 800px;
  }
}
@media screen and (max-width: 768px) {
  .container {
    padding: 40px 15px;
  }
  .title {
    font-size: 2.8rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 500px;
  }
  .card-image {
    height: 150px;
  }
  .card-content {
    padding: 1.5rem;
  }
}
@media screen and (max-width: 480px) {
  .container {
    padding: 30px 10px;
  }
  .title {
    font-size: 2.2rem;
  }
  .card-image {
    height: 120px;
  }
  .card-content {
    padding: 1.2rem;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .card-description {
    font-size: 0.9rem;
  }
}

/*Main Content End - Cards */

/* Portefolio Start */
.portfolio-showcase {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  position: relative;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  position: relative;
  background: linear-gradient(to right, #364a73, #54678c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, #364a73, #54678c);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  perspective: 1000px;
  width: 100%;
}
.project-item {
  position: relative;
  height: 360px;
  background-color: rgba(54, 74, 115, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  border: 1px solid rgba(84, 103, 140, 0.3);
}
.project-item:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
}
.project-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(84, 103, 140, 0.3) 0%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}
.project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%);
  transition: all 0.5s ease;
}
.project-item:hover .project-bg {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
  transform: translateY(50px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.project-item {
  transform: translateY(0);
  opacity: 1;
}
.tech-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(54, 74, 115, 0.8);
  border-radius: 50px;
  font-size: 0.75rem;
  color: #fff;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(84, 103, 140, 0.3);
}
.project-title {
  font-size: 1.8rem;
  margin: 0.8rem 0;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 5pc rgba(0, 0, 0, 0.3);
}
.project-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.cyber-decoration {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 74, 115, 0.3) transparent);
  opacity: 0.2;
  z-index: -1;
}
.cyber-decoration:nth-child(1) {
  width: 500px;
  height: 500px;
  top: -250px;
  right: -100px;
}
.cyber-decoration:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -200px;
  left: -150px;
}
.cyber-circuit {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="%23364A73" stroke-width="0.5" stroke-dasharray="10,10" opacity="0.2"/><path d="M0,50 L100,50" stroke="%23364A73" stroke-width="0.5" opacity="0.1"/><path d="M50,0 L50,100" stroke="%23364A73" stroke-width="0.5" opacity="0.1"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23364A73" stroke-width="0.5" opacity="0.1"/></svg>');
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
  background-size: 300px;
}

/* Aqui veem as fotos dos projetos */

/*Aqui encerra as seccção de fotos dos projetos */

.indicator {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #54678c;
  box-shadow: 0 0 10px #54678c;
  animation: blink 2s infinite alternate;
}

.indicator:nth-child(1) {
  top: 15%;
  left: 5%;
}
.indicator:nth-child(2) {
  top: 80%;
  right: 8%;
}

@keyframes blink {
  0% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}
@media screen and (max-width: 1024px) {
  .portfolio-showcase {
    padding: 2.5rem 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .project-grid {
    gap: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .project-item {
    height: 320px;
  }

  .project-title {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 480px) {
  .portfolio-showcase {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .project-grid {
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .project-item {
    height: 300px;
  }

  .tech-tag {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
  }

  .project-title {
    font-size: 1.4rem;
  }

  .project-description {
    font-size: 0.9rem;
  }

  .project-link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
/*Portefolio End */

/* Form Start */
.page-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #0487d9;
}

.form-container {
  margin-top: 40px;
  width: 100%;
  height: 600px;
  max-width: 700px;
  background-color: rgba(64, 97, 171, 0.25);
  border-radius: 12px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(129, 162, 232, 0.4);
  box-shadow: 0 10px 30px rgba(25, 33, 64, 0.3);
}

.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(120, 157, 235, 0.3),
    transparent 70%
  );
  pointer-events: none;
}
.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.form-title {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 10px 10px #333;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #c4d1f5, #789deb);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  font-family: "Bruno Ace", sans-serif;
}
.form-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  text-align: center;
  font-family: "Bruno Ace", sans-serif;
}
.input-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.input-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: all 0.3s;
}
.input-field {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(129, 162, 232, 0.6);
  background-color: rgba(44, 62, 106, 0.7);
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(25, 33, 64, 0.1);
}
.input-field:focus {
  outline: none;
  color: #789deb;
  box-shadow: 0 0 0 2px rgba(120, 157, 235, 0.4);
  background-color: rgba(44, 62, 106, 0.9);
}
.phone-input {
  display: flex;
  align-items: center;
}
.phone-code {
  background-color: rgba(90, 123, 214, 0.4);
  padding: 1rem;
  border-radius: 6px 0 0 6px;
  border: 1px solid rgba(129, 162, 232, 0.6);
  border-right: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(25, 33, 64, 0.1);
}
.phone-code::before {
  content: "+351";
}
.phone-field {
  border-radius: 0 6px 6px 0;
  flex: 1;
}
textarea.input-field {
  resize: none;
  min-height: 200px;
}
.submit-btn {
  display: block;
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, #5a7bd6, #789deb);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(90, 123, 214, 0.5);
}
.submit-btn:hover {
  background: linear-gradient(135deg, #789deb, #5a7bd6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 123, 214, 0.7);
}

.submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(90, 123, 214, 0.5);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.submit-btn:hover::before {
  left: 100%;
}

.decoration {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #5a7bd6, transparent);
  opacity: 0.2;
  z-index: -1;
}

.decoration:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation: pulse2 15s infinite alternate;
}

.decoration:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -100px;
  animation: pulse2 10s infinite alternate-reverse;
}
@keyframes pulse2 {
  0% {
    opacity: 0.1;
    transform: scale(1);
  }
  100% {
    opacity: 0.3;
    transform: scale(1.1);
  }
}
@media screen and (max-width: 1024px) {
  .form-container {
    padding: 2.5rem;
  }

  .form-title {
    font-size: 2.5rem;
  }

  .form-subtitle {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 768px) {
  .page-wrapper {
    padding: 1.5rem;
  }

  .form-container {
    padding: 2rem;
  }

  .form-title {
    font-size: 2rem;
  }

  .form-subtitle {
    font-size: 1.1rem;
  }

  .input-field,
  .phone-code {
    padding: 0.8rem;
  }

  textarea.input-field {
    min-height: 150px;
  }

  .submit-btn {
    padding: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .page-wrapper {
    padding: 1rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .form-title {
    font-size: 1.8rem;
  }

  .form-subtitle {
    font-size: 1rem;
  }

  .input-label {
    font-size: 0.85rem;
  }

  .input-field,
  .phone-code {
    padding: 0.7rem;
    font-size: 0.9rem;
  }

  textarea.input-field {
    min-height: 120px;
  }

  .submit-btn {
    padding: 0.9rem;
    font-size: 1rem;
  }
}
/* Before Footer Section Start */
.before-container {
  display: flex;
  justify-content: center;
}
.before-title {
  font-family: "Iceland", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 5px 5px #333;
}
/*Before Footer Section End */

.benefits-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  background-color: #023859;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}
.section-title2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-title2 h2 {
  font-size: 2.5rem;
  font-weight: 600;
  background: linear-gradient(to right, #54678c, #364a73);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 1rem;
  font-family: "Bruno Ace", sans-serif;
}
.section-title2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, #54678c, #364a73);
}
.benefits-container {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 3.5rem;
  position: relative;
}
.benefit-item {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 3.5rem;
  position: relative;
  padding: 2rem;
  background-color: rgba(54, 74, 115, 0.1);
}

.benefit-item:last-child {
  margin-bottom: 0;
}
.benefit-content {
  background-color: rgba(54, 74, 115, 0.8);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(25, 33, 64, 0.3);
  position: relative;
  overflow: hidden;
  font-family: sans-serif;
}
.benefit-content h3 {
  font-size: 3.5rem;
  text-shadow: 3px 5px 5px #000;
  font-family: "Bruno Ace", sans-serif;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.75rem;
}
.benefit-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #54678c;
}
.benefit-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  line-height: 1.7;
}
.benefit-item .benefit-number {
  position: absolute;
  top: -15px;
  left: -15px;
  font-size: 5rem;
  font-weight: 800;
  opacity: 0.06;
  color: #fff;
  line-height: 1;
  z-index: -1;
}
.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.icon-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Responsive Layouts */
@media screen and (min-width: 768px) {
  .benefits-section {
    padding: 6rem 3rem;
  }

  .benefit-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
  }

  .benefit-number {
    position: relative;
    top: 0;
    left: 0;
    font-size: 5rem;
    opacity: 0.2;
    text-align: center;
  }
}

@media screen and (max-width: 1024px) {
  .benefits-section {
    padding: 5rem 2rem;
  }

  .section-title2 h2 {
    font-size: 2.5rem;
  }

  .benefit-item {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }

  .benefit-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
}

@media screen and (min-width: 992px) {
  .benefit-item {
    grid-template-columns: 100% 1fr;
  }

  .benefit-content h3 {
    margin-top: 0.5rem;
  }
}

/* Additional Mobile Optimizations */
@media screen and (max-width: 767px) {
  .benefits-section {
    padding: 4rem 1.5rem;
  }

  .section-title2 {
    margin-bottom: 2.5rem;
  }

  .section-title2::after {
    width: 60px;
  }

  .benefits-container {
    /* Changed from benefits-content to benefits-container */
    gap: 2rem;
  }

  .benefit-item {
    padding: 0; /* Remove padding here to avoid double padding */
    margin-bottom: 2.5rem;
  }

  .benefit-content {
    padding: 1.5rem;
  }

  .benefit-number {
    top: -10px;
    left: -10px;
  }
}

@media screen and (max-width: 480px) {
  .benefits-section {
    padding: 3rem 1rem;
  }

  .section-title2 h2 {
    hyphens: auto;
    word-wrap: break-word;
    font-size: 1.8rem; /* Make sure title is not too big on small screens */
  }

  .section-title2::after {
    width: 50px;
    height: 2px;
  }

  .benefit-item {
    margin-bottom: 2rem;
  }

  .benefit-content {
    padding: 1.2rem;
  }

  .benefit-content h3 {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .benefit-content h3::after {
    width: 30px;
  }

  .benefit-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* FAQ Section Start */
.accordion-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/*FOoter Start */

.footer {
  margin-top: 60px;
  background: linear-gradient(
    180deg,
    var(--color-medium-dark) 0%,
    var(--color-darkest) 100%
  );
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  font-family: sans-serif;
}
.footer-top {
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
}
.footer-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 10px;
  font-family: sans-serif;
}
.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: linear-gradient(
    90deg,
    var(--color-medium),
    var(--color-light)
  );
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s esae, transform 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 18px;
  font-family: sans-serif;
}
.footer-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--color-light);
  transform: translateY(-50%);
  transition: width 0.3s ease;
}
.footer-links a:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}
.footer-links a:hover::before {
  width: 12px;
  background-color: var(--text-primary);
}
.contact-info {
  list-style: none;
}
.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}
.contact-info li svg {
  margin-right: 10px;
  min-width: 20px;
  fill: var(--color-light);
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-medium-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.social-link:hover {
  background-color: var(--color-medium);
  transform: translateY(-3px);
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--text-secondary);
}
.footer-bottom {
  background-color: rgba(8, 16, 64, 0.8);
  padding: 20px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(84, 103, 140, 0.1);
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyright {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.powered-by {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.powered-by span {
  font-weight: 600;
  background: linear-gradient(90deg, var(--color-medium), var(--color-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 5px;
}
.circuit-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(
      circle at 25px 25px,
      var(--color-light) 1px,
      transparent 0
    ),
    linear-gradient(
      to right,
      transparent 24px,
      var(--color-light) 0.5px,
      transparent 0
    ),
    linear-gradient(
      to bottom,
      transparent 24px,
      var(--color-light) 0.5px,
      transparent 0
    );
  background-size: 50px 50px;
  opacity: 0.03;
  z-index: 1;
  pointer-events: none;
}
.footer-brand {
  margin-bottom: 20px;
}

.footer-brand img {
  max-width: 150px;
  height: auto;
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 0.95rem;
  max-width: 90%;
}

/* Tech pulse animation for the powered by text */
@keyframes techPulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

.tech-pulse {
  animation: techPulse 2s infinite;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-light);
  border-radius: 50%;
  margin-right: 10px;
}

@media screen and (max-width: 1024px) {
  .footer-top {
    padding: 50px 0 30px;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .footer-description {
    max-width: 100%;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 16px;
    height: 16px;
  }
}

@media screen and (max-width: 480px) {
  .footer-top {
    padding: 40px 0 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand h3 {
    text-align: center;
  }

  .footer-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }

  .footer-column h4 {
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .contact-info {
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .copyright,
  .powered-by {
    font-size: 0.8rem;
  }
}
/* Footer End */
/* Responsive adjustments for the entire page */
/* === ADDITIONAL GENERAL FIXES === */
/* Fix for GO TO TOP button */
@media screen and (max-width: 480px) {
  #myBtn {
    bottom: 15px;
    right: 15px;
    font-size: 16px;
    padding: 10px;
  }
}

/* Fix for the Wave effect in header */

@media screen and (max-width: 768px) {
  .header-container h1 {
    font-size: 48px;
    word-wrap: break-word;
  }

  .about-container {
    padding: 20px 5px;
  }

  .portfolio-showcase {
    padding: 3rem 1rem;
  }

  .form-container {
    max-width: 100%;
    padding: 2rem 1rem;
  }

  .project-item {
    height: auto;
    min-height: 320px;
  }
}

@media screen and (max-width: 480px) {
  .logo-container span {
    font-size: 30px;
  }

  .header-container h1 {
    font-size: 36px;
  }

  .card {
    max-width: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}
.project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease;
  filter: grayscale(30%);
}

.project-item:hover .project-bg img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
/* --- Styles for the AI SEO Tool Section --- */

/* --- Styles for the AI SEO Tool Section --- */

.seo-ai-tool-section {
  padding: 60px 0;
  background-color: #f0f2f5; /* Light grey background */
  color: #333;
}

.ai-tool-title {
  font-family: "Bruno Ace", sans-serif;
  font-size: 2.5rem;
  color: #fff; /* A deep, professional blue/grey */
}

.ai-tool-subtitle {
  font-family: "Bruno Ace", sans-serif;
  font-size: 1.2rem;
  color: #fff;
}

.ai-tool-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.3s ease-in-out;
}

.ai-tool-card .form-label {
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  color: #444;
}

.ai-tool-card .form-control {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.ai-tool-card .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.ai-tool-button {
  padding: 12px 35px;
  font-size: 1.1rem;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  border-radius: 50px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  border: none;
  transition: all 0.3s ease;
}

.ai-tool-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.ai-tool-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ai-tool-results-area {
  display: none; /* Hidden by default */
}

#loader {
  display: none; /* Hidden by default */
  padding: 40px 0;
}

.ai-tool-results-content {
  background-color: #ffffff;
  border-radius: 15px;
  text-align: left;
  padding: 2rem !important;
  border: 1px solid #e0e0e0;
}

.ai-tool-results-content h4 {
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  color: #0056b3;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 5px;
  border-bottom: 2px solid #007bff;
  display: inline-block;
}

.ai-tool-results-content ul {
  list-style-type: none;
  padding-left: 0;
}

.ai-tool-results-content li {
  background-color: #f8f9fa;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 8px;
  border-left: 4px solid #007bff;
}
/* Chatbot Toggle Button */
.chatbot-toggle-btn {
  position: fixed;
  bottom: 90px; /* This raises it above the top button */
  right: 30px;
  z-index: 100;
  background-color: #007bff; /* Ou a cor da sua marca */
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.chatbot-toggle-btn:hover {
  background-color: #0056b3;
}

/* Chatbot Container */
.chatbot-container {
  position: fixed;
  bottom: 90px; /* Acima do botão */
  right: 20px;
  width: 350px;
  height: 450px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  transform: translateY(100%) scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.chatbot-container.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.chatbot-header {
  background-color: #f2f2f2; /* Cor mais clara para o cabeçalho */
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #333;
}

.chatbot-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
}

.chatbot-messages {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
}

.message {
  padding: 8px 12px;
  border-radius: 15px;
  margin-bottom: 10px;
  max-width: 80%;
  word-wrap: break-word;
}

.bot-message {
  background-color: #e6f7ff; /* Azul claro para mensagens do bot */
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  color: #333;
}

.user-message {
  background-color: #007bff; /* Azul para mensagens do utilizador */
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbot-input-area {
  display: flex;
  padding: 10px 15px;
  border-top: 1px solid #eee;
  background-color: #f2f2f2;
}

.chatbot-input-area input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 14px;
}

.chatbot-input-area button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.chatbot-input-area button:hover {
  background-color: #0056b3;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .chatbot-container {
    width: 90%;
    height: 80%;
    bottom: 80px;
    right: 5%;
    left: 5%;
  }
  .chatbot-toggle-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
}
