/* ==========================================================================
   NEMI PHARMACEUTICALS - MODERN DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

:root {
  --primary: #006699;
  --primary-dark: #004b73;
  --primary-light: #e6f2f8;
  --accent: #00b4d8;
  --accent-light: #caf0f8;
  --teal-glow: #0d9488;
  --dark: #0f172a;
  --slate: #334155;
  --slate-light: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 102, 153, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  color: var(--slate);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

/* Glassmorphism Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 0.75rem 0;
}

#header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  max-height: 48px;
  object-fit: contain;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.03);
}

/* Navigation Bar */
.navbar ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.navbar a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.navbar a:hover,
.navbar a.active {
  color: var(--primary);
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* Header Contact & Social Links */
.header-contact-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.phone-badge:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 102, 153, 0.25);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.social-links a.whatsapp:hover {
  background: #25D366;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.75rem;
  color: var(--dark);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
  z-index: 1002;
  position: relative;
}



/* Main Content Spacing */
#main {
  margin-top: 75px;
  flex: 1 0 auto;
}

/* Dynamic Stunning Hero Section */
.hero {
  position: relative;
  padding: 6rem 0 5rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.12) 0%, rgba(255, 255, 255, 0) 55%),
              radial-gradient(circle at 10% 80%, rgba(0, 102, 153, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
              linear-gradient(135deg, #f0f7fb 0%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.2), transparent 70%);
  animation: pulse-glow 6s infinite ease-in-out;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(0, 102, 153, 0.1), rgba(0, 180, 216, 0.15));
  color: var(--primary-dark);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.12;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero p {
  font-size: 1.08rem;
  color: var(--slate);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0, 102, 153, 0.28);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 102, 153, 0.38);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--white);
  color: var(--primary);
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-3px);
}

.hero-image-wrapper {
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.hero-image-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-image-card img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.floating-pill-badge {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.floating-pill-badge i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Stats Counter Section */
.stats-section {
  padding: 3.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  text-align: center;
}

.stat-card {
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  background: var(--white);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-light);
}

/* Section Header */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  position: relative;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0.5rem auto 0 auto;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--slate-light);
  max-width: 650px;
  margin: 0 auto;
}

/* Features Grid */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--slate-light);
  font-size: 0.95rem;
}

/* Homepage Divisions Showcase Cards */
.divisions-showcase {
  padding: 5rem 0;
  background: var(--white);
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.division-card {
  background: var(--light-bg);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.division-card:hover {
  background: var(--white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.division-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.division-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.division-card p {
  font-size: 0.88rem;
  color: var(--slate-light);
  margin-bottom: 1.25rem;
}

.division-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.division-card:hover .division-link {
  color: var(--accent);
}

/* Homepage Journey Timeline */
.timeline-section {
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: var(--radius-full);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--primary);
  top: 24px;
  border-radius: 50%;
  z-index: 1;
}

.left-item {
  left: 0;
}

.right-item {
  left: 50%;
}

.right-item::after {
  left: -10px;
}

.timeline-content {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.timeline-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--slate-light);
}

/* Call to Action Banner */
.cta-banner {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem auto;
  opacity: 0.9;
}

.cta-btn {
  background: var(--white);
  color: var(--primary-dark);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.cta-btn:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* About & Team Styles */
.about-section {
  padding: 4rem 0 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.about-card img {
  max-height: 180px;
  margin: 0 auto 1.5rem auto;
}

.about-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-align: justify;
}

.highlights-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.highlight-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.team-section {
  padding: 4.5rem 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-img {
  width: 40%;
  min-height: 100%;
  object-fit: cover;
}

.team-info {
  width: 60%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-info h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.team-info h6 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.team-info p {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--slate-light);
}

/* Products & Divisions Grid */
.products-section, .divisions-section {
  padding: 4rem 0 5rem 0;
}

.filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--white);
  color: var(--slate);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 102, 153, 0.2);
}

.search-box-wrap {
  max-width: 450px;
  margin: 0 auto 2.5rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 153, 0.1);
}

.search-box-wrap i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-light);
  font-size: 1.1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-thumb {
  position: relative;
  padding: 1.5rem;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  overflow: hidden;
}

.product-thumb img {
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.product-card:hover .product-thumb img {
  transform: scale(1.08);
}

.product-brand-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 102, 153, 0.9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  pointer-events: none;
}

.product-details {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.product-details p {
  font-size: 0.85rem;
  color: var(--slate-light);
}

.whatsnew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.new-product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.new-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.new-product-img {
  height: 260px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: pointer;
}

.new-product-img img {
  max-height: 100%;
  object-fit: contain;
}

.new-product-content {
  padding: 2rem;
}

.new-product-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 0.4rem;
}

.spec-label {
  font-weight: 700;
  color: var(--slate);
}

.spec-value {
  color: var(--primary-dark);
  font-weight: 600;
}

.pdf-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.pdf-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.pdf-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff0f0;
  color: #e53e3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.pdf-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.pdf-card:hover .btn-pdf {
  background: var(--primary);
  color: var(--white);
}

.contact-section {
  padding: 4rem 0 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

.contact-info-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.info-details p {
  color: var(--slate-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--light-bg);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 102, 153, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Modal Lightbox for Images */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  text-align: center;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--slate);
  background: var(--light-bg);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.modal-content img {
  max-height: 70vh;
  margin: 0 auto 1rem auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* Footer Section */
#footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info img {
  max-height: 50px;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.footer-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

.visitor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.visitor-count-number {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Back to Top & Floating WhatsApp */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 990;
}

.back-to-top.active {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-4px);
}

.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: var(--transition);
}

.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.1);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    position: relative;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25) !important;
    padding: 5rem 2rem 2rem 2rem;
    transition: all 0.3s ease-in-out;
    z-index: 999999 !important;
    overflow-y: auto;
  }

  .navbar.navbar-mobile {
    right: 0 !important;
  }

  .nav-backdrop {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }

  .navbar a {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b !important;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
  }

  .right-item {
    left: 0%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .header-contact-wrap {
    display: none;
  }

  .floating-pill-badge {
    left: 0;
    bottom: -1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}