@import url('https://fonts.googleapis.com/css2?family=Libertinus+Sans:ital,wght@0,400;0,700;1,400&display=swap');

/* ========== Base Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f0f0f0;
}

.wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* ========== Nav Bar ========== */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #131e3d;
  position: relative;
  height: 80px;
  z-index: 1000;
}

.logo {
  width: 120px;
  height: 50px;
  animation: slideInLeft 1s ease;
}

.sub-head {
  font-size: 32px;
  color: #f8f9ff;
  text-align: center;
  flex: 1;
  animation: slideInLeft 1s ease;
}

.contact-btn {
  background-color: #87cdc3;
  color: #000;
  padding: 10px 20px;
  border-radius: 15px;
  font-weight: bold;
  font-family: sans-serif;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  animation: slideInLeft 1s ease;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #48699d;
}

/* Fixed contact button */
.fixed-contact-btn {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background-color: #7ccabf;
  color: #000;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 12px 12px 0 0;
  font-weight: bolder;

  font-size: 1.5rem;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.fixed-contact-btn:hover {
  background-color: #48699d;
}

/* Mobile nav toggle + items */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: #f8f9ff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

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

.nav-items a {
  color: #f8f9ff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.nav-items a:hover {
  background-color: #56d0aa;
  color: #000;
}

.nav-items.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  right: 0;
  background-color: #131e3d;
  width: 100%;
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

/* ========== Hero ========== */
.hero-section {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px 40px;
  background-image: url('/images/herosection.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  min-height: 900px;
  width: 100%;
  position: relative;
  text-align: left;
}

.hero-content {
  max-width: 600px;
  animation: slideInLeft 1s ease;
  margin-top: 110px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 57px;
}

.hero-content h1 span {
  color: #75e2d2;
}

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

.hero-content button {
  background-color: #90e0d4;
  color: black;
  border: 2px solid red;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-content button:hover {
  background-color: #48699d;
}

.hero-cta-btn {
  background-color: #90e0d4;
  color: black;
  border: 2px solid rgb(28, 113, 123);
  padding: 15px 30px;
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  margin-top: 20px;

}

.hero-cta-btn :hover {
  background-color: #48699d;
}

/* Animation */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== video section ========== */
.video-section {
  padding: 20px 20px 0 0;
  background-color: #fff;
}

.video-section h1 {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 3rem;
  text-align: center;
  color: #0e5b81;
}

.video-section p {
  font-weight: 500;
  font-size: 2.3rem;
  text-align: center;
  color: #0e5b81;
  margin-bottom: 20px;
}

.video-section {
  padding: 20px 0;
  background-color: #fff;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
  /* full screen width */
  overflow: hidden;
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ensures video/poster fills the container */
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-button::before {
  content: '';
  border-style: solid;
  border-width: 20px 0 20px 35px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}

/* ========== Why Section ========== */
.why-section {
  background: #d6dadc;
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.why-section h2 {
  color: #255598;
  font-size: clamp(3.5rem, 6vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 2rem;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  padding: 0 2rem;
}

.why-feature {
  background: #131e3d;
  border-radius: 30px;
  width: 100%;
  max-width: 300px;
  min-height: 160px;
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(11, 48, 121, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.why-icon {
  width: 48px;
  height: 48px;
  font-size: 1.7em;
  margin-bottom: 0.8rem;
  background: #6ac9b8;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: background 0.3s;
}

.why-feature:hover .why-icon {
  background: #0c4f85;
}

.why-title {
  color: #fff;
  font-size: 1.65rem;
  font-weight: 500;
  padding: 0 0.5rem;
}

/* ========== Tech Details ========== */
.tech-details {
  background: #fff;
  padding: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.tech-card {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  max-width: 90vw;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.tech-card-reverse {
  flex-direction: row-reverse;
}

.tech-card-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-card-img img {
  width: 500px;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
}

.tech-card-content {
  flex: 1.0;
  padding: 0 0.5rem;
}

.tech-card-content h3 {
  color: #255598;
  font-size: clamp(2.5rem, 3vw, 1.35rem);
  margin-bottom: 0.8rem;
  font-weight: 1400;

}

.tech-highlight {
  color: #155e88;
  font-weight: 200;
  font-size: clamp(1.7rem, 3vw, 1.08rem);
  margin-bottom: 0.8rem;
  display: inline-block;
}

.tech-card-content p {
  color: #5c5e6f;
  font-size: clamp(1.55rem, 3vw, 1.08rem);
  line-height: 1.6;
  margin-top: 0.3rem;
}

/* ========== Blog Section ========== */
.blog-section {
  background: #d8e1eb;
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.blog-section h2 {
  color: #255598;
  font-size: clamp(3.5rem, 7vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.2px;
}

.blog-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 30px rgba(64, 60, 232, 0.06);
  max-width: 90%;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
  flex: 0 0 28%;
  box-sizing: border-box;
}

.blog-card:hover {
  box-shadow: 0 8px 44px rgba(64, 60, 232, 0.14);
}

.blog-card-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-content h3 {
  font-size: clamp(2rem, 3.5vw, 1.39rem);
  color: #255598;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.blog-card-content p {
  color: #454558;
  font-size: clamp(1.29rem, 3vw, 1.3rem);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-card-btn {
  background: #90e0d4;
  color: #000;
  border-radius: 17px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 3vw, 1rem);
  padding: 0.6rem 1.5rem;
  display: inline-block;
  transition: background 0.16s;
  box-shadow: 0 2px 9px rgba(255, 204, 181, 0.10);
  text-align: center;
}

.blog-card-btn:hover {
  background: #456a83;
  color: #fff;
}

/* Force image-first order always */
.blog-card .blog-card-img {
  order: 1;
}

.blog-card .blog-card-content {
  order: 2;
}

/* ========== Synergy Section ========== */
.synergy-section {
  background: #376089;
  color: #fff;
  padding: 3rem 0 2.5rem;
  box-shadow: 0 2px 44px rgba(58, 40, 224, 0.07);
}

.synergy-container {
  max-width: 95vw;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.synergy-section h2 {
  font-size: clamp(2.5rem, 5vw, 1.8rem);
  font-weight: 600;
  color: #ad97f7;
  margin-bottom: 0.5rem;
}

.synergy-bold {
  font-size: clamp(2.3rem, 4vw, 2.65rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.lower-gap {
  margin: 2rem 0 1rem;
}

.synergy-desc {
  color: #ede7fa;
  font-size: clamp(1.5rem, 3vw, 1.08rem);
  margin-bottom: 1rem;
  line-height: 1.52;
}

.synergy-subhead {
  color: #fcb164;
  font-size: clamp(1.3rem, 3.5vw, 1.23rem);
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.synergy-desc-small {
  color: #e3d2ff;
  font-size: clamp(1.9rem, 3vw, 1.03rem);
  line-height: 1.62;
  margin-bottom: 0.6rem;
}

.wavelength-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.wavelength-card {
  background: #131e3d;
  border-radius: 18px;
  padding: 1.5rem 1rem;
  text-align: center;
  min-width: 160px;
  max-width: 90%;
  box-shadow: 0 2px 14px rgba(255, 204, 181, 0.07);
  transition: box-shadow 0.18s;
}

.wavelength-card:hover {
  box-shadow: 0 6px 30px rgba(168, 142, 255, 0.17);
}

.wavelength-circle {
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 82px;
  font-size: clamp(1.3rem, 4vw, 1.5rem);
  background: #fff;
  color: #0a245e;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 0.8rem;
  border: 4px solid #51b49f;
  box-shadow: 0 1px 7px rgba(255, 204, 181, 0.10);
}

.wavelength-label-small {
  font-size: clamp(2.1rem, 3vw, 1.2rem);
  color: #43c9bb;
  font-weight: 600px;
  margin-bottom: 0.6rem;
  margin-top: -0.4rem;
}

.wavelength-desc {
  color: #fff;
  font-size: clamp(1.1rem, 3vw, 1.02rem);
  font-weight: 500;
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* ========== FAQ ========== */
.faq-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 50px;
  background-color: #d8e1eb;

}

.faq-left {
  flex: 1;
  min-width: 300px;
  padding-left: 30px;

}

.faqss {
  font-size: 20px;
  color: #255598;
}

.faq-left h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #255598;
}

.faq-left p {
  font-size: 16px;
  margin-bottom: 20px;
}

.faq-right {
  flex: 1.5;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  gap: 15px;
}

details {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  cursor: pointer;
}

summary {
  font-weight: 600;
  font-size: 26px;
  list-style: none;
  position: relative;
  padding-right: 20px;
}

summary::after {
  content: "▼";
  font-size: 20px;
  position: absolute;
  right: 0;
  top: 2px;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
}

/* ========== Testimonials ========== */
.testimonials-section {
  background-color: #f4f4f4;
  padding: 60px 40px;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 52px;
  color: #255598;
  margin-bottom: 40px;
}

.testimonial-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  flex-wrap: wrap;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.testimonial-box {
  background-color: #131e3d;
  border-radius: 30px;
  padding: 30px 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.testimonial-box p {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-box h4 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
}

/* ========== Contact Section & Form ========== */

/* ========== Contact Section & Form ========== */
.contact-section {
  background: #fff;
  display: flex;
  justify-content: center;
  min-height: 50vh;
  box-shadow: 0 2px 28px rgba(64, 60, 232, 0.06);
  padding: 40px 20px;
}

/* Right side (now main container) */
.contact-right {
  flex: 1;
  max-width: 800px;
  padding: 2.5rem 5vw;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Heading & subheading above form */
.contact-overlay-text {
  text-align: center;
  color: #1c4d7b;
  /* Navy blue */
  margin-bottom: 30px;
}

.contact-overlay-text h2 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  font-weight: bolder;
}

.contact-overlay-text h3 {
  font-size: 2rem;
  font-weight: 100;
  color: rgb(42, 101, 172);
}

/* Highlighted text style (optional) */
.contact-highlight {
  color: #332a56;
  font-size: clamp(1.6rem, 3.5vw, 1.29rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: #d72879;
  outline: none;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row input,
.form-row select {
  flex: 1;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 15px;
}

.checkbox-row input {
  margin-top: 4px;
}

.privacy-note {
  font-size: 12px;
  color: #555;
  margin-bottom: 20px;
}

.submit-btn {
  width: 100%;
  background: #255598;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 15px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #557e92;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  resize: vertical;
}

/* ========== Footer ========== */
.site-footer {
  background-color: #131e3d;
  color: #d7d9dd;
  padding: 2rem 1.5rem;
  text-align: center;
  gap: 2rem;
  font-family: 'Poppins', sans-serif;
}

.footer-info {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  flex: 1 1 300px;
  text-align: left;
  gap: 2rem;
}

.footer-brand p {
  padding-top: 20px;
  padding-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: #dcdcdc;
}

.footer-logo {
  max-height: 50px;
  width: auto;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff1a;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background-color: #ffffff33;
  transform: scale(1.1);
}

.footer-social i {
  color: white;
  font-size: 16px;
}

.lastpage {
  font-size: 20px;
}

/* ========== Media Queries ========== */
/* <= 1024px */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .why-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* <= 768px */
@media (max-width: 768px) {

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #131e3d;
    position: absolute;
    top: 80px;
    right: 0;
    z-index: 999;
    padding: 0.5rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .nav-items.mobile-active {
    display: flex;
  }

  .nav-items a {
    padding: 1rem 2rem;
    border-bottom: 1px solid #1e2a52;
  }

  .nav-bar {
    flex-direction: row;
    padding: 0.9rem;
    gap: 0.6rem;
  }

  .logo {
    height: 40px;
  }

  .sub-head {
    font-size: 1rem;
    margin: 0.5rem 0;
  }

  .contact-btn,
  .fixed-contact-btn {
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
  }

  /* Hero */
  .hero-section {
    flex-direction: column;
    padding: 70px 20px 40px;
    min-height: auto;
    text-align: center;
    height: 130vh;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin-top: 0;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-cta-btn {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }

  /* Why */
  .why-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  /* Tech */
  /*.tech-card,
  .tech-card-reverse {
    flex-direction: column !important;
    gap: 1rem;
  }
*/
  .tech-card,
  .tech-card-reverse {
    flex-direction: column;
    text-align: center;
  }

  .tech-card-img {
    width: 100%;
  }

  .tech-card-img img {
    width: 100%;
    height: 500px;
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
  }

  .tech-card-content {
    padding: 1rem;
    text-align: center;
  }

  .tech-card-content p {
    font-size: 1rem;
  }

  /* Blogs */
  .blog-cards {
    flex-direction: column;
    padding: 1rem;
  }

  .blog-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .blog-card-content h3 {
    font-weight: 300px;
    font-size: 2rem;
  }

  .blog-section h2 {
    font-size: 2.2rem;
  }

  .blog-card-content p {
    font-size: 1.2rem;
    font-weight: 300;
  }

  .blog-card-btn {
    font-size: 1rem;
    font-weight: 400px;
    color: #fff;
  }

  /* Ensure image first on mobile too */
  .tech-card,
  .tech-card:nth-child(even) {
    flex-direction: column !important;

  }

  /* Contact */
  .contact-section {
    flex-direction: column;
    padding: 1.5rem;
  }

  .contact-text {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .contact-form {
    max-width: 100%;
    padding: 1rem;
  }

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

  /* Synergy */
  .wavelength-cards {
    flex-direction: column;
  }

  .wavelength-card {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

/* <= 600px (footer + form row collapse already above) */
@media (max-width: 600px) {
  .footer-info {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand .lastpage {
    font-size: 1rem;
  }
}

/* <= 480px */
@media (max-width: 480px) {
  .logo {
    width: 70px;
    height: 20px;
  }

  .nav-bar h1 {
    font-size: 1.2rem;
    padding: 0 0.5rem;
  }

  .contact-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .hero-section {
    background-image: url(images/heromobile.jpg);


  }

  .hero-content {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 10px;
    color: white;
    /* optional: makes text readable */
    border-radius: 10px;
    animation: ease-in 3s;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    margin-top: 22%;
  }

  .hero-content span {
    font-size: 2.3rem;
    display: inline-block;
    animation: subtlePop 2s ease-in-out infinite;
  }

  @keyframes subtlePop {

    0%,
    100% {
      transform: scale(1);
      opacity: 1;
    }

    50% {
      transform: scale(1.05);
      /* only 5% bigger */
      opacity: 0.95;
      /* very slight fade */
    }
  }
  .hero-content p {
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 1.6rem;
    /* smaller so it fits nicely */
    line-height: 1.2;
  }

  .hero h1::after {
    content: "";
  }

  /* Force "Laser Hair Removal" to a new line */
  .hero h1 {
    display: block;
    text-align: center;
  }

  .hero h1 br {
    display: none;
    /* remove existing break if unwanted */
  }

  /* Wrap words with spans in HTML if you want more control */
  .hero h1 span.word-break {
    display: block;
  }

  .fixed-contact-btn {
    font-size: 1.5rem;
  }

  .video-section h1 {
    font-size: 1.9rem;

  }

  .video-section p {
    font-size: 1.3rem;
  }

  /* Keep image first on very small screens */
  .tech-card,
  .tech-card:nth-child(even) {
    flex-direction: column;
  }

}