* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

:root {
    --header-color: #33393A;
    --hover-color: #C8DCDA;
    --light-blue: #D7DFE4;
    --dark-blue: #085576;
    --orange: #DB8822;
    --impact-gap: 20px;


}
body {
    font-family: 'Hero', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

a {
    text-decoration: none;
    color: #fff;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

/* navigation bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    max-width: 95%;
}

.navbar .main-menu ul {
    display: flex;
}

.navbar ul li a {
    padding: 20px 15px;
    display: block;
    font-weight: 300;
    transition: 0.5s;
}

.navbar ul li a:hover {
    color: var(--hover-color);;
}

.logo-text {
  display: flex;
  align-items: center; 
}

.logo-text a {
  display: flex;
  align-items: center; 
  color: #fff; 
}

.logo-text img {
  height: 40px; 
  margin-right: 10px;
  display: block;
}


@media (max-width: 850px) {
  .navbar ul li a{
    padding: 21px 4px;
    font-size: 0.8rem;
  }
  .logo-text img {
    height: 30px;
  }
  .brand-name {
    font-size: 1rem;
  }
 }

/* ------------- home page --------------*/
/* hero */
.carousel {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.carousel .list .item {
  position: absolute;
  inset: 0 0 0 0;

}
.carousel .list .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 60px;
  filter: brightness(80%);
}
.carousel .list .item .content {
  position: absolute;
  top: 20%;
  width: 1140px;
  max-width: 60%;
  left: 37%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0084;
}
.carousel .list .item .content .name {
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 10px;
  color: #fff;
}
.carousel .list .item .content .title {
  font-weight: bold;
  font-size: 4em;
  line-height: 1em;
}
.carousel .list .item .content .description {
  margin-top: 20px;
  line-height: 1.3em;
  opacity: 90%;
}
.carousel .list .item .content .buttons {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}
.carousel .list .item .content button {
  border: none;
  background-color: var(--orange);
  letter-spacing: 3px;
  font-weight: 500;
  transition: .5s;
}
.carousel .list .item .content button:nth-child(2) {
  background-color: transparent;
  color: #eee;
  border: 1px solid #eee;
}
.carousel .list .item .content button:hover{
  opacity: 0.8;
}

.arrows {
  position: absolute;
  top: 92%;
  left: 80%;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
}
.arrows button{
  width:40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eee4;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: large;
  transition: .5s;
  z-index: 100;
}
.arrows button:hover {
  color:#000;
  background-color: #fff;
}
.carousel .list .item:nth-child(1){
  z-index: 1;
}
.carousel .list .item:nth-child(1) .name,
.carousel .list .item:nth-child(1) .title,
.carousel .list .item:nth-child(1) .description,
.carousel .list .item:nth-child(1) .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 1s linear 1 forwards;
}
@keyframes showContent {
  to{
    opacity: 1;
    filter:blur(0);
    transform: translateY(0);
  }
}

.carousel .list .item:nth-child(1) .title{
  animation-delay: 1s;
}
.carousel .list .item:nth-child(1) .description{
  animation-delay: 1.4s;
}
.carousel .list .item:nth-child(1) .buttons{
  animation-delay: 1.6s;
}

.carousel.next .list .item:nth-child(1) img{
  opacity: 0.7;
  filter: blur(5px);
  animation: showImage 0.5s linear 1 forwards;
}
@keyframes showImage{
  to{
    opacity: 1;
    filter: blur(0);
  }
}
@media screen and (max-width: 1024px) {
  .container { max-width: 92%; }

  .carousel .list .item .content {
    width: 100%;
    max-width: 90%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 0;
    top: 28%;
  }

  .carousel .list .item .content .title {
    font-size: 3rem;
  }
}

/* mission statement */
.about-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap; 
}

.about-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.about-text {
  max-width: 600px;
}

.about-us {
    color: var(--dark-blue);
}
.statement-content {
    padding: 20px 0 50px;
}
.statement-description {
  padding-right: 100px;
}

@media (max-width: 850px) {
  .about-image {
    display: none;
  }
 }

 @media (min-width: 1600px) {
   .about-text {
    max-width: 800px;
   }
   .statement-description {
      font-size: 1.5rem;
   }
 }

/* --- targteing section --- */
.targeting-section {
    display: flex;
    width: 100%;
    align-items: stretch;
    margin: 0;
}

.targeting-imgage {
    flex: 1;
}

.targeting-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.targeting-heading {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 40px;
  margin-bottom: 30px;

}

.targeting-title-big {
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    text-align: left;
    margin: 0;
}

@media (max-width: 850px) {
  .targeting-title-big {
    font-size: 2.5rem;
  }
 }
 @media (min-width: 1400px) {
   .targeting-title-big {
    font-size: 6rem;
   }
 }

/* by the numbers section */
.stats-section {
  padding: 80px 40px;
}

.stats-header {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.header-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  border-radius: 50px;
  padding: 0 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.header-icon {
  font-size: 1.8rem;
  color: var(--header-color);
  padding-right: 10px;
}

.stats-header h2 {
  color: var(--header-color);
  font-size: larger;
  padding-bottom: 8px;
}

.stats-grid {
  display: flex;
  align-items: left;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-card {
  background-color: white;
  border: 2px solid #b3c6d1;
  border-radius: 12px;
  padding: 30px 40px;
  width: 325px;
  height: 325px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card p {
  margin-top: 20px;
  font-size: 1.1rem;
}

.card-icon {
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin-left: 210px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 530;
  padding: 10px 0;
  color: var(--header-color);
}

.footnote {
  font-size: 0.75rem;
  color: #666;
  margin-top: 50px;
  text-align: right;
}
@media (min-width: 1600px) {
   .stats-grid {
    gap: 120px;
   }
 }

/* how we make a difference section */
.making-differences {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 60px 20px;
  overflow: hidden;
}

.inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  margin-left: 160px;
}

.left h1{
  color: var(--header-color);
  margin: 20px 0 40px;
  font-size: 4rem;
  
}

.accent-bar {
  width: 700px;
  height: 60px;
  margin-left: -12rem;
  margin-bottom: 100px;
  background: #50859C;
}

.difference-buttons {
  display: flex;
  gap: 16px;
}

.app-mockup {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 850px) {
  .inner {
    grid-template-columns: 1fr;
    text-align: center;
    margin: 0;
  }
  .accent-bar {
    display: none;
  }
  .difference-buttons {
    justify-content: center;
  }
  .right {
    margin-top: 40px;
  }
  .app-mockup {
    max-width: 70%;
    margin: auto;
  }
}

/* Work With Us section */
.work-with-us {
    padding: 40px 0;
    text-align: center;
}

.work-title,
.work-description {
    padding: 10px 60px;
}

.work-form {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.form-control {
   text-align: left;
   display: flex;
   flex-direction: column;
}

.form-control label {
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--header-color);
}

.form-control input,
.form-control textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.form-control input:focus,
.form-control textarea:focus {
    outline: none;
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 2px rgba(51, 57, 58, 0.2);
}

.work-form .btn {
    align-self: center;
}

@media screen and (max-width: 600px) {
  .work-form { padding: 0 12px; }
  .work-form .btn { width: 100%; }
}


/*footer*/
.footer {
    padding-top: 40px;
    padding-bottom: 10px;
}

.footer h4 {
    margin-bottom: 10px;
}

.footer ul li {
    line-height: 2.5;
}

.footer a {
    color:#ccc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; 
  gap: 30px;
  align-items: flex-start;
  padding: 30px 0;
}

.footer .card {
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 20px;
}

.copyright {
  margin-left: 5px;
  padding-top: 50px;
  color: #ccc;
  font-size: 0.7rem;
  font-weight: 500;
}

.footer-icons {
  margin-top: 87px;
}

.footer i {
  font-size: 1.5rem;
  margin-right: 20px;
  color: #ccc;
}

.footer input[type='email'] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 0;
}
@media screen and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .team-members { gap: 30px; }
  .team-title-big { font-size: 2rem; text-align: center; margin-left: 0; }
}

/*utility classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-sm {
    max-width: 1200px;
    margin: 0 500px 0 80px;
}

/* buttons */
.btn {
    display: incline-block;
    padding: 13px 20px;
    background: var(--dark-blue);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.5s;
}

.btn-orange {
  background: var(--orange);
  color: var(--header-color);
}

.btn-white {
  background: #fff;
  color: var(--dark-blue);
}

.btn:hover {
    opacity: 0.8;
}

/* text classes */
.text-xxl {
    position: static;
    font-size: 3.3rem;
    line-height: 1.2;
    font-weight: 510;
    text-align: center;
    color: #fff;
}

.text-xl {
    font-size: 2.3rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 20px 0 20px;
}

.text-l {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
    margin: 20px 0 10px;
}
.text-md {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-sm {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

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

/* background */
.bg-light-blue {
    background: var(--light-blue);
    color: var(--header-color);
}

.bg-dark {
    background: var(--header-color);
    color: #fff
}

.bg-dark-blue {
    background: var(--dark-blue);
    color: #fff
}

/* card */
.card {
    background: #fff;
    color: #000;
    border-radius: 10px;
    padding: 20px;

}



/* --------- About Us ---------- */

.text-block .text-xl {
    color: var(--dark-blue)
}

.about-hero {      
  position: relative;                
  height: 100vh;
  background: url('../images/about/arecibo-telescope-hero.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: 18%;
}

@media(min-width: 650) {
  .mission-card {
    width: 100%;
  }
}

/* mission text box */
.mission-card {
  background-color: var(--light-blue);
  padding: 3rem 4rem;
  width: 60%;
  max-width: 1000px;
  text-align: left;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.mission-card h2 {
  color: var(--dark-blue);
  font-size: 2;
  margin-bottom: 1rem;
}

.mission-card p {
  margin-bottom: 1.8rem;
  line-height: 1.6;
  color: var(--header-color);

}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  padding: 0;
}

/* flip columns on alternated sections */

.about-grid.reverse {
  direction: rtl; 
}

.about-grid.reverse > * {
  direction: ltr; 
}

.text-block { 
  margin-bottom: 100px;
}

.values-list li {
  margin: 20px 0;
}

.text-block .text-xl {
  margin-bottom: 40px;
}


/*Edge‑to‑edge image layout*/
.container .edge {  
  width: 100%;  
  max-width: 100%;                      
  margin: 0;
  padding: 0;
}

.about-grid img {               
  width: 100%;
  height: auto;
  object-fit: cover;             
  display: block;                
}

.text-block {                    
  padding: 70px 40px;           
}

.about-grid.reverse img { order: 2; }

/*our inspiration section*/
.inspiration {
  margin: 0;
  padding: 50px 0 0 0;
}
.inspiration-title {
  text-align: center;
  color: var(--dark-blue);
  margin-bottom: 40px;
}

.arecibo-message {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 10% 0 0;
}

.arecibo-message .text {
  padding-bottom: 40px;
}

 .arecibo-radio {
  display: flex;
  align-items: stretch;
  color: #fff;
  padding: 0 0 0 10%;
  overflow: hidden;
 }

 .arecibo-radio .section-heading{
  color: #eee;
 }

 .text {
  flex: 1;
  margin: auto 0;
 }

 .text .text-l {
  margin-bottom: 20px;
 }

 .image-circle {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 65%;
 }

@media (min-width: 1600px) {
  .about-grid {
    gap: 150px;
  }
  .text p{
    font-size: 1.2rem;
  }
 }

 /*our team section*/
 .our-team {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  min-height: 100vh;
 }
 .team-header {
  margin-top: 75px;
  text-align: center;
  color: var(--dark-blue);
 }
 .wrapper {
  width: 100%;
  max-width: 1400px;
  margin: auto;
 }
 .card-container {
  position: relative;
 }
 .card-container .team-card{
  width: 300px;
  border-radius: 25px;
  padding: 20px;
  /*background: #fff;*/
  margin: auto;
 }
 .card-container .team-card .img-container {
  padding: 25px;
  padding-bottom: 30px;
 }

 .img-container img {
  border-radius: 3px;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-right: 40px;
  transition: opacity 0.4s ease;
 }
 .img-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
 }
.team-card .info {
  position: relative;
}
.team-card .info .name {
  position: static;
  transform: none;
  display: block;
  color: var(--header-color);
  text-align: center;
  font-weight: bold;
  padding-bottom: 10px;
}
.team-card .info .title {
  text-align: center;
}
.team-card .info .description{
  text-align: center;
  font-size: small;
}

.team-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-blue); 
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 5px;
  font-size: 0.95rem;
  line-height: 1.4;
  z-index: 2;
}

/* Hover behavior */
.img-container:hover .team-hover-overlay {
  opacity: 1;
}

.img-container:hover img {
  opacity: 0.2;
}


/* --------- Services Page ----------- */
.services-hero {
  position: relative;
  height: 100vh;
  background: url('../images/services/services-hero.png') no-repeat center center/cover;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 4rem;
}

.hero-content {
  max-width: 700px;
  color:#eee;
  margin-top: 30px;
  margin-left: 20px;
}

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

.service-description {
  margin-bottom: 20px;
}

/* study findings section */
.study-findings {
  padding: 3rem 4rem;
  text-align: left;
}

.section-heading {
  color: var(--dark-blue);
}

.study-findings h2 {
  margin-bottom: 4rem;
  margin-left: 2rem;
  font-size: 2.5rem;
}

.service-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.service-stat {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.service-stat h3 {
  font-size: 3rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.service-stat p {
  font-size: 1.3rem;
}

.sources {
  margin-top: 3rem;
  text-align: right;
}

.sources a{
  color: #666;
  font-size: 0.65rem;
}

.sources a:hover {
  color: var(--header-color);
}

/* AI-as-a-service section */
.aiaas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 4rem;
  flex-wrap: wrap;
  overflow: hidden;
}

.aiaas-text {
  max-width: 500px;
}

.aiaas-text h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 30px;
  margin-top: 10px;
  margin-left: 2rem;
  color: var(--header-color);
}
 .aiaas-line {
  width: 50rem;
  height: 3rem;
  background-color: #75A0B2;
  margin-top: 5rem;
  margin-left: -8rem;
 }

 .aiaas img {
  max-width: 40%;
  margin-top: 1rem;
  margin-right: 20px;
 }

 .aiaas-features {
  display: flex;
  justify-content: space-between;
  padding: 3rem 8%;
  gap: 40px;
  flex-wrap: wrap;
 }

 .feature {
  flex: 1;
  min-width: 20rem;
 }

 .feature h3 {
  position: relative;
  font-size: 2rem;
  margin-bottom: 10px;
  display: inline-block;
  color: var(--dark-blue);
 }

 .feature p {
  line-height: 1.5;
  color: var(--header-color);
  max-width: 320px;
  margin-bottom: 40px;
 }

 /* trending services offered section */

 .services-offered {
    padding: 4rem;
    padding-top: 5rem;
  }

.services-offered .service-container {
    margin: auto;
  }

.services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 40px;
      margin-top: 30px;
  }
  .service-item h3 {
      font-size: 20px;
      margin: 12px 0 6px;
      color: var(--header-color);
      line-height: 1.3;
  }

  .service-item{
      padding-left: 2rem;
  }

  .service-item p {
      font-size: 15px;
      color: #555;
      line-height: 1.5;
      max-width: 90%;
  }

  .service-icon {
      width: 36px;
      height: 36px;
      margin-bottom: 8px;
      opacity: 0.9;
      color: var(--dark-blue);
  }

  .services-offered .orange-line{
    margin-bottom: 4rem;
  }

 /* image banner */
 .aiaas-banner {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: url('/images/services/aiaas-banner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: left;
  color: white;
  text-align: left;
 }

 .banner-content {
  position: relative;
  z-index: 2;
  margin-left: 10%;
  max-width: 800px;
 }

 .banner-content h5 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 30px;
 }

 .banner-content h2 {
  font-size: 3.5rem;
 }

 @media (max-width: 850px) {
  .aiaas {
    padding: 1rem 1rem;
  }
  .aiaas-text h2{
    font-size: 2rem;
    max-width: 800px;
  }
  .banner-content h5{
    font-size: 1rem;
  }
  .banner-content h2{
    font-size: 2rem;;
  }
 }

 /* ------------- Products Section -------------------*/
 .arc-image{
  width:100vw;
  height:100vh;
  object-fit: cover;
  object-position: left;
  display:block;
  margin-top:35px;
  overflow: hidden;
 }

 .product-hero-text {
  position: absolute;
  top: 50%;
  left: 23%;
  transform: translate(-50%,-50%);
  color: white;
  text-align: left;
 }
.product-hero-text h1 {
  font-size: 3rem;
} 
.product-hero-text h4 {
  font-size: 1rem;
  max-width: 400px;
}
.orange-line {
  margin-top: 10px;
  margin-bottom: 40px;
  width: 60px;
  height: 5px;
  background-color: var(--orange);
}

@media (max-width: 900px) {
  .product-hero-text {
    margin-left: 100px;
  }
}

@media (min-width: 1400px) {
  .product-hero-text h1 {
    font-size: 4rem;
  }
  .product-hero-text h4 {
    font-size: 1.5rem;
  }
  .product-hero-text {
    margin-left: -70px;
  }
}

/* arc features */
.arc-features {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  width: 100%;
  overflow: hidden;
}

.features-img {
  flex: 1 1 50%;
}

.features-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.features-content {
  flex: 1 1 50%;
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--header-color);
}

.features-content h1 {
  font-size: 2.2rem;
  margin-top: 50px;
  margin-bottom: 40px;
  }

.features-content .features-subtitle {
  font-size: 0.9rem;
  color: var(--dark-blue);
  margin-bottom: 80px;
  max-width: 500px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-title i {
  font-size: 1.8rem;
  margin-top: 4px;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
}
.feature-item h3 {
  font-size: 1.1rem;
  line-height: 1;
  margin: 0;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 500px;
  padding-left: 45px;

}

@media(min-width: 1200px) {
  .features-content h1{ 
    font-size: 3rem;
  }
  .feature-item h3 {
    font-size: 1.5rem
  }
  .features-content .features-subtitle {
    font-size: 1rem;
    max-width: 700px;
    margin-left: 10px;
  }
  .feature-title i {
    font-size: 2.3rem;
  }
}

/* our motivation for change */
.motivation {
  position: relative;
  background: url('/images/products/our-motivation.png') center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
}

.motivation-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
}

.motivation-overlay h2 {
  background-color: var(--light-blue);
  color: var(--dark-blue);
  font-size: 3rem;
  font-weight: 600;
  padding: 20px 25px;
  width: fit-content;
  margin-bottom: 50px;
}

.motivation-stats {
  position: relative;
  width: 100%;
  height: 100%;
}

.motivation-stat {
  position: absolute;
  background: var(--light-blue);
  color: var(--header-color);
  border-radius: 25px;
  padding: 30px 30px;
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: left;
  width: 350px;
  max-width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.motivation-stat strong {
  color: #0d4b73;
  font-weight: 700;
}

.motivation-stat a {
  display: block;
  font-size: 0.8rem;
  color: #1d5c85;
  text-decoration: none;
  margin-top: 15px;
}

.motivation-stat a:hover {
  text-decoration: underline;
}

/* Staggered layout positions */
.stat1 {
  top: 1%;
  right: 14%;
}

.stat2 {
  top: 10%;
  left: 15%;
}

.stat3 {
  bottom: 15%;
  right: 20%;
}

.stat4 {
  bottom: -5%;
  left: 10%;
}

@media (max-width: 1200px) {
  .motivation {
    min-height: 80vh;
    height: auto;
  }

  .motivation-overlay {
    padding: 40px 20px;
  }

  .motivation-overlay h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .motivation-stats {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .motivation-stat {
    position: relative;
    max-width: 800px;
    width: 100%;
    margin-bottom: 20px;
  }
  .stat1, .stat2, .stat3, .stat4 {
    top: auto; bottom: auto; left: auto; right: auto;
  }

}

@media (max-height: 750px) {
  .motivation {
    min-height: 80vh;
    height: auto;
  }

  .motivation-overlay {
    padding: 40px 20px;
  }

  .motivation-overlay h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .motivation-stats {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .motivation-stat {
    position: relative;
    max-width: 800px;
    width: 100%;
    margin-bottom: 20px;
  }
  .stat1, .stat2, .stat3, .stat4 {
    top: auto; bottom: auto; left: auto; right: auto;
  }
}

@media(min-width: 1400px) and (min-height:825px){
.motivation-overlay h2 {
    font-size: 3.7rem;
    margin-bottom: 30px;
  }
  .motivation-stat {
    font-size: 1.7rem;
    padding: 30px;
    min-width: 400px;
  }
  .stat4{
    bottom: 2%;
  }
  .stat3{
    left: 60%;
  }
}

/* arecibo arc */
.arc {
  padding: 80px 50px;
  text-align: center;
}

.arc-header {
  color: var(--dark-blue);
  font-size: 1rem;
  margin-bottom: 30px;
  margin-top: 30px;
}

.arc h1 {
  font-size: 2.2rem;
  color: var(--header-color);
}

.arc-description {
  color: var(--header-color);
  font-size: 1rem;
  padding: 10px 300px;
  margin-bottom: 70px;
}

.orange-line-center {
  margin: 15px auto 25px;
  width: 60px;
  height: 5px;
  background-color: var(--orange);
}

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

.arc h3 {
  margin-top: 15px;
}

.arc-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.arc-card img {
  width: 100%;
  object-fit: cover;
  transition: opacity 0.4 ease;
}

@media (min-width: 1200px) {
  .arc-description {
    padding: 0 300px;
  }
  .arc-header{
    font-size: 1.2rem;
  }
  .arc h1{
    font-size: 2.5rem;
  }
}

/* Overlay content */
.arc-overlay {
  position: absolute;
  inset: 0;
  background: #2a5a80;
  color: #fff;
  justify-content: center;
  align-items: center;
  opacity: 0;
  padding: 30px;
  transition: opacity 0.4s ease;
  text-align: center;
}

.arc-overlay p {
  font-size: 1.3rem;
  line-height: 2;
}

/* Hover effect: fade image out, overlay in */
.arc-card:hover img {
  opacity: 0;
}

.arc-card:hover .arc-overlay {
  opacity: 1;
}

.arc-card:hover .arc-overlay p {
  color: #fff;
}
