@font-face {
    font-family: "Roboto";
    src: url(fonts/Roboto-VariableFont_wdth\,wght.ttf) format('truetype');
}
@font-face {
    font-family: "RobotoItalics";
    src: url(fonts/Roboto-Italic-VariableFont_wdth\,wght.ttf) format('truetype');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

ul {
    list-style-type: none;    
}

h1 {
    font-size: 48px;
    font-weight: bolder;
    color: #F9FAF8;
    line-height: 4rem;
    letter-spacing: 0.2rem;

}

h2 {
    font-size: 36px;
    font-weight: bolder;
}

h3 {
    font-size: 24px;
}

li {
    text-decoration: none;

}

a {
    text-decoration: none;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0); /* at original position */
  }
  50% {
    transform: translateY(-10px); /* move up */
  }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) ;
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    width: 1280px;
    margin: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.blue-bg {
    background-color: #1F2937;
}

.header-logo {
    color: #F9FAF8;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: #1F2937;
    padding: 1rem 0;    
}

.nav-container {
    width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 18px;
    opacity: 1;
    transition: 0.3s;
    align-items: center;
}

nav a {
    color: #E5E7EB
}

nav a:hover {
    opacity: 0.75;
    transition: all 0.3s ease;
}

.minh {
    min-height: 100vh;
    padding-top: 50px;
}


.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 1.5sec;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    flex: 1;
    gap: 2rem;
}

.hero-subtext {
    font-size: 18px;
    color: #E5E7EB;
    line-height: 2rem;
    letter-spacing: 0.1rem;
}

.btn {
    padding: 10px 25px;
    background-color: rgba(56,130,246,1);
    border: none;
    border-radius: 5px;
    color: #F9FAF8;
    opacity:1;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #2c6cdf
}

.hero-right {
    display: flex;
    flex: 1;
    border-radius: 3px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 3rem;
}

.services-heading {
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 1rem;
}

.service-cards {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 7rem;
    
}

.service-card {
    width:200px;
    height:200px;
    box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.15);
    border-radius: 2rem;
    padding: 2rem;
    border-radius: 20px;
    background-color: #F5FAFE

}

.service-card:hover {
    box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.3),
    0 20px 50px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.service-image {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    padding-bottom: 1rem;
}

.service-subtext {
    text-align: center;
    padding-top: 2rem;
    color: black;
    
}

.quote-section {
    background-color: #E5E7EB;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.quote-text {
    font-size: 36px;
    font-weight: lighter;
    font-family: 'RobotoItalics';
    text-align: start;
    max-width: 1000px;
    margin: auto;
}

.cta {
    background-color: #3882F6;
    padding: 3rem 10rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1000px;
    margin: 3rem auto;
    border-radius: 0.5rem;
}

.cta-left {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.cta-btn {
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    
}

.cta-btn:hover {
    color:#3882F6;
    background-color: white;
}

.footer-text {
    color: white;
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-hero {
    padding-top: 5rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.text-white {
    color: #E5E7EB
}

.text-subtle {
    color:rgba(249, 250, 248, 0.6)
}

.about-cards {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    margin-top: 30px;
}

.about-card {
    background-color: white;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    width: 200px;
}

.blue-text {
    color:#3882F6
}

.about-values {
    margin-top: 5rem;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem
}

.values {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 5rem;
    padding-top: 20px;
}

.values-image {
    width: 100%;
    height: 150px;
    margin-bottom: 3rem;
}

.values-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin-top: 30px;
    width: 300px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.values-text {
    text-align: center;
    margin-top: 5px;
    line-height: 1.5rem;
}

.team-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.team-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-cards {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.team-image {
    object-fit: fill;
}

.team-card {
    padding: 1rem;
    background-color: rgb(255, 252, 252);
    border-radius: 9999px;
    width: 200px;
    height: 200px;
}

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

.cta-img {
    width: 400px;
    height: 100%;
    margin-left: 3rem;
}

.cta-left a {
    width: 200px;
    text-align: center;
}

.cta-img {
    width: 350px;
    height: 100%;
}

.services-right {
    display: flex;
    flex: 1;
    margin-left: 20px;
}

.services-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 1.5sec;
    padding-top: 150px
}

.scroll-btn-wrapper{
    margin: auto;
    width: 80px;
    height: 80px;
    animation: 
    bounce 2s ease-in-out infinite;
    margin-top: -60px
}

.scroll-btn {
    margin: auto;
    width: 100%;
    height: 100%;
    filter: invert();
}

.services-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom:3rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 1rem;
}

.services-info-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap:2rem;
    flex:1;
    width: 1/2;
}

.services-subtext {
    color:gray;
    width: 400px
}

.service-list-item {
    display: flex;
    gap:1rem;
    align-items: center;
}

.services-image {
    display: flex;
    flex:1
}

.services-wrapper-reverse {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom:3rem;
}

.contact-header {
    padding-top:100px;
    text-align: center;
}

.contact-subheader {
    text-align: center;
    color: rgb(191, 190, 190);
    font-family: "RobotoItalics", sans-serif;
    padding-top: 5px;
    padding-bottom: 10px
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  gap: 1rem;
  background-color: #ffffff;
  color: #1F2937;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1),
              0 16px 40px rgba(0, 0, 0, 0.08);
  font-family: 'Roboto', sans-serif;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #1F2937;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3882F6;
  box-shadow: 0 0 0 2px rgba(56, 130, 246, 0.3);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-btn {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: #3882F6;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-btn:hover {
  background-color: #2c6cdf;
}

.contact-page {
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 2sec;

}

/* Hide checkbox and burger by default */
#menu-toggle,
.burger {
  display: none;
}

/* --- Responsive Media Queries --- */

/* Tablet: 2 cards per row for services, scale down text/images/layout */
@media (max-width: 1024px) {
  .container,
  .nav-container {
    
    max-width: 95vw;
    width: 95vw;
    margin: 0 auto;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .navbar {
    padding: 0.7rem 0;
  }
  .nav-links{
   font-size: 18px;
  }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  .hero,
  .about-hero,
  .services-wrapper,
  .services-wrapper-reverse,
  .about-cards,
  .values,
  .team-cards,
  .contact-wrapper {
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
  }
  .hero-right,
  .services-right {
    margin-left: 0;
  }
  .hero-image,
  .service-image,
  .values-image,
  .team-image,
  .cta-img {
    max-width: 120px;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 0 auto 1rem auto;
    display: block;
  }
  .about-card,
  .values-card,
  .team-card {
    width: 90%;
    max-width: 260px;
    min-width: 0;
    margin: 1rem auto;
    padding: 1.2rem;
  }
  /* --- 2 cards per row for services --- */
  .service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9rem;
    margin-bottom: 2rem;
  }
  .service-card {
    flex: 1 1 40%;
    max-width: 45%;
    min-width: 220px;
    margin: 0.75rem 0;
    height: 180px;
    padding: 1.2rem;
  }
  .cta {
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 2rem 1rem;
    gap: 2rem;
  }
  .quote-text {
    font-size: 1.3rem;
    padding: 0 1rem;
    max-width: 100%;
  }
  .services-heading,
  .text-center,
  .service-subtext {
    text-align: center;
  }
  h2.services-heading {
    font-size: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
  }
  section {
    margin-bottom: 2rem;
  }
  .hero {
    
    gap: 1.5rem;
  }
  .hero container {
    padding-bottom: 7rem;
  }
  .hero-left {
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .hero-left h1{
    font-size: 2.8rem;
  }
  .hero-left p {
    font-size: 24px;
  }
  .hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-image {
    max-width: 760px;
    width: 80%;
    height: auto;
    border-radius: 2rem;
    margin: 0 auto;
    display: block;
  }
  h3.header-logo {
    font-size: 1.7rem;
  }
  .about-values{
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .scroll-btn-wrapper{
    margin-top: 0;
  }
  .contact-image {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 2rem;
  }
  .contact-image figure,
.contact-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  display: block;
}
}

/* Mobile: 1 card per row, further scale down text/images/layout */
@media (max-width: 768px) {

    .container.hero.minh{
        display: flex;
        flex-direction: column-reverse;
    }
    .hero-image{
        margin-top: 6rem;
        max-width: 560px;
    }
    .contact-form{
        width: 360px;
    }
  .team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 0;
  }
  .team-card {
    flex: 1 1 40%;
    max-width: 45%;
    min-width: 120px;
    margin: 0.5rem 2.5%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .team-card img{
    width: 95px;
  }
  figcaption.text-center{
    font-size: 0.8em;
  }
  figure.services-image img{
    width: 200px;
    height: 200px;
  }
  .hero-left h1{
    font-size: 2.5rem;
  }
  .nav-links{
    font-size: 16px;
  }
  .services-wrapper,
.services-wrapper-reverse {
  flex-direction: column !important;
  text-align: center;
  padding: 1rem;
}

.services-info-left {
  width: 100%;
  align-items: center;
  text-align: center;
}

.services-subtext {
  font-size: 0.95rem;
  width: 90%;
  margin: 0 auto;
  line-height: 1.5rem;
}

.services-image {
  display: flex;
  justify-content: center;
  width: 100%;
}

.services-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 1rem auto;
  display: block;
}
}

@media (max-width: 435px) {
  /* Navbar */
  .nav-container {
    flex-wrap: wrap;
    align-items: center;
    position: relative;
  }

/* Show only under 435px */
#menu-toggle {
  display: none;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.burger span {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
}


  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #1F2937;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 300px;
  }

  .nav-links a {
    padding: 0.75rem 0;
    display: block;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-logo {
    font-size: 0.9rem;
  }

  /* Hero Section */
  .container.hero.minh {
    flex-direction: column-reverse;
    padding: 2rem 1rem;
  }

  .hero.container {
  flex-direction: column-reverse;
  align-items: center;
  padding: 2rem 1rem;
  gap: 2rem;
}

.hero-left {
  align-items: center;
  text-align: center;
  margin-top: 1rem;
  gap: 1rem;
}

  .hero-left h1 {
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 0 1rem;
  }

  .hero-left p {
    font-size: 0.9rem;
    padding: 0 1rem;
    line-height: 1.4rem;
  }

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

  .hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
  }

  /* Services Section */
  .services-wrapper,
  .services-wrapper-reverse {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }

  .services-info-left {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .services-subtext {
    font-size: 0.9rem;
    width: 90%;
    margin: 0 auto;
    line-height: 1.5rem;
  }

  .services-image img {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .service-cards {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
  }

  .service-card {
    width: 90%;
    max-width: 320px;
    height: auto;
    padding: 1rem;
    font-size: 0.9rem;
  }

  .service-image {
    max-width: 60px;
    height: auto;
    margin-bottom: 0.5rem;
  }

  /* About Page */
 .about-cards {
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  margin-top: 2rem;
}

.about-card {
  width: 90%;
  max-width: 300px;
  padding: 1.2rem;
  text-align: center;
}

 .about-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.9rem;
  line-height: 1.4rem;
}

  .values {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }

  .values-card {
    width: 90%;
    margin: 0 auto;
    padding: 1rem;
  }

  .values-image {
    max-height: 120px;
    margin-bottom: 1rem;
  }

  /* Contact Page */
  .contact-wrapper {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

.contact-form {
  width: 90%;
  max-width: 320px;
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}


  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 0.7rem;
  }
  .contact-image {
  display: none !important;
}


  .form-btn {
    font-size: 1rem;
    padding: 0.7rem;
  }

  .contact-header h1 {
    font-size: 1.5rem;
  }

  .contact-subheader {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  /* Team Section */
/* Team Section Fixes for 435px */
.team-cards {
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}

.team-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.team-card {
  width: 100%;
  max-width: 200px;
  text-align: center;
}

.team-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

figcaption.text-center {
  font-size: 0.85rem;
  line-height: 1.2rem;
}
.values-card {
  width: 90%;
  max-width: 300px;
  padding: 1rem;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 0.75rem;
}

.values-card img,
.values-image {
  max-width: 80px;
  height: auto;
  margin: 0 auto 1rem;
}

.values-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.values-card p {
  font-size: 0.9rem;
  line-height: 1.4rem;
}


}
