﻿/**
 * CSS Variables
 *
 * @format
 */

:root {
	--background: 215 40% 98%;
	--foreground: 220 30% 15%;

	--card: 0 0% 100%;
	--card-foreground: 220 30% 15%;

	--popover: 0 0% 100%;
	--popover-foreground: 220 30% 15%;

	--primary: 220 85% 30%;
	--primary-foreground: 0 0% 100%;

	--secondary: 215 60% 95%;
	--secondary-foreground: 220 85% 30%;

	--muted: 215 30% 95%;
	--muted-foreground: 215 15% 50%;

	--accent: 100 65% 59%;
	--accent-foreground: 220 85% 15%;

	--destructive: 0 84.2% 60.2%;
	--destructive-foreground: 210 40% 98%;

	--border: 215 25% 90%;
	--input: 215 25% 90%;
	--ring: 220 85% 30%;

	--radius: 0.75rem;

	/* Custom pharma tokens */
	--pharma-blue: 220 85% 30%;
	--pharma-blue-light: 214 72% 49%;
	--pharma-green: 145 63% 49%;
	--pharma-green-light: 100 65% 59%;
	--pharma-surface: 216 47% 97%;
	--gradient-primary: linear-gradient(
		135deg,
		hsl(214, 72%, 49%),
		hsl(145, 63%, 49%)
	);
	--gradient-hero: linear-gradient(
		160deg,
		hsl(220, 85%, 30%) 0%,
		hsl(214, 72%, 49%) 50%,
		hsl(145, 63%, 49%) 100%
	);
	--shadow-card: 0 4px 24px -4px hsla(220, 85%, 30%, 0.08);
	--shadow-card-hover: 0 12px 40px -8px hsla(220, 85%, 30%, 0.15);
}


.btn:hover{
	background-color: hsl(var(--primary));
}

/* NAV BASE */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
}

/* LINKS */
.nav-left,
.nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: 0.3s;
}

.nav-link:hover {
  color: #2563eb;
}

/* LOGO */
.logo {
  height: 50px;
}

/* ICON BUTTON */
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 15px 20px;
  background: white;
  border-top: 1px solid #eee;
}

.mobile-menu a {
  padding: 10px 0;
}

/* ACTIVE STATE */
.mobile-menu.active {
  display: flex;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .nav-left,
  .nav-right {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .logo {
    height: 40px;
  }
}

/* Base Styles */
* {
	border-color: hsl(var(--border));
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: 'Inter', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.certificate-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

.certificate-popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
}

p {
	line-height: 1.6;
}

/* Gradient Classes */
.gradient-text {
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-image: var(--gradient-primary);
}

.gradient-bg {
	background-image: var(--gradient-primary);
}

.gradient-hero-bg {
	background-image: var(--gradient-hero);
}

/* Utility Classes */
.pharma-surface {
	background-color: hsl(var(--pharma-surface));
}

.card-shadow {
	box-shadow: var(--shadow-card);
}

.card-shadow-hover {
	box-shadow: var(--shadow-card-hover);
}

/* Navbar Styles */
nav {
	background-color: hsla(var(--card), 0.8);
	backdrop-filter: blur(10px);
	border-bottom-color: hsl(var(--border));
}

.bg-card {
	background-color: hsl(var(--card));
}

.bg-card\/80 {
	background-color: hsla(var(--card), 0.8);
}

.border-border {
	border-color: hsl(var(--border));
}

.text-foreground {
	color: hsl(var(--foreground));
}

.text-primary {
	color: hsl(var(--primary));
}

.text-primary-foreground {
	color: hsl(var(--primary-foreground));
}

.text-muted-foreground {
	color: hsl(var(--muted-foreground));
}

.text-pharma-blue-light {
	color: hsl(var(--pharma-blue-light));
}

.text-pharma-green-light {
	color: hsl(var(--pharma-green-light));
}

.bg-background {
	background-color: hsl(var(--background));
}

.bg-primary-foreground {
	background-color: hsl(var(--primary-foreground));
}

.bg-pharma-surface {
	background-color: hsl(var(--pharma-surface));
}

.focus\:ring-primary\/20:focus {
	--tw-ring-color: hsla(var(--primary), 0.2);
}

.focus\:border-primary:focus {
	border-color: hsl(var(--primary));
}

.font-heading {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.font-body {
	font-family: 'Inter', system-ui, sans-serif;
}

/* Animation - Scroll Fade In */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animated-section {
	animation: fadeInUp 0.6s ease-out forwards;
	animation-delay: var(--delay, 0s);
	opacity: 0;
}

/* Intersection Observer will update this */
.animated-section.in-view {
	animation-play-state: running;
}

/* Smooth transitions */
a,
button {
	transition: all 0.3s ease;
}

input,
textarea,
select {
	transition: all 0.2s ease;
}

/* Focus states */
input:focus,
textarea:focus,
select:focus {
	outline: none;
	ring: 2px;
	ring-offset: 0;
}

/* Form styling */
input[type='text'],
input[type='email'],
textarea,
select {
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	color: hsl(var(--foreground));
}

input[type='text']:focus,
input[type='email']:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: hsl(var(--primary));
	box-shadow: 0 0 0 3px hsla(var(--primary), 0.1);
}

/* Button hover effects */
button {
	cursor: pointer;
}

/* Color helpers */
.opacity-70 {
	opacity: 0.7;
}

.opacity-90 {
	opacity: 0.9;
}

.opacity-50 {
	opacity: 0.5;
}

.opacity-30 {
	opacity: 0.3;
}

/* Hover and transition effects */
.hover\:opacity-90:hover {
	opacity: 0.9;
}

.hover\:opacity-100:hover {
	opacity: 1;
}

.hover\:bg-pharma-green-light\/10:hover {
	background-color: hsla(var(--pharma-green-light), 0.1);
}

.group:hover .group-hover\:scale-110 {
	transform: scale(1.1);
}

.group:hover .group-hover\:shadow-hover {
	box-shadow: var(--shadow-card-hover);
}

.transition-opacity {
	transition: opacity 0.3s ease;
}

.transition-colors {
	transition:
		color 0.3s ease,
		background-color 0.3s ease,
		border-color 0.3s ease;
}

.transition-shadow {
	transition: box-shadow 0.3s ease;
}

.transition-transform {
	transition: transform 0.3s ease;
}

.duration-300 {
	transition-duration: 0.3s;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.container {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.875rem;
	}
}

/* Utility helpers */
.w-full {
	width: 100%;
}

.rounded-lg {
	border-radius: 0.5rem;
}

.rounded-xl {
	border-radius: 0.75rem;
}

.rounded-2xl {
	border-radius: 1rem;
}

.p-4 {
	padding: 1rem;
}

.p-6 {
	padding: 1.5rem;
}

.p-8 {
	padding: 2rem;
}

.p-10 {
	padding: 2.5rem;
}

.p-12 {
	padding: 3rem;
}

.px-4 {
	padding-left: 1rem;
	padding-right: 1rem;
}

.px-8 {
	padding-left: 2rem;
	padding-right: 2rem;
}

.py-3 {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.py-4 {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.py-24 {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.mb-0 {
	margin-bottom: 0;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-3 {
	margin-bottom: 0.75rem;
}

.mb-4 {
	margin-bottom: 1rem;
}

.mb-6 {
	margin-bottom: 1.5rem;
}

.mb-8 {
	margin-bottom: 2rem;
}

.mt-4 {
	margin-top: 1rem;
}

.mt-12 {
	margin-top: 3rem;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.gap-2 {
	gap: 0.5rem;
}

.gap-3 {
	gap: 0.75rem;
}

.gap-4 {
	gap: 1rem;
}

.gap-6 {
	gap: 1.5rem;
}

.gap-8 {
	gap: 2rem;
}

.gap-12 {
	gap: 3rem;
}

.gap-16 {
	gap: 4rem;
}

.flex {
	display: flex;
}

.grid {
	display: grid;
}

.hidden {
	display: none;
}

.block {
	display: block;
}

.items-center {
	align-items: center;
}

.items-start {
	align-items: flex-start;
}

.justify-between {
	justify-content: space-between;
}

.justify-center {
	justify-content: center;
}

.flex-col {
	flex-direction: column;
}

.flex-wrap {
	flex-wrap: wrap;
}

.text-center {
	text-align: center;
}

.text-sm {
	font-size: 0.875rem;
}

.text-lg {
	font-size: 1.125rem;
}

.text-xl {
	font-size: 1.25rem;
}

.text-2xl {
	font-size: 1.5rem;
}

.text-3xl {
	font-size: 1.875rem;
}

.text-4xl {
	font-size: 2.25rem;
}

.text-5xl {
	font-size: 3rem;
}

.text-6xl {
	font-size: 3.75rem;
}

.font-medium {
	font-weight: 500;
}

.font-semibold {
	font-weight: 600;
}

.font-bold {
	font-weight: 700;
}

.leading-tight {
	line-height: 1.25;
}

.leading-relaxed {
	line-height: 1.625;
}

.uppercase {
	text-transform: uppercase;
}

.tracking-widest {
	letter-spacing: 0.1em;
}

.h-full {
	height: 100%;
}

.min-h-\[90vh\] {
	min-height: 90vh;
}

.overflow-hidden {
	overflow: hidden;
}

.inline-block {
	display: inline-block;
}

.flex-shrink-0 {
	flex-shrink: 0;
}

.resize-none {
	resize: none;
}

.border {
	border-width: 1px;
}

.border-t {
	border-top-width: 1px;
}

.border-b {
	border-bottom-width: 1px;
}

.col-span-2 {
	grid-column: span 2 / span 2;
}

/* Media Queries */
@media (max-width: 768px) {
	.hidden {
		display: none;
	}

	.md\:hidden {
		display: none !important;
	}

	.md\:flex {
		display: flex !important;
	}

	.md\:grid {
		display: grid !important;
	}

	.grid-cols-1 {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.md\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.md\:grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.md\:p-8 {
		padding: 2rem;
	}

	.md\:p-10 {
		padding: 2.5rem;
	}

	.md\:px-8 {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.md\:gap-8 {
		gap: 2rem;
	}

	.md\:text-lg {
		font-size: 1.125rem;
	}

	.md\:text-xl {
		font-size: 1.25rem;
	}

	.md\:text-2xl {
		font-size: 1.5rem;
	}

	.md\:text-4xl {
		font-size: 2.25rem;
	}

	.md\:text-5xl {
		font-size: 3rem;
	}

	.md\:text-6xl {
		font-size: 3.75rem;
	}

	.md\:col-span-2 {
		grid-column: span 2 / span 2;
	}
}

@media (min-width: 1024px) {
	.lg\:flex {
		display: flex;
	}

	.lg\:grid {
		display: grid;
	}

	.grid-cols-1 {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.lg\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lg\:grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lg\:grid-cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lg\:col-span-2 {
		grid-column: span 2 / span 2;
	}

	.lg\:max-w-\[80ch\] {
		max-width: 80ch;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}


/* header- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-left, .nav-right {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-left, .nav-right { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 100px;
  width: auto;
}

.icon-btn {
  padding: 0.5rem;
  color: var(--foreground);
  transition: color 0.2s;
}

.icon-btn:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}


.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  position: relative;
  transition: 0.3s ease;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

/* ✨ ADD UNDERLINE EFFECT */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: hsl(var(--primary));
  transition: 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.icon-btn {
  padding: 0.5rem;
  color: hsl(var(--foreground));
  transition: 0.3s ease;
}

.icon-btn:hover {
  color: hsl(var(--primary));
  transform: scale(1.1); /* small premium effect */
}

.btn {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  transition: 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.card-shadow {
  box-shadow: var(--shadow-card);
  transition: 0.3s ease;
}

.card-shadow:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}
