html {
  scroll-behavior: smooth;
}

.welcome-content {
  display: flex;
  justify-content: center;
  /* Center child containers horizontally */
  /* Align items to the top */
  padding: 85px 10px 62px;
  width: 105%;
  gap: 40px;
  /* Adjust as needed */
}

.welcome-text {
  flex-grow: 2;
  /* Allow the text to take up more space */
  margin-top: 50px;
  /* Adjust as needed for spacing */
  margin-left: -20px;

}

.welcome-text h1 {
  font-size: 55px;
  letter-spacing: 2px;
}

.welcome-text h1 .bold-text {
  font-weight: 700;
}

.welcome-text p {
  font-size: 20px;
  /* Adjust this to control paragraph font size */
  letter-spacing: 1px;
  margin-bottom: 24px;

}


.welcome-links {
  display: flex;
  justify-content: flex-start;
  /* Align buttons to the left */
  align-items: flex-start;
  gap: 10px;
  /* Adjust as necessary */
}

.welcome-links .btn-primary,
.welcome-links .hero-pricing-btn {
  white-space: nowrap;
}

.welcome-links .btn {
  /* Remove any existing right margin */
}

.welcome-links .blueprint-link {
  display: flex;
  align-items: left;
}




.btn-primary {
  background-color: #004C80 !important;
  /* Keep existing button styles */
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  /* Optional: Rounded corners */

  /* New CSS to increase button size */
  font-size: 18px;
  /* Increase the font size */
  font-weight: 700;
  padding: 12px 30px;
  /* Increase padding for a larger button */
  width: auto;
  /* Adjust width if needed */
  height: auto;
  /* Adjust height if needed */

}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #003d66 !important;
  /* Optional: Darken on hover, focus, and active states for better UX */
  border-color: #003d66 !important;
  color: white;
  text-decoration: none;
}

.hero-pricing-btn {
  background-color: #ffffff;
  color: #004C80;
  border: 1px solid #d3dbe3;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 30px;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-pricing-btn:hover {
  background-color: #f5f8fb;
  text-decoration: none;
  color: #004C80;
  border-color: #b9c5d1;
}

/* Trust line under the hero buttons */
.welcome-text .welcome-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  letter-spacing: normal;
  color: #6b6b6b;
  margin-top: 16px;
  margin-bottom: 0;
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffc400;
  color: #1a1a1a;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.welcome-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Align graphic to the top so it lines up with the heading, not centred low */
  width: 100%;
  /* Ensure container uses full width of its parent */
  overflow: visible;
  /* Allow pill badges to overhang the cards without being clipped */
}

#welcome_graphic {
  display: flex;
  justify-content: center;
}

.welcome-image {
  max-width: 100%;
  width: 90%;
  /* The image should not exceed its container's width */
  height: auto;
  /* Maintain the height aspect ratio */
  margin-left: 50px;

}

/* Media query for responsiveness */
/* Existing Mobile View Adjustments */
@media (max-width: 768px) {
  .welcome-content {

    /* padding-top: 10px; /* Reduce top padding to minimize white space */
    */ display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 15px;
  }


  .welcome-text {
    text-align: center;
    /* Center the text content */
    margin-left: 0;
    /* Remove left margin */
    margin-right: 0;
    /* Remove right margin */
    width: 100%;
    /* Ensure it takes up full width */
    max-width: 100%;
    /* Ensure it does not exceed full width */
    padding: 0 10px;
    /* Reduce padding on the sides */
    margin-top: 10px;
    /* Reduce margin above text */
    margin-bottom: 10px;
    /* Reduce margin below text */
    order: 1;
    /* Ensure text is below the image */
  }

  .welcome-text h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .welcome-text p {
    font-size: 17px;
    /* Adjust paragraph font size */
    margin-bottom: 15px;
    /* Adjust spacing below paragraph */
  }

  .welcome-links {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 30px;
  }

  .welcome-trust {
    justify-content: center;
    margin-bottom: 20px;
  }

  .welcome-links a,
  .welcome-links .btn,
  .welcome-links .btn-primary,
  .welcome-links .hero-pricing-btn {
    width: 300px !important;
    max-width: 300px !important;
    text-align: center !important;
    padding: 12px 30px !important;
    font-size: 18px;
    border-radius: 5px;
    box-sizing: border-box;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .btn-primary {
    background-color: #004C80 !important;
    color: white;
    text-decoration: none;
    margin-bottom: 0;
  }

  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary:active {
    background-color: #003d66 !important;
    /* Darken on hover, focus, and active states for better UX */
    border-color: #003d66 !important;
  }


  #welcome_graphic {
    margin-top: 20px;
    ;
    width: 105%;
    /* Ensure container takes full width */
    justify-content: center;
    padding: 0;
    /* Remove any padding */
    /* Remove any margin */
    margin-left: 3px;

  }

  .welcome-image {
    max-width: 100%;
    width: 100%;
    /* Adjust this value to make the image larger */
    height: auto;
    /* Remove any margins */
    margin: 0px !important;
  }

}

/*servi welcome page  */


/* General styling for the services wrapper */


/* Container for the services content */
.services-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

/* Styling for the section header */
.services h4 {
  font-size: 18px;
  text-align: left;
}

#our-services-header {
  font-size: 18px;
  color: #a8a8a8;
  font-weight: 300;
  letter-spacing: 0.1rem;
  text-align: center !important;
}

.services h2 {
  font-size: 30px;
  color: #000;
  margin-bottom: 10px;
  text-align: center;
}

.services p.description {
  font-size: 16px;
  color: #000;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Service cards container */
.service-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Individual service card styling */
.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
  flex: 1 1 calc(33% - 20px);
  max-width: calc(33% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}



/* Flexbox layout for image and text within the card */
.service-card-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

/* Service card image styling */
.services-container .service-card .service-card-content img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 5% !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Text container */
.service-card-content div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title styling */
.service-card h4 {
  font-size: 24px;
  color: #000000;
  margin: 0 0 5px 0;
  font-weight: 700;
  line-height: 1.2;
  max-width: 140px;
}

/* Subtitle styling */
.service-card p {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Service card paragraph styling */
.service-card p {
  font-size: 14px;
  color: #000;
  flex-grow: 1;
}

/* "View more" link styling */
.service-card a {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: #004C80;
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {

  /* Stack service cards vertically */
  .service-cards {
    flex-direction: column;
    align-items: center;
    gap: 5px;

    .services p.description {
      margin-bottom: 10px !important;

    }
  }




  /* Adjust service card width */
  .service-card {
    max-width: 100%;
  }

  /* Stack image and text within the card */
  .service-card-content {
    flex-direction: row;
    /* Keep image and text side by side */
    align-items: center;
    text-align: left;
    /* Align text to the left */
  }

  /* Adjust image size and alignment */
  .service-card img {
    width: 70px;
    height: auto;
    margin-right: 10px;
  }

  /* Center align the service card text */
  .service-card h3,
  .service-card h4,
  .service-card p,
  .service-card a {
    text-align: left;
  }

  /* Adjust padding and margin for mobile */
  .services-wrapper {
    padding-bottom: 5px;
  }

  .services h2,
  .services p.description {
    padding: 0 10px;
  }

  .services-wrapper::after {
    height: 0px;
    /* Reduce the height on mobile to prevent text from being cut off */
  }
}








.card-one {
  background: url("../images/relocation_back.png") no-repeat center center !important;
  ;
  background-size: cover;
}

.card-two {
  background: url("../images/visa_back.png") no-repeat center center !important;
  ;
  background-size: cover;
}

.card-three {
  background: url("../images/admin_back.png") no-repeat center center !important;
  ;
  background-size: cover;
}
















.who-we-are {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 80px;
  padding-bottom: 40px;
  gap: 85px;
}

.services-form-container h4 {
  color: #a8a8a8;
  font-size: 18px;
  font-weight: Light;
  letter-spacing: .1rem;
}

.who-we-are-text {
  max-width: 40%;
  text-align: left;

  /* margin-right: 20px; */

}

.who-we-are-text h2 {
  font-size: 30px;
  color: #000000;
  margin-bottom: 10px;
  margin-top: 20px;
}

.who-we-are-text h4 {
  color: #a8a8a8;
  font-size: 18px;
  font-weight: Light;
  letter-spacing: .1rem;
}

#contact-us-header {
  color: #a8a8a8;
  font-size: 18px;
  font-weight: Light;
  margin-bottom: 0px !important;
  letter-spacing: .1rem;
}


#blueprint-header {
  color: #a8a8a8 !important;
  font-size: 18px;
  font-weight: Light;
  margin-bottom: 0px !important;
  letter-spacing: .1rem;
}


.who-we-are-text h1 span {
  color: #004C80;
  /* Blue color for part of the text */
}

.who-we-are-text p {
  font-size: 16px;
  color: #000;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
}

.who-we-are-form {
  max-width: 40%;
  /* background-color: #f0f8ff; Light blue background color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.who-we-are-form h4 {
  font-size: 20px;
  color: #000;
  margin-bottom: 20px;
}

.who-we-are-form input,
.who-we-are-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.who-we-are-form button {
  width: 100%;
  padding: 15px;
  background-color: #004C80;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.who-we-are-form button:hover {
  background-color: #003d66;
}

.get-started-section {
  padding: 20px 0;
}

.get-started-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.get-started-image {
  flex: 1;
  text-align: center;
}

.get-started-image img {
  max-width: 100%;
  height: 400px;
  border-radius: 10px;
  padding: 20px;
}

.get-started-text {
  flex: 1;
  max-width: 500px;

}

/* .get-started-text h4{
  color: #a8a8a8;
  font-size: 18px;
  font-weight: Light;
} */



.get-started-text h1, .get-started-text h2 {
  font-size: 30px;
  color: #000;
  margin-bottom: 20px;

}

#blueprint-header {
  color: #a8a8a8;
  size: 18px !important;
  letter-spacing: 0.1rem;
  font-weight: Light;
}


.get-started-text p {
  font-size: 16px;
  color: #000;
  margin-bottom: 20px;
}

#get-started-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

#get-started-form input[type="email"] {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#get-started-form button {
  padding: 10px 20px;
  background-color: #004C80;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#get-started-form button:hover {
  background-color: #003d66;
}

.container.get-started-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.blueprint-wrapper {
  position: relative;
  width: 100vw;
  /* background-color: #FEE6E6; /* Light pink background color like before */
  margin-left: calc(-50vw + 50%);
  */ margin-right: calc(-50vw + 50%);
  padding: 30px 0;
  border-radius: 30px 30px 30px 30px;
  box-sizing: border-box;
  overflow: hidden;
}



.blueprint-wrapper-visa {
  position: relative;
  width: 100vw;
  /* background-color: #faf5ff; /* Light pink background color like before */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 30px 0;
  border-radius: 30px 30px 30px 30px;
  box-sizing: border-box;
  overflow: hidden;
}

/*  */



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

  /* Who We Are Section */
  .who-we-are {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    margin-top: 20px;
    gap: 50px;
  }



  .blueprint-wrapper-visa {
    position: relative;
    width: 100%;
    padding-top: 0px !important;
    margin-left: 0px !important;

  }

  .divider {
    display: none;
  }

  .who-we-are-text {
    max-width: 100%;
  }

  .who-we-are-text p {

    text-align: justify;
    text-justify: inter-word;

  }

  a#who-we-are-view-more {
    text-align: left !important;
    text-justify: left !important;
  }

  .services-form-container {
    max-width: 100%;
    width: 100%;
    /* parent .who-we-are is a centered flex column, so without an explicit
       width the container shrinks to the form's content width */
    align-self: stretch;
  }

  .services-form {
    width: 100%;
    align-items: center;
    padding: 0;
  }

  /* Get Started Section */
  .get-started-content {
    flex-direction: column;
    align-items: center;
    padding-bottom: 0px !important;
    gap: 20px !important;
  }

  .get-started-section {
    padding-bottom: 0px !important;
  }


  .get-started-text {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;

  }

  .get-started-image {
    width: 100%;
    text-align: center;
  }

  .get-started-image img {
    max-width: 100%;
    height: auto;
  }

  #get-started-form {
    display: flex;
    flex-direction: column;
    /* Stack the items vertically */
    align-items: center;
    /* Center the items */
    gap: 10px;
    /* Adjust the gap as needed */
  }

  #get-started-form input[type="email"] {
    width: 100%;
    /* Full width for the input */
    margin-bottom: 10px;
    /* Space below the input */
  }

  #get-started-form button {
    width: auto;
    /* Auto width for the button */
  }

  #blueprint-title {
    color: ##004C80 !important;
    font-size: 18px;
  }

  /* Blueprint Section */
  .blueprint-master-plan .cards {
    flex-direction: column;
    align-items: center;
  }




  .blueprint-master-plan .card {
    max-width: 100%;
    margin-bottom: 20px;
    border: none;
  }

  .blueprint-master-plan .card img {
    width: 100%;
    height: auto;
  }

  .blueprint-master-plan .card h3,
  .blueprint-master-plan .card p {
    text-align: center;
  }
}


#blueprint-subtext {
  color: black !important;
}

@media (max-width: 768px) {
  .blueprint-wrapper {
    padding-top: 0px !important;
    padding-bottom: 0px;
  }

  .blueprint-master-plan .card {
    margin-bottom: 0px !important;
  }

  .card p {
    margin-bottom: 0px !important;
  }

  .card {
    max-width: 100%;
    height: auto;
    margin-left: 20px;
    /* Add margin to the left */
    margin-right: 20px;
    /* Add margin to the right */
    margin-top: 0px !important;
  }

  .get-started-text h4 {
    color: #a8a8a8;
    size: 18px;
    letter-spacing: 0.1rem;
    font-weight: Light;

  }

  .get-started-text h1, .get-started-text h2 {
    font-size: 30px;
  }


}



#who-we-are-wrapper {
  scroll-margin-top: 100px;
  /* Adjust this value to your header height */
}



.divider {
  border: none;
  /* Remove default border */
  border-top: 1px solid #d3d3d3;
  /* Light grey color */
  width: 60%;
  /* Full width */
  margin: 20px auto;
  /* Optional: Add spacing above and below */
}



/* ========== OUR SERVICES SECTION ========== */

.services-section {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  /* top spacing from welcome section */
  padding: 0 20px;
  /* side padding */
  text-align: center;
}

.services-header h4 {
  color: #a8a8a8;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1rem;
  margin: 0;
}

.services-header h2 {
  font-size: 32px;
  color: #000;
  margin: 10px 0;
  font-weight: 700;
}

.services-intro {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 30px auto;
  /* center, plus spacing below */
  color: #555;
}

/* The 3 horizontal cards */
.services-cards-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  /* space between cards */
  flex-wrap: wrap;
  /* allow wrapping on smaller screens */
}

.service-card {
  flex: 1 1 30%;
  /* 3 cards in a row, roughly 30% each */
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin: 10px 0;
  /* small vertical margin if it wraps */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: left;
  /* left-align text within each card */
}


.service-icon {
  margin-bottom: 10px;
}

.service-card h3 {
  margin-top: 0;
  font-size: 20px;
  color: #000;
  margin-bottom: 10px;
  font-weight: 700;
}

.service-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* Responsive for smaller screens */
@media (max-width: 992px) {
  .services-cards-row {
    justify-content: center;
    /* center them if they stack */
  }

  .service-card {
    flex: 1 1 45%;
    margin-bottom: 20px;
  }
}


@media (max-width: 768px) {
  .move-spain-section {
    flex-direction: column;
    gap: 10px;
    margin: 30px auto;
    padding: 0 15px;
  }


  .left-content,
  .right-content {
    flex: 1;
    max-width: 100%;
    padding: 0;
  }

  .move-to-spain-card {
    margin: 0;
    padding: 15px;
  }

  .move-list li {
    margin-bottom: 10px;
  }

  .move-list li img {
    width: 18px;
    height: 18px;
    margin-top: 5px;
  }

  .move-list li div {
    font-size: 14px;
  }

  .left-content h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .left-content p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .left-content ul {
    margin-left: 15px;
  }

  .left-content li {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .move-to-spain-card h2 {
    font-size: 22px;
  }
}




/* ========== LEFT COLUMN (50%) ========== */
.left-content {
  flex: 0 0 45%;
  max-width: 40%;
  padding-right: 40px;
  /* No card-like styling, just normal text on white background */
}

@media (max-width: 768px) {
  .left-content {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
  }

  .left-content p,
  .left-content li {
    max-width: 100%;
    text-align: left;
  }
}

.visa-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.visa-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.visa-header .visa-icon {
  width: 60px;
  height: 60px;
  border-radius: 5%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.left-content p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #333;
}

.left-content a {
  color: #004C80;
  text-decoration: underline;
}

/* Bullets on the left side */
.left-content ul {
  margin-left: 15px;
  margin-bottom: 0;
}

.left-content li {
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ========== RIGHT COLUMN (65%) ========== */
/* .right-content {
  flex: 0 0 50%;
  position: relative; /* so we can absolutely position the BG shape */
/* } */

/* The background shape behind the white card */
/* The shape behind the card */
.yellow-background {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 100%;
  height: 120%;
  z-index: 0;
  background: url('../images/new_back_yellow.png') no-repeat;
  background-size: cover;
  background-position: right top;
  border-radius: 10px;
}

.right-content {
  position: relative;
  flex: 0 0 50%;
  padding: 40px;
  overflow: hidden;
}

/* The card on top */
.move-to-spain-card {
  position: relative;
  z-index: 1;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
}



/* /* Make sure the shape fills that area or auto-sizes well */

.move-to-spain-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 0;
}

.move-to-spain-card hr {
  margin: 10px 0 15px 0;
  border: none;
  border-top: 1px solid #707070;
  width: 100%;
  display: block;
}

/* The bullet list on the right side */
.move-list {
  margin-left: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 10px;
}

.move-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.move-list li img {
  margin-right: 10px;
  width: 20px;
  /* placeholder icon size */
  height: 20px;
  margin-top: 10px;
}

/* A bit of spacing for each bullet's text block */
.move-list li div {
  line-height: 1.4;
}

/* Links in bullet items`
.move-list a {
  color: #004C80;
  text-decoration: underline;
}

/*/
* "SeePricing" button */ .move-to-spain-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

}


@media (max-width: 768px) {
  .yellow-background {
    top: -20px;
    right: -20px;
    width: calc(100% + 40px);
    marginleft: -20px;
    height: 110%;
  }

  #visa-price {
    display: grid;
    place-items: center;
    width: 100%;
    margin-top: 20px;
  }
}

/* 
#visa-price {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 5px;
  padding: 10px 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
 */
.move-list {
  width: 100%;
  text-align: left;
}

/* .see-pricing-btn {
  display: block;
  background-color: #004C80;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
}
 */



.see-pricing-btn:hover {
  background-color: #003d66;
}

/* ========== RESPONSIVE (STACK) ========== */
@media (max-width: 992px) {
  .move-spain-section {
    flex-direction: column;
  }

  .left-content,
  .right-content {
    flex: 1 1 100%;
    margin-bottom: 5px;
    padding: 10px;
  }

  .yellow-background {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-position: center;
  }

  .move-to-spain-card {
    margin-left: 0;
    max-width: 100%;
  }
}




/* ==============================
   PRICING SECTION
   ============================== */

/* ==============================
   PRICING SECTION
   ============================== */

/* Make #pricing-section hold the full-width background, 
   so it expands with the content's height */
#pricing-section {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 60px 0 80px;
  background: url("../images/background_blue.png") no-repeat center center !important;
  background-size: cover !important;
  box-sizing: border-box;
  position: relative;
}

/* The main container that centers the content */
.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Pricing title at the top */
.pricing-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* =========================
   TABS / TOGGLE 
   ========================= */
.pricing-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  background: white;
  padding: 5px;
  border-radius: 12px;
  width: fit-content;
  margin: 0 auto 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .pricing-tabs {
    flex-direction: column;
    width: 90%;
    max-width: 300px;
  }
}

.tab-btn {
  border: none;
  outline: none;
  background: transparent;
  color: #666;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn:focus {
  outline: none;
}

.tab-btn:last-child {
  margin-right: 0;
}

.tab-btn.active {
  background-color: #004C80;
  color: white;
}

.tab-btn:hover:not(.active) {
  background-color: rgba(0, 0, 0, 0.05);
}

/* =========================
   SHARED CONTENT STYLES
   ========================= */
.pricing-content {
  animation: fadeIn 0.3s ease;
  /* optional fade effect */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Subheadings like "Visas" or "Citizenship & EU residency" */
.subheading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  padding-left: calc((100% - 1080px) / 2 + 20px);
  margin-left: 0;
}

/* Notes, like the "Moving with family members?" line */
.family-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
  text-align: left;
  padding-left: calc((100% - 1080px) / 2 + 20px);
  width: 100%;
}

/* =========================
   CARDS LAYOUT
   ========================= */

/* Center the cards in each row */
.visa-cards-row,
.citizenship-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

/* Admin cards: 2x2 layout centered */
.admin-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Base styling for all pricing cards */
.pricing-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
  flex: 1 1 280px;
  /* minimum size, can grow */
  max-width: 340px;
  position: relative;
}

/* .pricing-card .price {
  text-align: center;
  margin: 10px 0;
  text-align: center;
  margin: 10px 0;/* optional spacing */
}

*/

/* Price text */
.price {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #333;
}

.pricep span {
  font-weight: 400;
  font-size: 16px;
  color: #666;
}

/* "Learn about the NLV" link style */
.learn-link {
  display: inline-block;
  margin-bottom: 5px;
}

/* Simple horizontal line inside a card */
.pricing-card hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 15px 0;
}

.pricing-card h4 {
  margin-bottom: 0px !important;
}

/* Checkmark list styling */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  color: #333;
  padding-top: 2px;
}

.checklist li img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  margin-top: 3px;
  display: inline-block;
  vertical-align: top;
}

.checklist.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

/* "… and more!" or similar */
.ellipsis {
  font-style: italic;
  margin-left: 26px;
  /* optional alignment with icons */
}

/* CTA Button (e.g., "Let’s go!" or "Get Started") */
.cta-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #004C80;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px;
  font-size: 16px;
  margin-top: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cta-btn:hover {
  background-color: #003d66;
}

/* Optional variant for a full-width button */
.cta-btn.full-width {
  width: 100%;
}

/* ============ CITIZENSHIP CARDS (side by side) ============ */
.citizenship-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
  flex: 1 1 280px;
  max-width: 340px;
}

/* For equal-sized citizenship cards */
.citizenship-card.narrow {
  flex: 1 1 280px;
  max-width: 340px;
}

.citizenship-card.narrow h4 {
  margin-bottom: 0px !important;
}

/* Header inside Spanish Citizenship card (title + Expires) */
.citizenship-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0px;
}

.citizenship-header h4 {
  margin: 0;
  font-size: 24px;
}

.expires {
  color: #E53935;
  font-weight: 700;
  font-size: 14px;
}

/* Extra text info in the citizenship card */
.desc {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}

/* Admin card icons (circle placeholders) */
.card-circle-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 50%;
  object-fit: cover;
}

/* Responsive: stack the citizenship cards on smaller screens */
@media (max-width: 992px) {

  .citizenship-card.wide,
  .citizenship-card.narrow {
    flex: 1 1 100%;
    max-width: 340px !important;
  }

  .expires {
    color: #E53935;
    font-weight: 700;
    font-size: 14px;
    text-align: right;
  }
}

/* #pvalue p{
   font-size: 40px !important;
 } */

.pricep {
  font-size: 22px !important;
  font-weight: bolder !important;
  color: #666;
}

.price-dependent {
  font-size: 16px;
  font-weight: 400;
  color: #666;
}

.price-dependent span {
  font-weight: 400;
  font-size: 16px;
  color: #666;
}

@media (max-width: 768px) {
  .pricing-container {
    padding: 0 10px;
  }

  .cta-btn {
    font-size: 16px;
  }

  .subheading {

    padding-left: 10%;

  }

  #pvalue p {
    font-size: 40px !important;
  }

  .price p {
    font-size: 40px !important;
  }


  .pricing-tabs {
    margin-left: auto;
    margin-right: auto;

  }

  .citizenship-card.wide,
  .citizenship-card.narrow {
    flex: 1 1 100%;
    max-width: 340px !important;
  }

  .family-note {
    padding-left: 10%;
    padding-right: 10%
  }
}



/* Place the circle icon at top-left, with heading/description on its right */
.admin-card {
  /* Keep all other .pricing-card styling; just overriding layout here. */
  position: relative;
  /* optional; ensures float clearing works nicely */
}

.admin-card img.card-circle-icon {
  float: left;
  /* float the icon left */
  margin: 0 10px 10px 0;
  /* space around icon */
  width: 80px;
  /* bigger than the default 50px */
  height: 80px;
}

.admin-card h4 {
  margin-top: 0;
  margin-bottom: 4px;
  /* smaller gap than default */
  /* ensure no extra gap above heading */
}

.admin-card .desc {
  margin-top: 5px;
  /* slight gap below heading */
  margin-bottom: 15px;
}




/* Admin Support Section */
.admin-support-section {
  padding-top: 60px;
  padding-bottom: 20px;
}

.admin-support-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.admin-support-image {
  flex: 1;
  max-width: 50%;
}

.admin-support-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.admin-support-content {
  flex: 1;
  max-width: 50%;
  padding: 20px;
}

.admin-support-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}



.admin-support-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 5% !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;

}

.admin-support-header h3 {
  font-size: 24px;
  margin: 0;
  color: #333;
  font-weight: 700
}

.admin-support-content p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 15px;
}

.see-pricing-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 5px;
  padding: 10px 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.see-pricing-btn:hover {
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .admin-support-section {
    padding: 30px 0;
  }

  .admin-support-container {
    flex-direction: column;
    gap: 20px;
  }

  .admin-support-image,
  .admin-support-content {
    max-width: 100%;
    padding: 0 15px;
  }

  .admin-support-content {
    text-align: center;
  }

  .admin-support-header {
    justify-content: center;
  }

  .admin-support-header {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
  }

  .admin-support-content p {
    padding-top: 10px;
    text-align: left;
  }

  .see-pricing-btn {

    text-align: center;
    text-decoration: none;
    margin-right: 0px !important;
    margin-left: 0px !important;
    display: inline-block !important;

    border-radius: 5px;
    font-size: 18px;
    padding: 12px 30px;
    height: auto;
    width: 300px;
    margin-top: 10px;
  }

  .admin-support-header h3 {
    font-size: 24px;
    margin: 0;
    color: #333;
    text-align: left !important;
    font-weight: 700;
  }
}


.service-card-content h4 {
  color: black !important;
  font-size: 22px !important;
}


/* =============== NEW ADMIN CARDS GRID =============== */


/* Outer section matches the existing container width of admin-support-container */
.admin-stagger-section {
  padding: 30px 0;
  /* Spacing above/below */
}

/* Constrain to a max width, same as .admin-support-container (1200px or so) */
.admin-stagger-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  /* side padding if needed */
  box-sizing: border-box;
}

/* The green background aligned to the container’s width (not full page) */
.admin-stagger-background {
  background: url("../images/background_green_admin.png") no-repeat center center;
  background-size: cover;
  border-radius: 8px;
  padding: 20px 20px;
  /* space inside the green box */
  box-sizing: border-box;
}

/* The grid of 6 cards: 3 columns x 2 rows on desktop */
.admin-stagger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  /* space between cards */
}

/* Each card is flex, so icon is left, text is right (like your pricing style) */
.admin-stagger-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: relative;
}

.tooltip-trigger {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #003d66;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #003d66;
}

.tooltip-content {
  position: absolute;
  top: calc(100% - 10px);
  right: 0;
  width: 350px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  color: #000000;
}

.admin-stagger-card {
  position: relative;
  z-index: 1;
}

.admin-stagger-card:hover {
  z-index: 9998;
}

.tooltip-trigger:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* The icon on the left */
.admin-stagger-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Card text on the right */
.admin-stagger-text h4 {
  margin: 0 0 5px;
  font-size: 20px;
  color: #000;
}

.admin-stagger-text p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

/* RESPONSIVE: stack columns on mobile */
@media (max-width: 768px) {
  .admin-stagger-grid {
    grid-template-columns: 1fr;
    /* single column */
  }

  .admin-stagger-card {
    flex-direction: row;
    gap: 10px;
    /* still side-by-side icon & text, or change to column if you prefer */
  }

  .admin-stagger-section {
    padding: 10px 0;
    /* Spacing above/below */
  }


  .admin-stagger-icon {
    width: 70px;
    height: 70px;
  }

  .tooltip-content {
    width: 220px;
    right: 0;
    left: auto;
    transform: translateY(-10px);
  }

  .tooltip-trigger:hover .tooltip-content {
    transform: translateY(0);
  }
}


/* Keep your existing CSS above... */

/* Stagger the top row (cards 1,2,3) to the right,
   and bottom row (cards 4,5,6) to the left. */
.admin-stagger-grid .admin-stagger-card:nth-child(-n+3) {
  /* These are items 1,2,3 */
  transform: translateX(0px);
}

.admin-stagger-grid .admin-stagger-card:nth-child(n+4) {
  /* These are items 4,5,6 */
  transform: translateX(0px);
}

/* Optional: On mobile, remove the stagger so they stack nicely */
@media (max-width: 768px) {
  .admin-stagger-grid .admin-stagger-card {
    transform: none !important;
    /* resets it so the cards stack neatly */
  }
}

.move-spain-section {
  display: flex;
  gap: 40px;
  margin: 60px auto;
  padding: 0 40px;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .move-spain-section {
    flex-direction: column;
    gap: 10px;
    margin: 30px auto;
    padding: 0 15px;
  }
}

/* Consultation Button Styling */
.consultation-btn {
  background-color: #004C80;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 12px 30px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 20px;
  display: inline-block;
  text-decoration: none;
}

.consultation-btn:hover,
.consultation-btn:focus,
.consultation-btn:active {
  background-color: #003d66 !important;
  border-color: #003d66 !important;
  color: white;
  text-decoration: none;
}

/* Google Calendar Modal Styling */
.calendar-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.calendar-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 85vh;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calendar-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  z-index: 10001;
  background: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.calendar-modal-close:hover {
  color: #333;
  background: #f0f0f0;
}

@media (max-width: 768px) {
  .calendar-modal-content {
    width: 95%;
    height: 80vh;
  }
  
  .calendar-modal-close {
    top: 5px;
    right: 10px;
  }
}

/* Calendly popup positioning - center and move higher (legacy) */
.calendly-overlay {
  z-index: 9999 !important;
}

.calendly-popup {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90% !important;
  max-width: 900px !important;
  height: 90% !important;
  max-height: 90vh !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 9999 !important;
}

.calendly-popup .calendly-popup-content,
.calendly-popup-content {
  margin: 0 auto !important;
  padding: 0 !important;
  left: 0 !important;
  right: 0 !important;
  position: relative !important;
}

.calendly-overlay {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.calendly-overlay .calendly-popup-content {
  max-height: 90vh !important;
  height: 90vh !important;
  border-radius: 8px !important;
}

.calendly-popup-content {
  max-width: 760px !important;
  max-height: 90vh !important;
  height: 90vh !important;
}

/* Position cookie banner above Calendly popup */
.calendly-overlay ~ .cookie-banner,
body.calendly-popup-open .cookie-banner {
  z-index: 10000 !important;
  position: fixed !important;
  bottom: 0 !important;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  .calendly-popup {
    top: 45% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 96% !important;
    height: 75% !important;
    max-height: 75vh !important;
    margin: 0 !important;
    margin-top: 40px !important;
    margin-bottom: 80px !important;
  }

  .calendly-overlay .calendly-popup-content {
    max-height: 75vh !important;
    height: 75vh !important;
    max-width: 100% !important;
  }

  /* Center consultation button on mobile */
  .consultation-btn {
    display: block !important;
    margin: 20px auto !important;
    text-align: center !important;
  }

  /* Position cookie banner above Calendly popup on mobile */
  .calendly-overlay ~ .cookie-banner,
  body.calendly-popup-open .cookie-banner {
    z-index: 10000 !important;
    position: fixed !important;
    bottom: 0 !important;
  }
}



.ft-featured {
  text-align: center;
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.ft-featured h4 {
  color: #a8a8a8;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1.6px;
  margin-bottom: 40px;
}

.featured-content {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.ft-main {
  flex: 1;
  max-width: 600px;
  text-align: center;
}

.ft-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}

.ft-quote {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #5e5e5e;
  font-style: italic;
}

.featured-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.logo-link img {
  max-width: 180px;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-link img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.company-name {
  font-style: normal;
  color: #004C80;
}

.read-article-btn {
  display: inline-block;
  color: #004C80;
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.3s ease;
}

.read-article-btn:hover {
  color: #1a3753;
}

@media (max-width: 768px) {
  .ft-featured {
    padding: 20px 15px 40px;
  }

  .featured-content {
    flex-direction: column;
    gap: 30px;
  }

  .ft-main {
    max-width: 100%;
    text-align: center;
  }

  .ft-logo {
    max-width: 200px;
  }

  .ft-quote {
    font-size: 14px;
    text-align: center;
  }

  .featured-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
    margin-top: 0px !important;
  }

  .logo-link img {
    max-width: 120px;
  }
}


/* Apostille cards styling */
.apostille-cards-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.apostille-card {
  max-width: 550px;
  margin: 0 auto;
}

.apostille-card .service-note {
  font-style: italic;
  color: #666;
  margin: 15px 0;
  font-size: 18px;
}

.service-note {
  font-weight: normal !important;
}


@media (max-width: 768px) {
  .apostille-cards-row {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .apostille-card {
    max-width: none !important;
    margin: 0 auto;
  }
}


/* ==============================
   FEATURED-IN PRESS MARQUEE
   ============================== */
.press-marquee {
  padding: 12px 0 64px;
  text-align: center;
  overflow: hidden;
}

.press-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aab2bf;
  margin: 0 0 22px;
}

/* Edge fade so names appear/disappear gently */
.press-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

/* Two identical groups; translateX(-50%) shifts exactly one group for a seamless loop */
.press-track {
  display: flex;
  width: max-content;
  animation: press-scroll 60s linear infinite;
}

.press-track-wrap:hover .press-track {
  animation-play-state: paused;
}

.press-group {
  display: flex;
  align-items: center;
  gap: 72px;
  /* 36px on each side keeps the seam gap equal to the in-group gap (36 + 36 = 72) */
  padding: 0 36px;
}

/* Clickable publication logos */
.press-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.press-logo img {
  display: block;
  height: 30px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  /* Understated by default; full colour on hover */
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.press-logo:hover img,
.press-logo:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}

/* Expansión artwork has built-in padding, so render it taller to match the others */
.press-logo img[src="images/expansion.jpg"] {
  height: 46px;
}

@keyframes press-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .press-marquee {
    padding: 30px 0 44px;
  }

  .press-group {
    gap: 48px;
    padding: 0 24px;
  }

  .press-logo img {
    height: 24px;
    max-width: 150px;
  }

  .press-logo img[src="images/expansion.jpg"] {
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-track {
    /* Keep it continuous, just gentler, for reduced-motion users */
    animation-duration: 100s;
  }
}

/* ==========================================================================
   Hero graphic — layered service cards inside a rotating dashed ring
   ========================================================================== */

.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin: -90px auto 0;
  /* Pull the graphic up so it starts higher than the heading */
  /* Card sizes/pills scale off this so the whole asset stays proportional */
  font-size: clamp(12px, 1.4vw, 15px);
}

/* Dashed outer circle + faint inner circle (crisp inline SVG) */
.hg-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hg-ring circle { fill: none; }
.hg-ring-inner {
  stroke: #eaf1fb;
  stroke-width: 0.5;
}
.hg-ring-outer {
  stroke: #9dc0e8;
  stroke-width: 0.45;
  /* Tiny round dots, closely spaced (round cap on a ~zero-length dash) */
  stroke-dasharray: 0.01 3;
  stroke-linecap: round;
  transform-origin: 50% 50%;
  animation: hgSpin 110s linear infinite;
}

@keyframes hgSpin {
  to { transform: rotate(360deg); }
}

/* Shared card styling */
.hg-card {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  text-decoration: none;
  transition: box-shadow 0.25s ease;
}

.hg-card:hover,
.hg-card:focus-visible {
  text-decoration: none;
  outline: none;
}

/* Immigration — yellow, top-left */
.hg-card--immigration {
  top: 25%;
  left: 21%;
  width: 29%;
  height: 26%;
  background: #F7D118;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
.hg-card--immigration:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Admin Support — pastel green, bottom-left */
.hg-card--admin {
  top: 53%;
  left: 25%;
  width: 25%;
  height: 24%;
  background: #C5F2C3;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
.hg-card--admin:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Spanish Taxes — light blue, right, vertically centred */
.hg-card--taxes {
  top: 30%;
  left: 52%;
  width: 28%;
  height: 32%;
  background: #DFF0FF;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
.hg-card--taxes:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Logos / icons inside cards */
.hg-flag {
  width: 58%;
  height: auto;
  border-radius: 8px;
}
.hg-taxlogo {
  width: 70%;
  height: auto;
}
.hg-adminlogo {
  width: 52%;
  height: auto;
}

/* White pill badges overlapping card edges */
.hg-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5em 0.85em;
  background: #ffffff;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: normal;
  color: #1f2937;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.14);
  z-index: 4;
}

.hg-pill .hg-check {
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
}

/* Pills sit off the card edges, ~1/3 of the way down (mostly outside) */
.hg-pill--immigration { top: 16%; left: -52%; }   /* upper-left */
.hg-pill--admin       { top: 60%; left: -78%; }   /* lower-left, pushed further off the box */
.hg-pill--taxes       { top: 16%; right: -54%; }  /* upper-right */

/* Google review widget */
.hg-review {
  position: absolute;
  top: 64%;
  left: 52%;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 0.95em;
  line-height: 1;
  background: #ffffff;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.14);
  z-index: 5;
  transition: box-shadow 0.25s ease;
  animation: hgReviewIn 0.7s 0.45s both cubic-bezier(0.16, 1, 0.3, 1);
}
.hg-review:hover,
.hg-review:focus-visible {
  box-shadow: 0 20px 38px rgba(17, 24, 39, 0.2);
  text-decoration: none;
  outline: none;
}

.hg-google { width: 1.5em; height: 1.5em; }

.hg-rating {
  font-family: 'Inter', sans-serif;
  font-size: 1.15em;
  font-weight: 700;
  color: #1f2937;
}

.hg-stars { display: inline-flex; align-items: center; gap: 1px; }
.hg-stars svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
  opacity: 0;
  transform: scale(0.4) rotate(-25deg);
  transform-origin: center;
  animation: hgStarPop 0.45s both cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-delay: calc(0.75s + var(--i) * 0.09s);
}

@keyframes hgReviewIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hgStarPop {
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* Mobile: the asset is centred and already fluid via % + aspect-ratio.
   Cap its width so it doesn't dominate the stacked layout. */
@media (max-width: 768px) {
  /* Full-bleed container; clip the graphic's empty corners that spill past the viewport */
  #welcome_graphic {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    padding: 0;
    /* clip (not hidden) — 'hidden' would force overflow-y:auto and create a
       nested vertical scroll container that steals touch scroll on mobile */
    overflow-x: clip;
    box-sizing: border-box;
  }
  /* Scale the composition up (but leave room at the sides so pills aren't clipped)
     and crop the empty square space above/below the circle with negative margins. */
  .hero-graphic {
    width: 106vw;
    max-width: none;
    flex-shrink: 0;
    /* centred by #welcome_graphic's justify-content; corners clipped by overflow-x */
    margin: -6vw 0 -10vw;
    font-size: clamp(11px, 2.9vw, 15px);
  }
  /* Pull the overhanging pills in a touch so the enlarged graphic doesn't clip them */
  .hg-pill--immigration { left: -44%; }
  .hg-pill--admin { left: -60%; }
  .hg-pill--taxes { right: -46%; }
}

@media (prefers-reduced-motion: reduce) {
  .hg-ring { animation: none; }
  .hg-review { animation: none; }
  .hg-stars svg { animation: none; opacity: 1; transform: none; }
}