/* Global Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: "Montserrat", Helvetica, sans-serif;
line-height: 1.6;
color: #333;
}

/* Main Container */
.home-desktop {
width: 100%;
min-height: 100vh;
background-color: #ffffff;
display: flex;
flex-direction: column;
}

/* Header */
.header {
width: 100%;
height: 9rem; /* 160px relative */
background-color: #f5f5f5;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5%;
position: relative;
}

.logo {
width: 6rem; /* 112px */
height: 7.25rem; /* 132px */
aspect-ratio: 0.85;
}

.nav {
display: flex;
padding-top: 65px;
padding-right: 200px;
gap: 2.75rem;
}

/* hide mobile hamburger and mobile nav by default (desktop) */
.mobile-toggle {
display: none;
}
.mobile-nav {
display: none;
}

/* Dropdown styles for Services submenu */
.dropdown-wrap {
position: relative;
}
.dropdown {
position: absolute;
top: calc(100% + 0.25rem);
left: 50%;
transform: translateX(-50%);
background: #ffffff;
border-radius: 4px;
box-shadow: 0 10px 30px rgba(0,0,0,0.18);
display: none;
min-width: 16rem; /* ~256px */
z-index: 100;
padding: 0.5rem 0;
}
.dropdown-link {
display: block;
padding: 0.9rem 1.25rem;
color: #111;
text-decoration: none;
font-weight: 700;
font-size: 1.125rem; /* larger text */
letter-spacing: 0.6px;
}
.dropdown-link:hover {
background: #f5f5f5;
}
.dropdown-wrap:hover .dropdown,
.dropdown-wrap:focus-within .dropdown {
display: block;
}

/* support click-to-open: `.dropdown.open` will be shown by JS */
.dropdown.open {
display: block;
}

/* services toggle button + caret */
.services-toggle {
background: transparent;
border: none;
color: inherit;
font: inherit;
cursor: pointer;
padding: 0;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.services-toggle[aria-expanded="true"] {
color: #3b82f6;
}

.caret {
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid currentColor;
transform-origin: center;
transition: transform 0.18s ease;
}
.services-toggle[aria-expanded="true"] .caret {
transform: rotate(180deg);
}

.dropdown-toggle::after {
content: " ▾";
font-size: 12px;
}

.nav-cta.secondary {
border: 2px solid #3b82f6;
color: #3b82f6;
padding: 8px 16px;
border-radius: 999px;
font-weight: 600;
}

.nav-cta.secondary:hover {
background: #3b82f6;
color: #ffffff;
}

.nav-cta.secondary {
position: fixed;
top: 80px;
right: 50px;
background: #3b82f6;
color: #ffffff;
padding: 7px 22px;
border-radius: 999px;
font-weight: 600;
font-size: 1.125rem;
text-decoration: none;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
z-index: 2000;
}

.nav-cta.secondary:hover {
background: #2563eb;
}

/* Make dropdown links match nav spacing on small screens */
@media (max-width: 767px) {
.dropdown {
position: static;
box-shadow: none;
padding: 0.25rem 0;
}
}

.nav-item {
font-family: "Montserrat-SemiBold", Helvetica;
font-weight: 600;
color: #000000;
font-size: 1.125rem; /* 18px */
text-align: center;
letter-spacing: 0.9px;
cursor: pointer;
transition: color 0.3s;
}

.nav-item:hover {
color: #3b82f6;
}
.company-name {
position: absolute;
top: 28px;
left: 50%;
transform: translateX(-50%);
font-family: "Montserrat-Regular", Helvetica;
font-weight: 400;
color: #000000;
font-size: 0.875rem; /* 14px */
text-align: center;
letter-spacing: 0.7px;
width: 800px;
}

/* Hero Section */
.hero {
width: 100%;
height: 45rem; /* ~640px — increased so image is taller */
position: relative;
z-index: 0;
display: flex;
align-items: center;
padding: 0 5%;
}

.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* darker gradient so hero text is more readable */
background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
/* overlay sits above the image but behind the content */
z-index: 2;
pointer-events: none;
}

.adobestock {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
/* place the image below the overlay */
z-index: 1;
}

.hero-content {
max-width: 38.25rem; /* 612px */
color: #ffffff;
position: relative;
/* content must be above overlay and bottom fade */
z-index: 4;
top: 0;
}

/* bottom fade that blends image+overlay into page background */
/* .hero-bottom-fade {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 10%;
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
z-index: 3;
pointer-events: none;
} */

.hero-title {
font-family: "Montserrat-ExtraBold", Helvetica;
font-weight: 800;
font-size: 2.50rem; /* 43px */
letter-spacing: 2.15px;
line-height: 3.1875rem; /* 51px */
margin-bottom: 4rem;
}

.hero-subtitle {
font-family: "Montserrat-SemiBold", Helvetica;
font-weight: 600;
font-size: 1.50rem; /* 26px */
letter-spacing: 1.3px;
line-height: 1.8rem;
margin-bottom: 1.25rem;
}

.hero-text {
font-family: "Montserrat-Regular", Helvetica;
font-weight: 400;
font-size: 1rem; /* 16px */
letter-spacing: 0.8px;
line-height: normal;
}

.icon-list i {
color: #3b82f6;
margin-right: 10px;
}

.cta-button {
margin-top: 5rem;
width: 18.3125rem; /* 293px */
height: 3.3125rem; /* 53px */
background-color: #3b82f6;
border-radius: 5rem; /* 80px */
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background-color 0.3s;
}

.cta-button:hover {
background-color: #2563eb;
}

.cta-text {
font-family: "Montserrat-SemiBold", Helvetica;
font-weight: 600;
color: #ffffff;
font-size: 1.50rem; /* 26px */
text-align: center;
letter-spacing: 1.3px;
}

/* Services Section */
.services {
padding: 5rem 5%;
display: flex;
flex-direction: column;
align-items: center;
}

.services-title {
font-family: "Montserrat-SemiBold", Helvetica;
font-weight: 600;
color: #333333;
font-size: 1.5625rem; /* 25px */
text-align: center;
letter-spacing: 1.25px;
margin-bottom: 3rem;
margin-top: 3rem;
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(27.5rem, 1fr)); /* 440px */
gap: 2rem;
width: 100%;
max-width: 50rem; /* 1280px */
}
.service-item {
background-color: #ffffff;
border-radius: 3rem; /* 80px */
height: 4.5rem; /* 104px */
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 2rem;
color: #000000;
/* colored outline: subtle white tint for contrast against blue */
border: 2px solid #ffffff;
}

.service-icon {
width: 2.5rem; /* requested */
height: 2.25rem; /* requested */
object-fit: contain;
}

.service-text {
font-family: "Montserrat-SemiBold", Helvetica;
font-weight: 600;
font-size: 1rem; /* 16px requested */
text-align: left;
letter-spacing: 0.6px;
flex: 1;
padding-left: 1.5rem;
}
/* Certifications Section */
.certifications {
padding: 5rem 5%;
display: flex;
flex-direction: column;
align-items: center;
}

.certifications-title {
font-family: "Montserrat-SemiBold", Helvetica;
font-weight: 600;
color: #333333;
font-size: 1.625rem; /* 26px */
text-align: center;
letter-spacing: 1.3px;
margin-bottom: 2rem;
}

.certifications-text {
font-family: "Montserrat-Regular", Helvetica;
font-weight: 400;
color: #000000;
font-size: 1rem; /* 16px */
letter-spacing: 0.8px;
text-align: center;
max-width: 50rem; /* 800px */
margin-bottom: 2rem;
}

.certifications-image {
width: 100%;
max-width: 50rem; /* 800px */
height: auto;
aspect-ratio: 5.89;
object-fit: cover;
}

/* Partnerships Section */
.partnerships {
padding: 5rem 5%;
display: flex;
flex-direction: column;
align-items: center;
}

.partnerships-title {
font-family: "Montserrat-SemiBold", Helvetica;
font-weight: 600;
color: #333333;
font-size: 1.625rem; /* 26px */
text-align: center;
letter-spacing: 1.3px;
margin-bottom: 2rem;
}

.partnerships-image {
width: 100%;
max-width: 43.8125rem; /* 701px */
height: auto;
aspect-ratio: 18.24;
object-fit: cover;
}

/* Footer */
.footer {
width: 100%;
height: 14.375rem; /* 230px */
background-color: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
padding: 0 5%;
}

.footer-content {
display: flex;
align-items: center;
gap: 2rem;
}

.footer-logo {
width: 7.9375rem; /* 127px */
height: 9.3125rem; /* 149px */
aspect-ratio: 0.85;
}

.footer-text {
font-family: "Montserrat-Regular", Helvetica;
font-weight: 400;
color: #000000;
font-size: 1rem; /* 16px */
text-align: center;
letter-spacing: 0.8px;
max-width: 40rem; /* 640px */
}

/* Media Queries */

/* Phone: <768px */
@media (max-width: 767px) {
.header {
height: 8rem;
padding: 0 2%;
flex-direction: column;
gap: 1rem;
}

.logo {
width: 5rem;
height: 6rem;
}

.nav {
gap: 1rem;
}

.nav-item {
font-size: 1rem;
}

.company-name {
font-size: 0.75rem;
}

.hero {
height: 28rem;
padding: 0 2%;
}

/* Mobile nav: hide desktop nav, show hamburger */
.nav {
display: none;
}

.mobile-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 3.25rem;
height: 3.25rem;
background: transparent;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: #111;
position: absolute;
right: 3.5%;
top: 1.5rem;
z-index: 60;
}

.mobile-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 100vh;
background: #ffffff;
transform: translateY(-100%);
transition: transform 240ms ease;
z-index: 55;
padding-top: 5.5rem;
display: flex;
flex-direction: column;
gap: 0.25rem;
overflow-y: auto;
}

.mobile-nav.open {
transform: translateY(0);
}

.mobile-nav a,
.mobile-nav button.services-toggle {
display: block;
padding: 1rem 1.25rem;
font-size: 1.125rem;
color: #000 !important;
text-decoration: none;
background: transparent;
border: none;
text-align: left;
}

/* Make dropdown static inside mobile nav and align with top-level items */
.mobile-nav .dropdown {
position: static;
box-shadow: none;
padding-left: 0; /* align with top-level links */
display: none;
}

.mobile-nav .dropdown.open {
display: block;
}

.mobile-nav .dropdown-link {
padding: 1rem 1.25rem; /* match top-level .mobile-nav a */
font-weight: 600;
color: #000 !important;
}

/* Ensure any links inside the mobile nav are always visible (black) */
.mobile-nav a,
.mobile-nav a *,
.mobile-nav .dropdown a,
.mobile-nav .dropdown-link,
.mobile-nav button.services-toggle {
color: #000 !important;
}

/* Mobile: hide hero background image and overlays; make all hero text black */
.adobestock,
.hero-overlay,
.hero-bottom-fade {
display: none !important;
}

.hero-content,
.hero-title,
.hero-subtitle,
.hero-text {
color: #000000 !important;
}

/* keep CTA text readable on mobile */
.cta-button .cta-text {
color: #ffffff !important;
}

.hero-content {
max-width: 100%;
}

.hero-title {
font-size: 2rem;
line-height: 2.5rem;
}

.hero-subtitle {
font-size: 1.25rem;
}

.hero-text {
font-size: 0.875rem;
}

.cta-button {
width: 15rem;
height: 3rem;
}

.cta-text {
font-size: 1.25rem;
}

.services {
padding: 3rem 2%;
}

.services-title {
font-size: 1.25rem;
}

.services-grid {
grid-template-columns: 1fr;
gap: 1rem;
}

.service-item {
height: 5rem;
padding: 0 1rem;
}

.service-icon {
width: 2rem;
height: 1.8rem;
}

.service-text {
font-size: 0.95rem;
}

.certifications, .partnerships {
padding: 3rem 2%;
}

.certifications-title, .partnerships-title {
font-size: 1.25rem;
}

.certifications-text {
font-size: 0.875rem;
}

.certifications-image, .partnerships-image {
max-width: 100%;
}

.footer {
height: 12rem;
padding: 0 2%;
}

.footer-content {
flex-direction: column;
gap: 1rem;
}

.footer-logo {
width: 6rem;
height: 7rem;
}

.footer-text {
font-size: 0.875rem;
}
}

/* Tablet/Laptop: 768px - 1200px */
@media (min-width: 768px) and (max-width: 1199px) {
.header {
height: 9rem;
padding: 0 3%;
}

.logo {
width: 6rem;
height: 7rem;
}

.nav {
gap: 2rem;
}

.nav-item {
font-size: 1rem;
}

.company-name {
font-size: 0.8rem;
}

.hero {
height: 33rem;
padding: 0 3%;
}

.hero-content {
max-width: 30rem;
}

.hero-title {
font-size: 2.25rem;
line-height: 2.75rem;
}

.hero-subtitle {
font-size: 1.375rem;
}

.hero-text {
font-size: 0.9375rem;
}

.cta-button {
width: 16rem;
height: 3.125rem;
}

.cta-text {
font-size: 1.375rem;
}

.services {
padding: 4rem 3%;
}

.services-title {
font-size: 1.375rem;
}

.services-grid {
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}

.service-item {
height: 5.5rem;
padding: 0 1.5rem;
}

.service-icon {
width: 2.25rem;
height: 2rem;
}

.service-text {
font-size: 1rem;
}

.certifications, .partnerships {
padding: 4rem 3%;
}

.certifications-title, .partnerships-title {
font-size: 1.375rem;
}

.certifications-text {
font-size: 0.9375rem;
}

.certifications-image, .partnerships-image {
max-width: 40rem;
}

.footer {
height: 13rem;
padding: 0 3%;
}

.footer-content {
gap: 1.5rem;
}

.footer-logo {
width: 7rem;
height: 8rem;
}

.footer-text {
font-size: 0.9375rem;
}
}

/* Desktop: >1200px */
@media (min-width: 1200px) {
.hero-content {
max-width: 38.25rem;
}

.services-grid {
grid-template-columns: repeat(2, 1fr);
}
}

