/* ===================== VARIABLES ===================== */
:root {
	--color-primary: #0c3a80;
	--color-accent: #2f6fed;
	--color-hover: #4589ff;
	--color-nav-hover: #003cff;
	--color-text-dark: #1a2a4a;
	--color-white: #fff;
	--color-light-bg: #f4f6f9;

	--nav-height: 120px;
	--radius: 8px;
	--transition: 0.25s ease;

	--font-base: 22px;
	--font-large: 36px;
}

/* ===================== GLOBAL ===================== */
html {
	scroll-behavior: smooth;

  overflow-x: hidden;

}

body {
	margin: 0;
	padding-top: var(--nav-height);
	font-family: Arial, Helvetica, sans-serif;
	font-size: var(--font-base);
	line-height: 1.7;
	color: var(--color-text-dark);
	background: #ffffff;
}

h2 {
	font-size: 32px;
	margin-bottom: 20px;
}

p {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.hero-text p {
	font-size: 42px;
	line-height: 1.3;
}

.service p {
	font-size: 22px;
}

/* ===================== SHARED COMPONENT STYLES ===================== */
.service,
.card {
	border: none;
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.service:hover,
.card:hover {
	box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.hero-image img,
.split-image img,
.cta-content img {
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ===================== NAVBAR ===================== */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	height: var(--nav-height);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	z-index: 1000;
}

.navbar a,
.dropbtn {
    white-space: nowrap;
}

.medResLogo {
	max-width: 320px;
	margin-right: 5px;  height: auto;
}

/* NAV LINKS */
.nav-links {
	display: flex;
	align-items: center;
	gap: 25px;
	font-family: Arial, sans-serif;
}

.navbar a,
.dropbtn {
	font-size: 18px;
	padding: 10px 14px;
	color: var(--color-text-dark);
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	transition: color var(--transition);
}

.navbar a:hover,
.dropbtn:hover {
	color: var(--color-nav-hover);
}

.nav-cta {
  background: var(--color-primary);
  color:var(--color-primary) !important;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--color-accent);
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }
}@media (max-width: 1080px) {
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;

    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 10px;

    width: 100%;
    padding: 10px 10px;

    background: #eef4ff;

    overflow-x: auto; 
    overflow-y: hidden;

    white-space: nowrap; 
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar (optional, cleaner look) */
  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    scrollbar-width: none; /* Firefox */
  }
}@media (max-width: 1080px) {
  .nav-links::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30px;

    background: linear-gradient(to left, #eef4ff, transparent);
    pointer-events: none;
  }
}
/* ===================== DROPDOWN ===================== */
.dropdown {
	position: relative;
}

.dropdown-content {
	position: absolute;
	top: 55px;
	left: 50%;
	transform: translate(-50%, -10px);
	min-width: 200px;
	background: var(--color-white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition: var(--transition);
}

.dropdown-content a {
	display: block;
	padding: 12px;
	font-size: 16px;
	color: #000000;
}

.dropdown.active .dropdown-content {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	pointer-events: auto;
}

/* ===================== BUTTON ===================== */
button, .nav-cta {
	font-size: 20px;
	padding: 14px 26px;
	background: var(--color-primary);
	color: var(--color-white);
	border: none;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	transition: background var(--transition);
  	font-weight: 600;
	letter-spacing: 0.5px;
}

button:hover {
	background: var(--color-accent);
	cursor: pointer;
	transform: translateY(-1px);
}

/* ===================== HERO ===================== */
.hero {
	position: relative;
	overflow: hidden;
	padding: 120px 20px;
	color: #FFFFFF;
	background: linear-gradient(135deg, #0c3a80 0%, #2f6fed 70%, #8bb8ff 100%);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(190, 190, 190, 0.15) 2px, transparent 2px);
	background-size: 25px 25px;
	opacity: 0.95;
}

.hero-content,
.cta-content {
	position: relative;
	z-index: 2;
}

.hero-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 80px;
	max-width: 1400px;
	margin: auto;
}

.hero p {
	font-size: 36px;
	max-width: 1000px;
	margin: 0 auto 25px;
	line-height: 1.4;
}

.hero-text {
	flex: 1;
	text-align: left;
}

.hero-text p {
	font-size: 40px;
	font-weight: 500;
}

.hero-text button {
	margin-top: 20px;
}

.hero-image img {
	width:730px;
	max-width: 100%;
	border-radius: 12px;
}

/* ===================== SPLIT SECTIONS ===================== */
.split {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
	max-width: 1100px;
	margin: auto;
}

.split-image img {
	width: 550px;
	border-radius: 12px;
}


.split-text {
	max-width: 500px;
	text-align: left;
}

/* ===================== SECTIONS ===================== */
.section {
	position: relative;
	padding: 120px 20px;
	text-align: center;

}


.section:nth-child(even) {
	background: #f7f9fc;
}

/* ABOUT */
#about {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
	background: #ffffff;
}

#about img {
	width: 500px;
	max-width: 100%;
	border-radius: 10px;
}

#about p {
	width: 500px;
	max-width: 100%;
}


.whoweserve-title {
  color: #0d3a9b;
  font-size: 40px;
  margin-bottom: 10px;
 
}
/* ===================== WHAT WE DO (FLOATING CARD) ===================== */

.whatwedo-section {
  background: linear-gradient(
    to bottom,
    var(--color-primary) 0%,
    var(--color-primary) 55%,
    #f4f6f9 55%,
    #f4f6f9 100%
  );
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}


.whatwedo-title {
  color: #0d3a9b;
  font-size: 40px;
  margin-bottom: 10px;
  margin-top: 120px;
}

.whatwedo-sub {
  color: #464646;
  font-size: 20px;
  margin-bottom:0px;
}


.whatwedo-card {
  max-width: 1100px;
  margin: auto;
  padding: 50px 40px;

  background: #ffffff;
  border-radius: 16px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;

  box-shadow: 0 25px 60px rgba(0,0,0,0.15);

 
  position: relative;
  transform: translateY(90px);
}

/* Items */
.whatwedo-item {
  text-align: center;
}

.whatwedo-item img {
  width: 50px;
  margin-bottom: 15px;
  filter: invert(33%) sepia(82%) saturate(1400%) hue-rotate(200deg);
}

.whatwedo-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.whatwedo-item p {
  font-size: 15px;
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {
  .whatwedo-card {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .whatwedo-card {
    grid-template-columns: 1fr;
  }
}
#promise {
	background: linear-gradient(to bottom, #f7f9fc, #ffffff);
	padding-top: 140px;
}


#promise p {
	font-size: 22px;
	line-height: 1.8;
	margin-bottom: 50px;
}
/* ===================== SERVICES ===================== */
.services {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 40px;
	margin-top: 40px;
  	border-radius: 16px;
}

.service {
	width: 180px;
	padding: 20px;
	text-align: center;
	background: #FFFFFF;
	border-radius: 12px;
	border: 1px solid #e5e5e5;
	transition: 0.25s ease;
}

.service img {
	width: 60px;
	margin-bottom: 10px;
}

.service:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ===================== BENEFITS GRID ===================== */
.section-sub {
	font-size: 20px;
	color: #555;
	margin-bottom: 40px;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	max-width: 1100px;
	margin: auto;
}

.benefit {
	background: #FFFFFF;
	padding: 30px 20px;
	border-radius: 14px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
	transition: 0.25s ease;
}

.benefit:hover {
	transform: translateY(-6px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.benefit img {
	width: 50px;
	margin-bottom: 15px;
	filter: invert(27%) sepia(88%) saturate(1500%) hue-rotate(210deg);
}

.benefit h4 {
	font-size: 18px;
	margin-bottom: 8px;
	color: var(--color-primary);
}

.benefit p {
	font-size: 16px;
	color: #555;
}

/* ===================== CTA ===================== */
#ctabreak {
	position: relative;
	overflow: hidden;
	margin: 60px 20px;
	padding: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;

	color: var(--color-white);
	font-size: var(--font-large);

	border-radius: 20px;
	background: linear-gradient(135deg, #0c3a80, #3f7bff);
}

.cta-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
}

.cta-content img {
	width: 350px;
	border-radius: 10px;
}
#ctabreak {
	position: relative;
	margin: 100px auto;
	padding: 60px 40px;
	max-width: 1100px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 24px;

	color: var(--color-white);

	box-shadow: 0 25px 60px rgba(0,0,0,0.12);
	border: 2px solid #e6ecf5;
}

#ctabreak::before {
	display: none; 
}

.cta-content {
	display: flex;
	align-items: center;
	gap: 60px;
}

.cta-content p {
	font-size: 36px;
	font-weight: 600;
	color: var(--color-white);
}

.cta-content button {
	font-size: 22px;
	padding: 16px 32px;
	background: var(--color-accent);
	box-shadow: 0 8px 20px rgba(0, 26, 78, 0.4);
}

.cta-content button:hover {
	background: var(--color-hover);
	transform: translateY(-2px);
}

.promises {
	max-width: 900px;
}
/* ===================== CARDS ===================== */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
	max-width: 1000px;
	margin: auto;
}

.card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 25px;

	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #e6ecf5;

	box-shadow: 0 10px 25px rgba(0,0,0,0.06);
	transition: all 0.3s ease;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(0,0,0,0.12);
	border-color: #cddcff;
}

.cardimg {
	max-width: 110px;
	max-height: 150px;
	object-fit: cover;
	border-radius: 47%;
	border: 3px solid #e6ecf5;
}

.cardcontent h3 {
	margin: 0;
	text-align: left;
	font-size: 35px;
	color: var(--color-primary);
}

.cardcontent p {
	font-size: 16px;
	margin-top: 5px;
	text-decoration: none;
	color: #555;
	text-align: left;
}
/* ===================== FOOTER ===================== */
.footer {
  background: var(--color-primary);
  color: white;
  padding: 60px 20px 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h4 {
  margin-bottom: 15px;
}

.footer-col a {
  display: block;
  color: #cfe0ff;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.8;
}

/*====================== REVIEWS ========================*/


.reviews-wrapper {
  position: relative;
  max-width: 900px;
	margin-left: auto; margin-right: auto;
  display: flex;
  align-items: center;
}



.review-card {
 width: fit-content;margin-left: auto; margin-right: auto;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  border: 1px solid #e6ecf5;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.quote {
  font-size: 70px;
  color: var(--color-accent);
  line-height: 0;
  margin-bottom: 20px;
}

/* Text */
.review-text {
  font-size: 20px;
  color: #555;
  line-height: 1.7;
}

.full {
  display: none;
}

.read-more {
  color: #888;
  cursor: pointer;
  font-size: 16px;
  margin-left: 6px;
}

.read-more:hover {
  color: var(--color-accent);
}

/* Name */
.review-card h4 {
  margin-top: 20px;
  color: var(--color-primary);
}


/* Mobile */
@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }

  .review-card {
    min-width: 90%;
  }
}
/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
	.benefits-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.benefits-grid {
		grid-template-columns: 1fr;
	}
}

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
	:root {
		--nav-height: 80px;
	}

	.hero-content,
	.split,
	.cta-content {
		flex-direction: column;
		text-align: center;
	}

	.hero-text,
	.split-text {
		text-align: center;
	}

	.medResLogo {
		max-width: 150px;
		position: absolute;
		top: 20px;
		left: 15px;
	}

	.menu-toggle {
		display: flex;
		position: absolute;
		right: 20px;
		top: 25px;
		flex-direction: column;
		gap: 5px;
	}

	.menu-toggle span {
		width: 28px;
		height: 3px;
		background: #000000;
	}

	.nav-links {
		position: absolute;
		top: var(--nav-height);
		width: 100%;
		display: none;
		flex-direction: column;
		background: #eef4ff;
	}

	.nav-links.active {
		display: flex;
	}

	

	.whoweserve-core .core-wrapper {
		height: auto;
	}

	.whoweserve-core .core-center {
		position: relative;
		transform: none;
		margin-bottom: 20px;
	}

	.whoweserve-core .core-item {
		position: static;
		transform: none;
		margin: 20px auto;
	}
}

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

.get-connected-btn {
  display: grid;
 
  gap: 30px;

  margin: 60px auto 0;
}

.herotext-p {
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto 0;
}

.pricing-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e6ecf5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.pricing-card h3 {
  font-size: 22px;
  color: var(--color-primary);
}

.price {
  font-size: 42px;
  font-weight: 700;
  margin: 20px 0;
  color: var(--color-accent);
}

.price span {
  font-size: 18px;
  color: #666;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.pricing-card li {
  margin: 10px 0;
  color: #555;
}


.featured {
  border: 2px solid var(--color-accent);
  transform: scale(1.0);
}

.featured .price {
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }
}