/* ===== STRIPE-INSPIRED PHARMACY WEBSITE CSS ===== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

/* ===== CSS VARIABLES ===== */
:root {
  /* General Colors */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-400: #9aa0a6;
  --gray-500: #5f6368;
  --gray-600: #3c4043;
  --gray-700: #202124;
  --gray-800: #1a1a1a;
  --gray-900: #0d1117;
  
  /* Text Colors */
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-light: #9aa0a6;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Default Colors (General/Index pages) */
  --primary: #007BFF;
  --primary-light: #1E90FF;
  --primary-dark: #0056b3;
  --accent: #FF6B35;
  --accent-light: #ff8c5a;
  --accent-dark: #e55a2b;
}

/* ===== MOBILE MENU STYLES ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
    z-index: 1001;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-fast);
    min-height: 44px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* Ensure buttons and interactive elements have proper touch targets */
button, .btn, a[role="button"], .nav-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Improve touch feedback */
button:active, .btn:active, a:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Make sure form elements are touch-friendly */
input, select, textarea, button, .btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== PAGE-SPECIFIC COLOR SCHEMES ===== */
/* Pharmacy Pages */
.pharmacy {
  --primary: #1E90FF;
  --primary-light: #4A9EFF;
  --primary-dark: #1A7AE6;
  --accent: #FF6B35;
  --accent-light: #ff8c5a;
  --accent-dark: #e55a2b;
}

/* Hospital Pages */
.hospital {
  --primary: #20C997;
  --primary-light: #4DD4A7;
  --primary-dark: #1BA085;
  --accent: #35ff5d;
  --accent-light: #ff8c5a;
  --accent-dark: #e55a2b;
}

/* ===== LAYOUT & SPACING ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.text-center {
  text-align: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.lead {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  outline: none;
  min-height: 52px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  position: relative;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-full);
}

.btn-secondary:hover {
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary span {
  position: relative;
  z-index: 1;
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--font-size-lg);
  font-weight: 600;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--font-size-lg);
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: var(--font-size-base);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 16px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  display: inline-block;
}

.nav-link:hover {
  color: var(--primary) !important;
  background-color: rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
  border: 1px solid rgba(0, 123, 255, 0.2);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 80%;
  background-color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 8rem 0 var(--spacing-3xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.hero-text .lead {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: none;
}

/* ===== HERO IMAGE CAROUSEL ===== */
.hero-image-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  border-radius: 16px;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 2;
}

.carousel-prev, .carousel-next {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-prev:hover, .carousel-next:hover {
  background: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ===== CEO PROFILE SECTION ===== */
.ceo-profile {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 4rem 0;
}

.ceo-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.ceo-image {
  position: relative;
}

.ceo-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  margin: 0 auto;
  display: block;
}

.ceo-image:hover img {
  transform: none;
}

.ceo-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.ceo-info h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.ceo-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.ceo-signature {
  border-top: 2px solid var(--primary);
  padding-top: 1rem;
}

.ceo-signature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-style: normal;
}

/* ===== CAREER SLIDESHOW ===== */
.career-slideshow {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 4rem 0;
}

.career-slideshow-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.career-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.career-slide.active {
  opacity: 1;
}

.career-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.career-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.career-slide-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.career-slide-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.career-slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 4;
}

.career-prev-slide, .career-next-slide {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.career-prev-slide:hover, .career-next-slide:hover {
  background: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.career-slide-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.career-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.career-indicator.active {
  background: var(--primary);
  transform: scale(1.2);
}

.career-indicator:hover {
  background: var(--primary);
  opacity: 0.8;
}

/* ===== SERVICES SECTIONS ===== */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-2xl);
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
}

.service-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== ABOUT SECTIONS ===== */
.about {
  background-color: var(--gray-50);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text {
  padding-right: 2rem;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: none;
}

/* ===== CONTACT SECTIONS ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.contact-method {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

.contact-method h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.contact-method p {
  color: var(--text-secondary);
  margin: 0;
}

/* ===== LOCATIONS INFO BADGES ===== */
.locations-info {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}

.info-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 25px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.info-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* ===== LOCATIONS SECTIONS ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.location-card {
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.location-card:hover::before {
  transform: scaleX(1);
}

.location-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-md);
}

.location-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.location-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-base);
}

.location-card p:last-child {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

/* ===== HIGHLIGHT SECTIONS ===== */
.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.highlight h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.highlight p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.highlight .btn {
  background-color: var(--white);
  color: var(--primary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.highlight .btn:hover {
  background-color: var(--gray-100);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-xl);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-sm);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ===== CAREERS PAGE STYLES ===== */
.job-openings {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
  font-weight: 700;
  line-height: 1.2;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.job-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.job-card-inner {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.job-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 123, 255, 0.1);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-badge i {
  font-size: 0.9rem;
}

.job-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.job-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.job-title h3 {
  font-size: 1.4rem;
  color: var(--gray-800);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.job-meta i {
  margin-right: 0.3rem;
  color: var(--gray-400);
}

.job-content {
  margin-bottom: 1.5rem;
  flex: 1;
}

.job-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.job-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.job-features span {
  display: inline-flex;
  align-items: center;
  background: var(--gray-50);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.job-features i {
  color: var(--primary);
  margin-right: 0.4rem;
  font-size: 0.9rem;
}

.job-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

.btn-apply:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.btn-apply i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-apply:hover i {
  transform: translateX(3px);
}

/* Application Section */
#apply-now {
  margin-top: 4rem;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  color: white;
  text-align: center;
}

.apply-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

#apply-now h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

#apply-now p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-email {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 1rem 0;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-email i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.btn-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: var(--primary-dark);
}

.application-tips {
  margin-top: 2rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  display: inline-block;
}

.application-tips p {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.application-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.application-tips li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.application-tips li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
}

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

@media (max-width: 768px) {
  .job-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .job-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .job-features {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .job-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-email {
    width: 100%;
    justify-content: center;
  }
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.job-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.job-location {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.job-details {
  margin-bottom: 1.5rem;
}

.job-details p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.job-requirements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-requirements li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.job-requirements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.job-type {
  background-color: var(--gray-100);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.no-openings-card {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.no-openings-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.no-openings-card:hover::before {
  transform: scaleX(1);
}

.no-openings-content {
  position: relative;
  z-index: 1;
}

.no-openings-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.no-openings-content h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.no-openings-content p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.no-openings-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.process-steps {
  margin-top: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.step-number {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Special layout for pharmacy team only */
.pharmacy-team .team-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  align-items: start;
}

.pharmacy-team .team-grid .team-card:first-child {
  max-width: none;
  margin: 0;
  min-height: auto;
}

.pharmacy-team .team-grid .team-card:first-child .team-image {
  width: 170px;
  height: 170px;
}

.pharmacy-team .team-grid .team-card:not(:first-child) {
  display: block;
  min-height: auto;
}

.pharmacy-team .pharmacy-team .team-grid .team-card:not(:first-child) .team-image {
  width: 130px;
  height: 130px;
}

.team-card {
  background-color: var(--white);
  padding: 1.5rem;
  padding-top: 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-image {
  width: 170px;
  height: 170px;
  margin: 0 auto var(--spacing-lg);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-card:hover .team-image {
  border-color: var(--primary);
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.25);
}

.team-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(255, 107, 53, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.team-card:hover .team-image::before {
  opacity: 1;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 15%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}

/* Hospital team images should fill circles completely - ONLY hospital team */
.team-grid:not(.pharmacy-team) .team-image img {
  object-fit: cover !important;
  object-position: center 10%;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-info h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  font-weight: 600;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: var(--font-size-base);
}

/* ===== SPECIALIZED SERVICES ===== */
.specialized-list {
  margin-top: 2rem;
}

.specialty-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.specialty-item:last-child {
  border-bottom: none;
}

.specialty-item h4 {
  color: var(--primary);
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

.specialty-item p {
  color: var(--text-secondary);
  margin: 0;
  font-size: var(--font-size-base);
}

/* ===== EMERGENCY INFO ===== */
.emergency-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-top: 2rem;
}

.emergency-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.emergency-item h3 {
  color: var(--white);
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

.emergency-item p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: var(--font-size-base);
}

/* ===== CONTACT CARDS ===== */
.contact-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.contact-card .contact-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

.contact-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

/* ===== LOCATIONS GRID ===== */
.locations-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.location-item {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.location-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.location-item h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  font-weight: 600;
}

.location-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: var(--font-size-base);
}

.location-item .location-contact {
  margin-top: var(--spacing-sm);
}

.location-item .location-contact a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.location-item .location-contact a:hover {
  color: var(--primary-dark);
}

.location-hours {
  color: var(--accent);
  font-weight: 500;
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
}

/* ===== VALUES SECTION ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.value-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
  color: var(--accent);
}

.value-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  font-weight: 600;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== WELCOME POPUP ===== */
.welcome-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.welcome-popup.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  margin: 0 auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.welcome-popup.show .popup-content {
  transform: scale(1);
}

.popup-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 1.5rem;
  border-radius: 16px 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h3 {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: 600;
}

.popup-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.popup-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.popup-body {
  padding: 2rem;
  text-align: center;
}

.popup-body p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: var(--font-size-lg);
  line-height: 1.6;
}

.popup-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-actions .btn {
  min-width: 140px;
}

/* ===== AI CHAT WIDGET ===== */
.ai-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: var(--font-primary);
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/ai.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1001;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 500px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--gray-200);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.open {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.chat-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.chat-message.user {
  background: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-message.bot {
  background: var(--gray-100);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-input-container {
  padding: 1rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 25px;
  font-size: var(--font-size-sm);
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-send:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero {
    padding: 6rem 0 var(--spacing-xl);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: var(--font-size-4xl);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .about-text {
    padding-right: 0;
  }
  
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .locations-grid {
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }

  .location-item {
    padding: var(--spacing-md);
  }

  .location-item h3 {
    font-size: var(--font-size-base);
  }
  
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 600px;
  }

  .team-card {
    min-height: 280px;
  }

  .team-image {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--spacing-sm);
  }
  
  .emergency-info {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel-container {
    height: 300px;
  }

  .carousel-slide img {
    height: 300px;
  }
  
  .chat-window {
    width: 300px;
    height: 400px;
    bottom: 70px;
    right: -10px;
  }
  
  .popup-content {
    max-width: 350px;
    margin: 1rem;
  }
  
  .popup-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .popup-actions .btn {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .locations-grid {
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }

  .location-item {
    padding: 1.25rem;
  }

  .location-item h3 {
    font-size: var(--font-size-base);
  }

  .location-item .location-icon {
    font-size: 2rem;
  }

  .location-item .location-contact a {
    font-size: var(--font-size-sm);
  }

  .locations-info {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
  }

  .info-badge {
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .carousel-container {
    height: 250px;
  }

  .carousel-slide img {
    height: 250px;
  }

  .carousel-nav {
    padding: 0 0.5rem;
  }

  .carousel-prev, .carousel-next {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== INTERACTIONS ===== */
a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

a:hover {
  color: var(--primary-dark);
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}