html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  *,
  *::before,
  *::after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
  }
  
  
  
  /* Typography
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 300;
  }
  h1 { font-size: 2.0rem; line-height: 1.2; }
  h2 { font-size: 1.8rem; line-height: 1.25;}
  h3 { font-size: 1.6rem; line-height: 1.3;}
  h4 { font-size: 1.4rem; line-height: 1.35;}
  h5 { font-size: 1.2rem; line-height: 1.5;}
  h6 { font-size: 1.0rem; line-height: 1.6;}
  
  
  p {
    margin-top: 0;
  }
  
  
  /* Links
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  a {
    color: #1EAEDB;
  }
  a:hover {
    color: #0FA0CE;
  }
  
  img {
    width: 100%;
    height: auto;
  }
  
  section {
    margin: 4rem auto;
  }
  
  .centered-container {
    max-width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
    background-color: #000000fc;
    color:white
    }
  
  .medium-image {
      width: 650px;
      height: auto; /* This ensures the aspect ratio is maintained */
    display: block;
      margin-left: auto;
      margin-right: auto;
    max-width: 100%;
    }
  .small-image {
      width: 150px;
      height: auto; /* This ensures the aspect ratio is maintained */
    }
  
  button {
    background-color: #0000008a;
    border: none;
    border-radius: 3px;
    color: #fff;
    height: auto;
    padding: 8px 37px;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    transition: all 0.5s ease;
    cursor: pointer;
    font-size: 0.8rem;
    border-radius: 8px;
  }
  
  
  button:hover, button:focus {
    background-color: #fff;
    color: #000;
  }
  
  button.light {
    background-color: #fff;
    color: #000;
  }
  
  button.light:hover, button.light:focus {
    background-color: #000;
    color: #fff;
  }
  
  .margin-bottom {
    margin-bottom: 5rem;
  }
  
  .margin-bottom-small {
    margin-bottom: 1rem;
  }
  
  .padding-small {
    padding: 1rem;
  }
  
  hr {
    border: 0;
    border-top: 1px solid #eee;
  }
  
  .section-title {
    margin-bottom: 70px;
    text-transform: uppercase;
  }
  
  
  .flex {display: flex;}
  
  
  .navigation-bar {
    position: absolute;
    z-index: 999;
    width: 98%;
    height:15%
  }
  
  .navigation-bar .logo{
    max-width: 180px;
    display: inline-block;
    padding: 2rem;
  }
  
  .navigation-bar nav{
    display: inline-block;
    width: 100%;
  }
  
  
  .navigation-bar nav ul li{
    display: inline-block;
  }
  
  .navigation-bar nav a{
    color: #fff;
    text-decoration: none;
    margin-right: 1rem;
  }
  
  
  .hero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: #000;
    color: #fff;
    overflow: hidden;
  
  }
  
  .hero h1 {
    margin: 0;
    opacity: .9;
  }
  
  
  .hero-text {
      padding: 0px;
      text-align: center;
      width: 100%;
      font-size: 2rem; /* Increase the font size */
      font-weight: bold; /* Make the text bold */
  }
  
  
  .hero-text h1 {
      font-size: 2rem; /* Adjust as needed */
      font-weight: normal; /* Keep it normal weight for the heading */
      text-align: center; /* Center-align the text */
  }
  
  
  .hero-text p {
      font-size: 1rem; /* Adjust the font size if needed */
      font-weight: normal; /* Keep it normal weight for the paragraph */
      text-align: center; /* Center-align the text */
      color: #fffdfd; /* Ensure text is dark for contrast */
      margin-top: 0px; /* Adjust margin for spacing if needed */
  
  }
  
  
  .highlight {
    font-style: italic;
  }
  
  .author {
    font-size: 0.8rem;
  }
  
  .team .team-name {
    text-align: center;
  }
  
  .team .team-name .position{
    opacity: .7;
  }
  
  .team .team-icon {
    max-width: 16px;
  }
  
  
  /* Hover */
  .hover-outer-box {
    position: relative;
    display: flex;
    align-content: stretch;
    align-items: stretch;
    border-radius: 15px; /* Adjust the value for the desired roundness */
      overflow: hidden; /* Ensures the rounded corners apply to the content inside */
    height: 100%;
    width: 100%;
  }
  
  .hover-outer-box .hover-inner-box {
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    opacity: 0;
    top: 0;
    left: 0;
    position: absolute;
    padding: 0;
    transition: opacity .5s;
    color: #fff;
    display: flex;
    align-items: center;
  }
  
  .hover-outer-box:hover .hover-inner-box {
    opacity: .9;
    transition: opacity .5s;
  }
  
  .hover-outer-box .hover-inner-box .hover-content{
    text-align: center;
    width: 100%;
    padding: 1rem;
  }
  
  
  /* Serivces */
  .services .icon-row {
    padding: 30px 0;
  }
  
  .services .icon {
    max-width: 64px;
  }
  
  

  /* cta */
  .cta {
    background-color: #000; /* Use shorthand black if you prefer */
    padding: 40px 0; /* Standard padding */
    color: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  .cta .display {
    margin-top: -100px;
  }

  .cta .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .cta .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }


  
  .photo-promo {
    background-color: black;
    color: white;
    padding: 3rem 1rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
  }
  
  .promo-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .promo-image img {
    max-width: 64px; /* smaller image */
    height: auto;
    border-radius: 12px;
  }
  
  .promo-text h2,
  .promo-text p {
    margin-bottom: 1rem;
  }
  
  .promo-text a button {
    margin-top: 1rem;
  }
  
  
  /* Mobile & tablet */
  @media (max-width: 768px) {
    .promo-container {
      flex-direction: column;
      text-align: center;
    }
  
    .promo-text {
      text-align: center;
    }
  
    .promo-image img {
      max-width: 100px;
    }
  }
  
  
  /* blurbs */
  .blurbs .icon {
    max-width: 64px;
  }
  
  .blurbs h3 {
    margin-bottom: 1rem;
  }
  
  
  /* newsletter */
  .newsletter{
    background-color: #eee;
    padding: 60px 0;
  }
  
  .newsletter h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  .newsletter form{
    align-content: center;
  }
  
  .newsletter input {
    width: 150px;
    margin-right: 1rem;
    background-color: #fff;
  }
  
  
  /* contact */
  .contact .col-md {
    padding: 1rem;
  }
  
  /* forms */
  input, textarea {
    background-color: #eee;
    width: 100%;
    padding: 1rem;
    border: 0;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
    appearance: button;
    appearance: button;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    transition-property:background;
    transition-duration: 0.5s;
    transition-timing-function: ease;
  
  }
  
  [type="button"]:hover, [type="reset"]:hover, [type="submit"]:hover {
    -webkit-appearance: button;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    background-color: #fff;
    color: #000;
  }
  
  /* footer */
  footer {
      background-color: white;
      padding: 40px 0 10px 0; /* Reduce bottom padding */
      width: 100%;
  }
  
  .secondary-footer {
      background-color: white;
      padding: 10px 0; /* Minimize padding */
      width: 100%;
      margin-bottom: 0; /* Remove any extra margin */
  }
  
  footer p,
  footer a,
  .secondary-footer p {
      color: black !important;
      margin-bottom: 0; /* Remove extra bottom margin */
  }
  
  
  /* animation  */
  @-webkit-keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
    /* Experience Section  */
  .experience-section {
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      gap: 25px; /* Adds space between sections */
  }
  
  .experience-card {
      flex: 1;
      padding: 20px;
      background: #f9f9f9;
      border-radius: 10px;
      text-align: left;
  }

  .experience-card h3,
.about-me-experience-card h3 {
  margin-bottom: 1rem; /* or try 1.2rem if you want slightly more breathing room */
}
    /* Certificate Section  */
  .certificate-container .hover-outer-box {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40%; /* Keep size smaller on desktop */
      margin: 20px auto; /* Center horizontally */
      border-radius: 10px;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease-in-out;
      overflow: hidden;
  }
  
  .certificate-container .hover-outer-box:hover {
      transform: scale(1.02);
  }
  
  .certificate-container .medium-image {
      width: 100%; /* Scale down the image inside the container */
      height: auto;
      border-radius: 10px;
  }
  
  .certificate-container .hover-inner-box {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
      border-radius: 10px;
  }
  
  .certificate-container .hover-outer-box:hover .hover-inner-box {
      opacity: 1;
  }
  
  .certificate-container .hover-content {
      text-align: center;
      padding: 10px;
  }
  
  .certificate-container .verify-button {
      background-color: #000000;
      color: rgb(255, 255, 255);
      border: none;
      padding: 10px 15px;
      font-size: 14px;
      cursor: pointer;
      border-radius: 5px;
      transition: background 0.3s ease-in-out;
  }
  
  .certificate-container .verify-button:hover {
      background-color: #ffffff;
      color: rgb(0, 0, 0);
  }
  
  .certificate-container .highlight {
      font-weight: bold;
      font-size: 14px;
      margin-top: 10px;
  }
  
    /* About Me  */
  .about-me-section {
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      gap: 25px; /* Space between cards */
      flex-wrap: wrap; /* Allows wrapping on smaller screens */
  }
  
  /* Default (Desktop) Layout */
  .about-me-experience-card {
      flex: 1;
      min-width: 10%; /* Ensures three columns layout */
      padding: 20px;
      background: #f9f9f9;
      border-radius: 10px;
      text-align: left;
  }
  
  .about-me-experience-card .icon {
    width: var(--icon-size); /* Use same icon size variable */
    height: var(--icon-size); /* Use same icon size variable */
    border-radius: 50%; /* Rounded shape */
    margin-bottom: var(--spacing-small); /* Consistent margin */
    object-fit: cover; /* Ensures the image is centered without distortion */
}
  
  
  .fade-in {
    -webkit-animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    
  }
  
  /* Common Variables for Spacing */
  :root {
      --spacing-small: 1rem;
      --spacing-medium: 2rem;
      --spacing-large: 3rem;
      --font-family: Arial, sans-serif;
      --font-size-heading: 2rem;
      --font-size-subheading: 1.5rem;
      --font-size-paragraph: 1rem;
      --divider-color: #ccc;
      --icon-size: 40px;
  }
  
  /* Testimonials Section */
  .testimonial-section {
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      gap: 25px; /* Keeps spacing between testimonial cards */
      flex-wrap: wrap;
  }
  

  
  body {
    overflow-x: hidden;
    font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em; /* em used to avoid Chrome rem bug */
    line-height: 1.6;
    font-weight: 400;
    color: #222;
  }
  
  /* Reusable Classes */
  .padding-small {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hover-outer-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .sketchfab-embed {
    max-width: 1000px;
    width: 100%;
    height: 500px;
    display: block;
    margin: 0 auto;
  }
  
  #Projects h1.hero-text {
    margin-bottom: 1rem;
  }
  
  #Projects p {
    margin-top: 0;
  }
  
  
/* ========== MEDIA QUERIES ========== */

/* ---------- MAX-WIDTH: 1450px ---------- */
@media (max-width: 1450px) {
  .hover-content {
    font-size: 9.5px;
  }
}

/* ---------- MAX-WIDTH: 1280px (iPad LANDSCAPE & PORTRAIT) ---------- */
@media (max-width: 1280px) {
  .navigation-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .navigation-bar .logo {
    display: block;
    margin: 0 auto;
    padding: 2rem;
  }

  .navigation-bar nav {
    display: none !important;
  }

  .row {
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cta .display {
    margin-top: 1rem;
  }
}

/* ---------- PHONES + iPad PORTRAIT (up to 834px) ---------- */
@media (max-width: 834px) {
  body {
    font-size: 1rem;
    font-family: "Raleway", sans-serif !important;
  }

  .hero-text {
    font-size: 1.6rem;
    text-align: center;
    padding: 0 1rem;
  }

  .row.margin-bottom-small {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }

  .row > .col-md {
    margin-bottom: 0;
  }

  .row > .col-md:last-child {
    margin-bottom: 0;
  }

  @media (max-width: 834px) {
    .team .col-md {
      margin-bottom: 20px;
    }
  
    .team .col-md:last-child {
      margin-bottom: 0;
    }
  }

  .hover-content {
    font-size: 11px;
    padding: 12px;
  }

  .hover-outer-box {
    width: 100%;
    margin-bottom: 20px;
  }
}
  @media (max-width: 834px) {
    .team .hover-outer-box {
      width: 100%;
      aspect-ratio: 3 / 2; /* forces same shape on all photos */
      overflow: hidden;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .team .hover-outer-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 12px;
    }

  .experience-section,
  .about-me-section,
  .testimonial-section {
    flex-direction: column;
    align-items: stretch;
  }

  .experience-card,
  .testimonial-card,
  .about-me-experience-card {
    width: 100%;
    min-width: 100%;
  }

  .vertical-line,
  .about-me-vertical-line,
  .testimonial-vertical-line {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .certificate-container .hover-outer-box {
    width: 90%;
  }

  .certificate-container .verify-button {
    font-size: 14px;
    padding: 8px 12px;
  }

  .certificate-container .highlight {
    font-size: 12px;
  }

  .certificate-container .hover-content {
    padding: 15px;
  }

  .certificate-container .medium-image {
    border-radius: 10px;
  }

  .testimonial-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .testimonial-section .about-me-experience-card {
    margin-bottom: 0;
  }

  .testimonial-section .about-me-experience-card:last-child,
  .testimonial-section .about-me-experience-card:last-of-type {
    margin-bottom: 0;
  }

  .sketchfab-embed {
    width: 90%;
    height: 230px;
  }

  .team .col-xs-12:first-child,
  .team .col-xs-12:last-child {
    left: 0 !important;
    position: static !important;
  }
}

@media (max-width: 834px) {
  .padding-small .row.margin-bottom-small:not(:last-child) {
    margin-bottom: 0;
  }

  .padding-small .row.margin-bottom-small + .row.margin-bottom-small {
    margin-top: 20px;
  }
}

@media (max-width: 834px) {
  .services .icon-row .col-xs {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .services .icon-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}



/* ---------- iPad LANDSCAPE (835px–1024px) ---------- */
@media (min-width: 835px) and (max-width: 1024px) and (orientation: landscape) {
  body {
    font-size: 1.1rem;
    font-family: "Raleway", sans-serif !important;
  }

  .hero-text {
    font-size: 2rem;
    text-align: center;
    margin: 0 auto;
  }

  .row.margin-bottom-small {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .row.margin-bottom-small:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .hover-outer-box {
    margin-bottom: 20px;
  }

  .hover-content {
    font-size: 12px;
    padding: 16px;
  }

  .medium-image {
    width: 90%;
  }


  .team .col-md {
    position: static !important;
  }

  .sketchfab-embed {
    width: 100%;
    height: 350px;
  }
}


/* ---------- MID-RANGE TABLET TWEAKS (768px–1024px) ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
  .photo-nudge-left {
    position: relative;
    left: -10px;
  }

  .photo-nudge-right {
    position: relative;
    left: 10px;
  }
}

@media (max-width: 834px) and (orientation: portrait) {
  .sketchfab-embed {
    width: 75% !important;
    height: 300px !important;
    border-radius: 20px;
  }
}


