@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/* Root: 1rem = 10px */
html{
  font-size:62.5%;
  
}

body{
  font-family:'Montserrat', sans-serif;
  letter-spacing: 0.03em; 
}

h1,h2,h3,h4,h5{
  margin-bottom:2rem;
  letter-spacing:-0.03em;
  line-height:1;
}

p,span,small,li,b,strong,input,textarea,select{
  line-height:1;
}

h1{
  font-size:4.6rem;
  font-weight:750;
}

h2{
  font-size:3.4rem;
  font-weight:700;
}

h3{
  font-size:2.6rem;
  font-weight:700;
}

h4{
  font-size:2.0rem;
  font-weight:700;
}

h5{
  font-size:1.6rem;
  font-weight:700;
}

p{
  font-size:1.5rem;
}

span{
  font-size:1.3rem;
}

small{
  font-size:1.1rem;
}

a{
  font-size:1.5rem;
  text-decoration:none;
}

li{
  font-size:1.5rem;
}

strong,
b{
  font-size:1.5rem;
  font-weight:600;
}

input,
textarea,
select{
  font-size:1.5rem;
  font-family:inherit;
}

button{
  font-size:1.5rem;
  font-family:inherit;
}


/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  /* background: #0c3d53; */
  background: #ffffff;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.logo a {
  display: inline-block;
}

.logo img {
  height: 7rem;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
}

.nav-links li {
  position: relative;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  /* color: white; */
  color: #0c3d53;
  transition: 0.3s;
  font-weight: 650;
}

.nav-links a:hover {
  color: #1aa9a8;
}

/* Submenu */
.submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  position: absolute;
  top: 100%;
  /* left: 0; */
  left: -20;
  background: #ffffff;
  padding: 1rem 0;
  min-width: 25rem;
  transition: all 0.3s ease;
}

.submenu li {
  padding: 1rem 2rem;
}

.submenu li a:hover {
  color: #1aa9a8;
}

.nav-links li:hover .submenu,
.nav-links li:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* create safe hover bridge */
.nav-links li {
  /* padding-bottom: 1rem; */
}

.submenu::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  width: 100%;
  height: 1rem;
}

.submenu li {
  padding: 1rem 2rem;
}

.submenu li a:hover {
  color: #1aa9a8;
}

/* FIX hover flicker */
.nav-links li:hover .submenu,
.nav-links li:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Add hover safe area */
.nav-links li {
  /* padding-bottom: 0.5rem; */
}

/* Hamburger */
.menu-toggle {
  display: none;
  color: #0c3d53;
  cursor: pointer;

}

.nav-close-btn {
  display: none;
  color: #0c3d53;
  position: absolute;
  top: 3rem;
  right: 2rem;
  cursor: pointer;
}
/* Navbar */

/* button  */
.btn{
  display:inline-block;
  padding:2rem;
  border-radius:0.6rem;
  text-align:center;
  font-weight: 600;
  transition:all 0.3s ease;
  cursor:pointer;
  text-transform: uppercase;
}

/* PRIMARY (Dark Background)*/
.btn-primary{
  background-color:#0c3d53;
  color:#ffffff;
  /* border:0.1rem solid #0c3d53; */
}

.btn-primary:hover{
  background-color:#1aa9a8;
  /* border-color:#1aa9a8; */
}

/* Outline */
.btn-outline{
  background:transparent;
  color:#ffffff;
  border:0.2rem solid #ffffff;
}

.btn-outline:hover{
  background:#1aa9a8;
  color:#ffffff;
  border-color:#1aa9a8;
}

.btn-accent{
  background:transparent;
  color:#ffffff;
  border:0.2rem solid #ffffff;
}

.btn-accent:hover{
  background:#0c3d53;
  color:#ffffff;
  border-color:#0c3d53;
}

/* buttons row */
.row-button, .row-button-center, .row-button-right {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}

.row-button-center {
  justify-content: center;
} 

.row-button-right{
    justify-content: right;
}
/* button  */

/* hero-cover-full */
/* adjust this if your navbar height changes */
:root {
  --navbar-height: 10rem;
}

.hero-cover-full, .hero-cover-cta {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-cover-full{
  margin-top: var(--navbar-height);
}

/* background image layer */
.cover-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* dark overlay (optional but recommended) */
.hero-cover-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 2;
}

.hero-cover-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 2;
}

/* content wrapper */
.cover-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  color: #fff;
}

.hero-text{
  padding-bottom: 2rem;
}

.hero-text-center{
  text-align: center;
}

/* text styling */
.hero-text h1 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-text h4 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-text h5 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-text p {
  margin-bottom: 2rem;
}

.hero-text-center h1 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-text-center h4 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-text-center h5 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-text-center p {
  margin-bottom: 2rem;
}
/* hero-cover-full */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

/* section-block */
.section-block {
  margin: 6rem auto;
}

.align-center {
  text-align: center;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

/* text */
.section-wrapper{
  margin: 6rem auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-header h4 {
  text-transform: uppercase;
}

.section-header p {
  
}

.w-800{
  max-width: 800px;
}

.bg-blue-ocean{
  background-color: #0c3d53;
}

.bg-blue-teal{
  background-color: #1aa9a8;
}

.blue-ocean{
  color: #0c3d53;
}

.blue-teal{
  color: #1aa9a8;
}

.white{
  color: #fff;
}

/* image */
.section-media {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
}

.section-media img {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
  border-radius: 0.6rem;
}

/* GRID LAYOUT */
.section-media.col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.section-media.col-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* card */
.section-media-each {
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem;
  height: 35rem;
}

/* image */
.section-media-each-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* zoom effect */
.section-media-each:hover img {
  transform: scale(1.08);
}

/* overlay wrapper */
.section-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dark overlay layer */
.section-media-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* overlay */
.section-media-each-text {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  text-align: center;
  color: #fff;

  opacity: 1;
  transition: opacity 0.3s ease;
}

.section-media-each-text-no {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  text-align: center;
  color: #fff;

  opacity: 1;
  transition: opacity 0.3s ease;
}

/* show overlay on hover */
.section-media-each:hover .section-media-each-text {
  opacity: 0;
}

/* show read more */
.section-media-each:hover .section-media-readmore {
  opacity: 1;
  transform: translateY(0);
}

/* text spacing */
.section-media-each-text h4 {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-media-each-text p {
  margin-bottom: 1rem;
}

/* make entire card clickable */
.section-media-each a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.section-media-readmore {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;

  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
}
/* section-block */

/* Media wrapper */
.media-wrapper {
  position: relative;
}

/* SCROLL ROW */
.media-row {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;

  cursor: grab;
}

/* scrollbar */
.media-row::-webkit-scrollbar {
  height: 8px;
}

.media-row::-webkit-scrollbar-thumb {
  background: #1aa9a8;
  border-radius: 0.6rem;
}

/* CARD */
.card-media {
  flex: 0 0 20%; /* 5 items */
  position: relative;
  border-radius: 0.6rem;
  overflow: hidden;
}

/* IMAGE */
.card-media img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-media:hover img {
  transform: scale(1.08);
}

/* OVERLAY (BOTTOM) */
.card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  color: #fff;
  text-align: center;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0)
  );
}

.card-overlay h5{
  text-transform: uppercase;
}

/* BUTTONS */
.media-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  cursor: pointer;

  font-size: 2rem;
  transition: 0.3s;
}

.media-btn:hover {
  background: #1aa9a8;
}

.prev {
  left: -2rem;
}

.next {
  right: -2rem;
}
/* Media wrapper */

/* split */
.split {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-radius:0.6rem;
  margin: 4rem auto;

  height: 70vh;
  overflow: hidden;
}

/* reverse layout */
.split--reverse {
  flex-direction: row-reverse;
}

.split__media {
  flex: 0 0 50%;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.6rem;
}

.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 46%;
}

.split__content h2 {
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.split__content p {
  margin-bottom: 1rem;
}
/* split */

/* section combined */
.section-combined {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  margin: 6rem auto;
}

/* ONLY affect split-text inside this section */
.section-combined .split-text {
  margin: 0;              /* override global spacing */
  gap: 3rem;
}

.section-combined__media {
  width: 100%;
}

.section-combined__media img {
  width: 100%;
  height: 55rem;
  object-fit: cover;
  border-radius: 0.6rem;
  display: block;
}
/* section combined */

/* split text */
.split-text {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 6rem auto;
}

/* left */
.split-text__title {
  flex: 1;
}

.split-text__title h4{
  text-transform: uppercase;
  margin: auto;
}

/* right */
.split-text__content {
  flex: 2;
  margin: auto;
}
/* split text */

/* feature-split */
.feature-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 6rem auto;
}

.feature-split__head {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* 60% text */
.feature-split__text {
  flex: 6;
}

/* 40% button area */
.feature-split__action {
  flex: 4;
  display: flex;
  justify-content: flex-end;
  gap: 4rem;
}

.feature-split__text h2{
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.feature-split__text h4{
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.feature-split__text p{
  margin-bottom: 1.5rem;
}


/*ROW 2 (IMAGE 70/30)*/
.feature-split__visual {
  display: flex;
  gap: 1.5rem;
  height: 50rem;
}

/* 70% */
.feature-split__main {
  flex: 7;
}

/* 30% */
.feature-split__side {
  flex: 3;
}

/* image */
.feature-split__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.6rem;
  display: block;
}
/* feature-split */


/* block-media-highlight */
.block-media-highlight {
  
}

.block-media-highlight__inner {
  
}
/* block-media-highlight */

/* accordion split */
.accordion-split{
  display:flex;
  gap:3rem;
  align-items:stretch;
  margin:6rem auto;
  height: 40rem;
}

/* LEFT */
.accordion-split__media{
  flex:1;
}

.accordion-split__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0.6rem;
  display:block;
}

/* RIGHT */
.accordion-header h2 {
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.accordion-split__content{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:1rem;
}

/* ITEM */
.accordion{
  border:1px solid #1aa9a8;
  border-radius:0.6rem;
  overflow:hidden;
}

/* BUTTON */
.accordion__toggle{
  width:100%;
  padding:1.2rem;
  border:none;
  background:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  text-align:left;
}

/* PANEL */
.accordion__panel{
  max-height:0;
  overflow:hidden;
  transition:all 0.3s ease;
  padding:0 1.6rem;
}

.accordion__toggle h5{
  margin-bottom: 0;
}

.accordion__panel p{
  padding:1.6rem 0;
}

/* ACTIVE */
.accordion__panel.open{
  min-height: 7rem;
  max-height:20rem;
}

.accordion__toggle.active{
  background:#1aa9a8;
  color: #ffffff;
}

/* accordion split */

/* card-grid */
.card-grid {
  display: grid;
  gap: 2rem;
}

.card-grid.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.col-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-item {
  display: flex;
  flex-direction: column;
  border-radius: 0.6rem;
  overflow: hidden;
}

.card-item__media{
  /* height: 25rem; */
}

/* image */
.card-item__media img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
}

/* ICON VERSION (for PNG / SVG) */
.card-item--icon .card-item__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20rem;

  padding: 2rem;
}

.card-item--icon .card-item__media img {
  width: auto;
  height: 14rem; /* control icon size */
  object-fit: contain;
}

.card-item__title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* optional styling */
.card-item__title h5 {
  text-transform: uppercase;
  margin: 0;
}

.card-grid-media {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
}

.card-grid-media img {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
  border-radius: 0.6rem;
}
/* card-grid */

/* card-grid col-2 */
.card-grid.col-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-info {
  position: relative;
  display: block;
  padding: 2rem;
  border-radius: 0.6rem;
  text-decoration: none;
  color: inherit;

  transition: all 0.3s ease;
  border: 0.1rem solid #1aa9a8;
}

/* hover effect (subtle like your design) */
.card-info:hover {
  transform: translateY(-4px);
  border-color: #0c3d53; /* purple accent */
}

.card-info__body {
  padding-right: 4.5rem; /* prevents overlap with icon */
}

/* TITLE */
.card-info h3 {
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* LOCATION */
.card-info h5 {
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* DIVIDER */
.card-info__divider {
  width: 100%;
  height: 0.1rem;
  background: #1aa9a8;
  margin-bottom: 1.5rem;
}

/* DESCRIPTION */
.card-info p {
  margin: 1rem auto;
}

.card-info__icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #1aa9a8;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

/* arrow */
.card-info__icon::before {
  content: "↗";
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
}
/* card-grid col-2 */

/* contact split */
.contact-split {
  display: flex;
  gap: 3rem;
  align-items: stretch;
  margin: 6rem auto;
}

/* LEFT */
.contact-split__media {
  flex: 1;
}

.contact-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.6rem;
}

/* RIGHT */
.contact-split__form {
  flex: 1;
}

/* GRID */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* FULL WIDTH */
.form-group.full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
}

/* INPUT */
input, textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
}

/* TEXTAREA */
textarea {
  min-height: 120px;
  resize: vertical;
}

/* ERROR */
.error {
  color: red;
  font-size: 1.2rem;
  height: 1rem;
  margin-top: 0.3rem;
}

/* BUTTON */
.btn-submit {
  margin-top: 1.5rem;
  padding: 1rem;
  border: none;
  background: #1aa9a8;
  color: #fff;
  cursor: pointer;
  border-radius: 0.6rem;
  text-transform: uppercase;
  font-weight: 600;
}

.btn-submit:hover{
  background: #0c3d53;
  color: #fff;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);

  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 0.6rem;
  text-align: center;
}
/* contact split */

/* footer */
.footer {
  background: #1aa9a8;
  color: #fff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
}

.footer-col{
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #0c3d53;
}

/* Logo */
.footer-logo {
  margin-left: auto;
}

.footer-logo a {
  display: flex;
  justify-content: flex-end;
}

.footer-logo img {
  max-width: 15rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

/* submenu (hidden by default everywhere) */
.footer-submenu {
  list-style: none;
  padding-left: 1.2rem;
  margin-top: 0.5rem;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);

  transition: 
    max-height 0.4s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* open state */
.footer-has-submenu.active .footer-submenu {
  max-height: 20rem; /* big enough to fit content */
  opacity: 1;
  transform: translateY(0);
}

/* active state */
.footer-has-submenu.active .footer-submenu {
  display: block;
}

.footer-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;

  color: #fff;
  font: inherit;
  text-align: left;

  cursor: pointer;
  display: inline-block;
  transition: 0.3s;
  font-weight: 650;
}

/* match hover behavior */
.footer-toggle:hover {
  color: #0c3d53;
}

/* arrow indicator */
.footer-toggle::after {
  content: "▼";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-has-submenu.active .footer-toggle::after {
  transform: rotate(180deg);
}

.footer-social {
  display: flex;
  gap: 1rem; 
}

/* icon size */
.footer-social a {
  font-size: 3rem;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-0.3rem) scale(1.1);
}

.footer-block {
  /* margin-bottom: 1.5rem; */
}

.footer-block a {
  display: inline-block;
  font-weight: 650;
}
/* footer */


@media (max-width:1240px){

  h1{font-size:4.2rem;}
  h2{font-size:3.1rem;}
  h3{font-size:2.4rem;}
  h4{font-size:1.9rem;}
  h5{font-size:1.5rem;}

}

@media (max-width:1024px){

  h1{font-size:3.6rem;}
  h2{font-size:2.8rem;}
  h3{font-size:2.2rem;}
  h4{font-size:1.8rem;}
  h5{font-size:1.4rem;}

  p,li,a,input,button{font-size:1.3rem;}
  span{font-size:1.1rem;}
  small{font-size:1rem;}

  /* feature-split */
  .feature-split__text{
    flex: 6;
  }
  .feature-split__action{
    flex: 5;
  }
  /* feature-split */


  /* footer */
  .footer-logo img{
    max-width: 10rem;
  }
  /* footer */
}

@media (max-width:853px){
  /* feature-split */
  .feature-split__text{
    flex: 6;
  }

  .feature-split__action{
    flex: 5;
    gap: 1rem;
  }
  
  /* feature-split */
}
  
@media (max-width:768px){

  h1{font-size:3.0rem;}
  h2{font-size:2.4rem;}
  h3{font-size:1.9rem;}
  h4{font-size:1.6rem;}
  h5{font-size:1.3rem;}

  p,li,a,input,button{font-size:1.3rem;}
  span{font-size:1.1rem;}
  small{font-size:1rem;}

  
  /* Navbar */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    font-weight: 600;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding-top: 10rem;
    transition: right 0.4s ease;
    gap: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    padding: 1.5rem 2rem;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0;
  }

  .nav-links li.active .submenu {
    display: block;
  }

  .nav-close-btn {
    display: block;
    font-size: 2rem;
    font-weight: 600;
  }
  /* Navbar */

  /* hero-cover-full */
  .hero-text{
    padding-bottom: 0rem;
  }
  /* hero-cover-full */

  /* button  */
  .row-button, .row-button-center, .row-button-right{
    justify-content: center;
    gap: 2rem;
  }
  /* button  */


  /* section-block */
  .section-block {
    max-width: 100%;
    margin: 3rem auto;
  }

  .section-media-each {
    height: 30rem;
  }

  .section-media img {
    max-width: 100%;
  }

  .section-media.col-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-media.col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-wrapper{
    margin: 3rem auto;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  /* section-block */

  /* Media wrapper */
  .card-media {
    flex: 0 0 40%;
  }

  .card-media img {
    height: 25rem;
  }

  .media-btn {
    width: 3.5rem;
    height: 3.5rem;
  }
  
  .card-media {
    flex: 0 0 40%;
  }

  .media-btn {
    width: 3.5rem;
    height: 3.5rem;
  }

  .prev {
    left: -1.5rem;
  }

  .next {
    right: -1.5rem;
  }
  /* Media wrapper */

  /* split */
  .split {
    flex-direction: column;
    text-align: center;
    margin: 2rem auto;
    gap: 0;
    height: auto;
  }

  .split__content {
    margin: 1.5rem 2rem;
  }

  /* reset reverse on mobile */
  .split--reverse {
    flex-direction: column;
  }

  .split__media {
    flex: none;
    width: 100%;
    height: 35rem;
  }

  .split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* split */

  /* section combined */
  .section-combined {
    gap: 2rem;
  }

  /* stack text nicely */
  .section-combined .split-text {
    flex-direction: column;
    gap: 1rem;
    text-align: left;
  }
  /* section combined */

  /* split text */
  .split-text {
    flex-direction: column;
    gap: 1rem;
    margin: 3rem auto;
  }
  /* split text */

  /* feature-split */
  .feature-split{
    margin: 3rem auto;
  }

  .feature-split__head {
    flex-direction: column;
    gap: 1rem;
  }

  .feature-split__text,
  .feature-split__action {
    flex: 100%;
    width: 100%;
  }

  .feature-split__action {
    justify-content: flex-start; /* align button left */
  }

  .feature-split__action .btn {
    width: 100%; /* optional: full width button */
    text-align: center;
  }

  /* keep 1 row */
  .feature-split__main {
    flex: 6;
  }

  .feature-split__side {
    flex: 4;
  }

  .feature-split__visual {
    height: 35rem;
  }
  /* feature-split */

  /* accordion split */
  .accordion-split{
    flex-direction:column;
    gap:2rem;
    margin:4rem auto;
    height: auto;
  }

  .accordion-split__media{
    flex: none;
    height:35rem;
  }
  /* accordion split */

  /* card grid */
  .card-grid {
    gap: 1rem;
  }

  .card-grid.col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  /* card grid */

  /* card-grid col-2 */
  .card-grid.col-2 {
    grid-template-columns: 1fr;
  }

  .card-grid.col-3 {
    grid-template-columns: repeat(2, 2fr);
  }
  /* card-grid col-2 col-3 */

  /* contact split */
  .contact-split {
    flex-direction: column;
    margin: 3rem auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }
  /* contact split */

  /* footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .footer-col {
    width: 100%;
    text-align: center;
    gap: 0;
  }

  .footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem; 
  }


  .footer-logo {
    margin-left: 0;
  }

  .footer-logo a {
    display: flex;
    justify-content: center;
  }

  .footer-logo img{
    max-width: 8rem;
    margin: 0 auto; /* center image */
    display: block;
  }

  .footer-block{
    margin-bottom: 2rem;
  }

  .footer-toggle::after {
    font-size: 1.2rem;
  }
  /* footer */
}

@media (max-width:540px){

  h1{font-size:2.4rem;}
  h2{font-size:2.0rem;}
  h3{font-size:1.6rem;}
  h4{font-size:1.4rem;}
  h5{font-size:1.2rem;}

  p,li,a,input,button{font-size:1.2rem;}
  span{font-size:1.1rem;}
  small{font-size:1rem;}

  /* section-block */
  .section-media.col-3 {
    grid-template-columns: 1fr;
  }

  .section-media.col-4 {
    grid-template-columns: 1fr;
  }
  /* section-block */

  /* Media wrapper */
  .card-media {
    flex: 0 0 60%;
  } 

  .card-media img {
    height: 22rem;
  }
  /* Media wrapper */

  /* card-grid col-3 */

  .card-grid.col-3 {
    grid-template-columns: 1fr;
  }
    /* card-grid col-2 col-3 */

  /* section combined */
  .section-combined__media img {
   height: 30rem; 
  }
  /* section combined */

  /* split */
  .split__media {
    height: 30rem;
  }
  /* split */

  /* feature-split */
  .feature-split__visual {
    gap: 1rem;
  }

  .feature-split__visual img {
    height: 100%;
  }

  .feature-split__head{
    gap: 0;
  }

  .feature-split__action {
    flex-direction: column;
    width: 50%;
    gap: 0.8rem;
  }

  .feature-split__action .btn {
    width: 100%;
    text-align: center;
  }
  /* feature-split */

  /* card grid */
  .card-item__media img {
    height: 20rem;
  }
  /* card grid */

}

@media (max-width:344px){

  h1{font-size:2.2rem;}
  h2{font-size:1.8rem;}
  h3{font-size:1.5rem;}

  p,li,a,input,button{font-size:1.1rem;}
  span{font-size:1rem;}
  small{font-size:0.9rem;}

  /* feature-split */
  .feature-split__visual {
    height: 25rem;
  }
  /* feature-split */

  /* card grid */
  .card-item__media img {
    height: 15em;
  }
  .card-item--icon .card-item__media{
    height: 15rem;
  }

  .card-item--icon .card-item__media img{
    height: 12rem;
  }
  /* card grid */
}