:root {
  --primary-dark: #081040;
  --primary: #364a73;
  --primary-light: #54678c;
  --white: #ffffff;
  --light-gray: rgba(255, 255, 255, 0.7);
  --border-light: rgba(255, 255, 255, 0.12);
  --primary-dark: #081040;
  --primary: #364a73;
  --primary-light: #54678c;
  --accent: rgba(255, 255, 255, 0.9);
  --text-light: rgba(255, 255, 255, 0.7);
  --border-light: rgba(255, 255, 255, 0.12);
  --primary-dark: #081040;
  --primary-light: #262a40;
  --accent-blue: #54678c;
  --accent-purple: #3a4a6a;
  --text-primary: #f0f6fc;
  --text-secondary: #a5b1c2;
  --border-color: rgba(84, 103, 140, 0.2);
  --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);
}
#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;
}
html,
body {
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  max-width: 100%;
}
/*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 span {
    font-size: 30px;
  }
  .hamburguer-menu {
    top: 15px;
    right: 15px;
  }
}
/* navbar end */
/* main header start */
.header-container {
  width: 100%;
  height: 500px;
  background: linear-gradient(-45deg, #151826, #023859, #0455bf, #0487d9);
  background-size: 300% 100%;
  display: flex;
  flex-direction: column;
  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;
  margin-bottom: 125px;
}
.header-container > h2 {
  font-family: "Bruno Ace", sans-serif;
  font-size: 4.3rem;
  text-shadow: 3px 5px 5px #000;
}
/* main header end */

/* main container start */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "bruno ace", sans-serif;
}

.top-row,
.bottom-row {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.top-row {
  grid-template-columns: repeat(1, 1fr);
}

.bottom-row {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .top-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .top-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card:nth-child(odd) {
  background-color: #54678c;
}

.card:nth-child(even) {
  background-color: #364a73;
}

.card-content {
  padding: 20px;
  flex-grow: 1;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.card-icon {
  color: white;
  opacity: 0.8;
}

.card-description {
  color: #e5e7eb;
  font-size: 14px;
}

.card-accent {
  height: 8px;
  background-color: #081040;
}

.card-accent-split {
  display: flex;
}

.card-accent-split div:nth-child(1) {
  height: 8px;
  width: 16.666%;
  background-color: #081040;
}

.card-accent-split div:nth-child(2) {
  height: 8px;
  width: 50%;
}

.card-accent-split div:nth-child(3) {
  height: 8px;
  width: 33.333%;
  background-color: #081040;
}

.bottom-card:nth-child(odd) .card-accent-split div:nth-child(2) {
  background-color: #364a73;
}

.bottom-card:nth-child(even) .card-accent-split div:nth-child(2) {
  background-color: #54678c;
}

.decorative-element {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.decorative-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-small {
  height: 4px;
  width: 32px;
  border-radius: 9999px;
}

.dot-large {
  height: 4px;
  width: 64px;
  border-radius: 9999px;
}

.dot-1 {
  background-color: #081040;
}

.dot-2 {
  background-color: #364a73;
}

.dot-3 {
  background-color: #54678c;
}
/* main container end */
/* Section start */

.section-container {
  margin-top: 150px;
  display: flex;
  max-width: 2000px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(-45deg, #151826, #023859, #0455bf, #0487d9);
  color: #fff;
}
.section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  max-width: 800px;
  text-align: center;
  border-top: 3px solid #333;
  border-bottom: 3px solid #333;
}

.section-h1-title {
  margin-top: 100px;
  font-family: "bruno ace", sans-serif;
  font-size: 2.4rem;
  text-shadow: 3px 5px 5px #333;
  text-align: center;
}

.section-title {
  font-family: "bruno ace", sans-serif;
  font-size: 2.6rem;
}
.section-description {
  font-family: sans-serif;
  margin-top: 20px;
}
/* Section end */

/* Hero Start */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  font-family: "bruno ace", sans-serif;
}

.background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: linear-gradient(
      30deg,
      #081040 12%,
      transparent 12.5%,
      transparent 87%,
      #081040 87.5%,
      #081040
    ),
    linear-gradient(
      150deg,
      #081040 12%,
      transparent 12.5%,
      transparent 87%,
      #081040 87.5%,
      #081040
    ),
    linear-gradient(
      30deg,
      #081040 12%,
      transparent 12.5%,
      transparent 87%,
      #081040 87.5%,
      #081040
    ),
    linear-gradient(
      150deg,
      #081040 12%,
      transparent 12.5%,
      transparent 87%,
      #081040 87.5%,
      #081040
    ),
    linear-gradient(
      60deg,
      #54678c 25%,
      transparent 25.5%,
      transparent 75%,
      #54678c 75%,
      #54678c
    ),
    linear-gradient(
      60deg,
      #54678c 25%,
      transparent 25.5%,
      transparent 75%,
      #54678c 75%,
      #54678c
    );
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  z-index: 0;
}

.content-container {
  max-width: 1000px;
  width: 100%;
  background: linear-gradient(
    145deg,
    rgba(8, 16, 64, 0.97) 0%,
    rgba(54, 74, 115, 0.97) 100%
  );
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(8, 16, 64, 0.3);
  overflow: hidden;
  z-index: 2;
  position: relative;
}

.circuit-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 30% 20%,
      rgba(84, 103, 140, 0.2) 0%,
      transparent 8%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(84, 103, 140, 0.2) 0%,
      transparent 8%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(84, 103, 140, 0.2) 0%,
      transparent 8%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(84, 103, 140, 0.2) 0%,
      transparent 8%
    );
  pointer-events: none;
}

.content-flex {
  display: flex;
  flex-direction: column;
  padding: 3rem;
  position: relative;
}

@media (min-width: 768px) {
  .content-flex {
    flex-direction: row;
    align-items: center;
  }
}

.logo-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .logo-section {
    margin-bottom: 0;
    margin-right: 3rem;
  }
}

.logo-container2 {
  width: 180px;
  height: 180px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.logo-ornament {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(84, 103, 140, 0.5);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.logo-ornament::before,
.logo-ornament::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #54678c;
  border-radius: 50%;
}

.logo-ornament::before {
  top: 10%;
  right: 10%;
}

.logo-ornament::after {
  bottom: 10%;
  left: 10%;
}

.text-section {
  flex: 2;
  color: white;
}

.company-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  display: inline-block;
}

.company-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #54678c;
}

.company-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.highlight {
  color: #54678c;
  font-weight: 700;
}

.tech-dots {
  display: flex;
  margin-top: 2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background-color: #54678c;
  animation: pulse 2s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #54678c 0%, #364a73 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(8, 16, 64, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(8, 16, 64, 0.4);
}

/* Hero End */
/*FOoter Start */

.footer {
  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 {
  overflow-x: hidden;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.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 */
/* === GLOBAL RESPONSIVE ADJUSTMENTS === */
@media screen and (max-width: 1024px) {
  html {
    font-size: 95%;
  }

  /* Container adjustments */
  .main-container {
    width: 90%;
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 90%;
  }

  /* Container adjustments */
  .main-container {
    width: 95%;
    padding: 0 15px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 85%;
  }

  /* Container adjustments */
  .main-container {
    width: 100%;
    padding: 0 10px;
  }
}

/* === HEADER SECTION RESPONSIVENESS === */
@media screen and (max-width: 1024px) {
  .header-container {
    height: 400px;
    margin-bottom: 100px;
  }

  .header-container > h2 {
    font-size: 3.8rem;
    padding: 0 20px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .header-container {
    height: 350px;
    margin-bottom: 80px;
  }

  .header-container > h2 {
    font-size: 3.2rem;
  }
}

@media screen and (max-width: 480px) {
  .header-container {
    height: 300px;
    margin-bottom: 60px;
  }

  .header-container > h2 {
    font-size: 2.5rem;
  }
}

/* === CARDS/VALUES SECTION RESPONSIVENESS === */
/* Enhancement for existing responsive grid */
@media (max-width: 1024px) {
  .card {
    padding: 15px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-icon svg {
    width: 28px;
    height: 28px;
  }

  .card-description {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  /* Already has good grid layout here */
  .card-content {
    padding: 15px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .top-row,
  .bottom-row {
    gap: 15px;
    margin-bottom: 15px;
  }

  .card {
    border-radius: 6px;
  }

  .card:hover {
    transform: scale(1.03);
  }

  .card-content {
    padding: 12px;
  }

  .card-header {
    margin-bottom: 10px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-icon svg {
    width: 20px;
    height: 20px;
  }

  .card-description {
    font-size: 12px;
  }

  .card-accent,
  .card-accent-split div {
    height: 6px;
  }
}

/* === SECTION TITLE AND CONTENT RESPONSIVENESS === */
@media screen and (max-width: 1024px) {
  .section-h1-title {
    margin-top: 80px;
    font-size: 2.2rem;
    padding: 0 20px;
  }

  .section-container {
    margin-top: 100px;
    flex-direction: column;
  }

  .section-content {
    padding: 20px 30px;
    margin: 15px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-description {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .section-h1-title {
    margin-top: 60px;
    font-size: 1.8rem;
  }

  .section-container {
    margin-top: 70px;
  }

  .section-content {
    padding: 15px 20px;
    max-width: 90%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-description {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  .section-h1-title {
    margin-top: 40px;
    font-size: 1.5rem;
  }

  .section-container {
    margin-top: 50px;
  }

  .section-content {
    padding: 15px;
    max-width: 95%;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 0.9rem;
    margin-top: 15px;
  }
}

/* === HERO SECTION RESPONSIVENESS === */
/* Already has basic responsiveness with flex-direction change at 768px */
@media screen and (max-width: 1024px) {
  .hero-section {
    padding: 1.5rem;
    min-height: auto;
  }

  .content-container {
    max-width: 90%;
  }

  .content-flex {
    padding: 2.5rem;
  }

  .logo-container2 {
    width: 160px;
    height: 160px;
  }

  .logo-text {
    font-size: 1.8rem;
  }

  .company-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }

  .company-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    padding: 10px 25px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 1rem;
  }

  .content-container {
    max-width: 95%;
  }

  .content-flex {
    padding: 2rem;
    gap: 2rem;
  }

  .logo-container2 {
    width: 140px;
    height: 140px;
    margin-bottom: 0;
  }

  .logo-text {
    font-size: 1.6rem;
  }

  .logo-section {
    margin-bottom: 1rem;
  }

  .company-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .company-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .company-description {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }

  .cta-button {
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .tech-dots {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-section {
    padding: 0.8rem;
  }

  .content-container {
    max-width: 100%;
    border-radius: 8px;
  }

  .content-flex {
    padding: 1.5rem;
  }

  .logo-container2 {
    width: 120px;
    height: 120px;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .logo-ornament::before,
  .logo-ornament::after {
    width: 10px;
    height: 10px;
  }

  .company-title {
    font-size: 1.8rem;
  }

  .company-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .dot {
    width: 6px;
    height: 6px;
  }
}

/* === BACK TO TOP BUTTON === */
@media screen and (max-width: 480px) {
  #myBtn {
    bottom: 15px;
    right: 15px;
    font-size: 16px;
    padding: 10px;
  }
}

/* Responsive improvements */
@media screen and (max-width: 1024px) {
  html {
    font-size: 95%;
  }

  /* Container adjustments */
  .main-container {
    width: 100%;
    padding: 0 15px;
  }

  .section-container {
    padding: 0 10px;
  }

  /* Logo text size adjustment */
  .logo-container span {
    font-size: 60px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 90%;
  }

  /* Header fixes */
  .header-container > h2 {
    font-size: 3rem;
    text-align: center;
    padding: 0 10px;
  }

  /* Nav fixes */
  .nav-container ul {
    width: 100%;
  }

  /* Fix hamburger menu position */
  .hamburguer-menu {
    right: 15px;
    top: 15px;
  }

  /* Section content fixes */
  .section-content {
    padding: 15px;
    width: 100%;
  }

  /* Footer grid fixes */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Fix content container in hero section */
  .content-container {
    width: 95%;
  }

  .content-flex {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 85%;
  }

  /* Container adjustments */
  .main-container {
    padding: 0 10px;
  }

  /* Logo adjustments */
  .logo-container span {
    font-size: 30px;
  }

  /* Header adjustments */
  .header-container {
    height: 300px;
    margin-bottom: 60px;
  }

  .header-container > h2 {
    font-size: 2.2rem;
    padding: 0 5px;
  }

  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Hero section adjustments */
  .content-flex {
    padding: 1rem;
  }

  .company-title {
    font-size: 1.5rem;
  }

  .company-description {
    font-size: 0.9rem;
  }
}

/* Fix cards overflow */
.card {
  width: 100%;
  box-sizing: border-box;
}

/* Fix any SVG that might be causing overflow */
svg {
  max-width: 100%;
}
/* Responsive Section Title Styling */
.section-h1-title {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.section-h1-title h1 {
  font-family: "Bruno Ace", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem); /* Fluid typography using clamp */
  line-height: 1.3;
  color: var(--primary-dark, #081040);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

/* Add decorative line below the title */
.section-h1-title h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary, #364a73),
    var(--primary-light, #54678c)
  );
  border-radius: 2px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .section-h1-title {
    margin: 60px auto 30px;
  }

  .section-h1-title h1 {
    padding-bottom: 12px;
  }

  .section-h1-title h1::after {
    width: 60px;
    height: 3px;
  }
}

@media screen and (max-width: 480px) {
  .section-h1-title {
    margin: 40px auto 25px;
    padding: 0 15px;
  }

  .section-h1-title h1::after {
    width: 50px;
  }
}

/* For very small screens */
@media screen and (max-width: 320px) {
  .section-h1-title h1 {
    hyphens: auto; /* Enable hyphenation for very small screens */
    word-wrap: break-word;
  }
}
