@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --primary-dark: #12372A; /* Deepest green, backgrounds */
  --primary-green: #1f4f3b; /* Dark green for cards */
  --accent-green: #48aa42; /* Vibrant green for buttons */
  --accent-green-hover: #1f643e;
  --bg-light: #f5f9f7; /* Very light green tint for sections */
  --white: #ffffff;
  --text-dark: #1b2621;
  --text-light: #8e9b94;
  --font-primary: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 99px;
  
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

.serif-title {
  font-family: var(--font-serif);
}

.text-dark-green { color: var(--primary-dark); }
.text-accent-green { color: var(--accent-green); }

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-solid {
  background-color: var(--accent-green);
  color: var(--white);
  border: 2px solid var(--accent-green);
}

.btn-solid:hover {
  background-color: var(--accent-green-hover);
  border-color: var(--accent-green-hover);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-green);
  border: 2px solid var(--accent-green);
}

.btn-outline:hover {
  background-color: var(--accent-green);
  color: var(--white);
  text-decoration: none;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.8);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-dark);
  text-decoration: none;
}

/* Nav */
.pharmacy-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 15px 0;
  z-index: 1030;
  box-shadow: var(--shadow-sm);
}

.pharmacy-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

.pharmacy-nav .nav-link:hover {
  color: var(--accent-green);
}

/* Dropdown Arrow Rotation */
.pharmacy-nav .dropdown-toggle::after {
  display: none !important;
}
.pharmacy-nav .nav-item.dropdown .arrow-icon {
  transition: transform 0.3s ease;
  display: inline-block;
}

.pharmacy-nav .nav-item.dropdown.show .arrow-icon {
  transform: rotate(180deg);
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
  .pharmacy-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .pharmacy-nav .nav-item.dropdown:hover .arrow-icon {
    transform: rotate(180deg);
  }
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-dark);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(43, 122, 75, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero-title {
  font-size: 4rem;
  font-family: var(--font-serif);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Info Strip */
.info-strip {
  background-color: var(--accent-green);
  color: var(--white);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-item h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.info-item p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services */
.services-section {
  padding: 100px 0;
  background-color: var(--white);
}

.section-label {
  display: inline-block;
  color: var(--accent-green);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.split-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.split-card:hover {
  transform: translateY(-5px);
}

.split-card-top {
  background-color: var(--primary-green);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.split-card-top::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.split-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  z-index: 1;
}

.split-card-bottom {
  background-color: var(--white);
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.split-card-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.split-card-desc {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.split-card-link {
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Treatment Plans */
.treatment-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.treatment-card {
  background: linear-gradient(135deg, #ffffff 0%, #e6f2eb 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.treatment-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-green);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

/* How It Works */
.how-it-works-section {
  padding: 100px 0;
  background-color: var(--primary-dark);
  color: var(--white);
  text-align: center;
}

.step-card {
  padding: 20px;
}

.step-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--accent-green);
  position: relative;
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-green);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--white);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.stars {
  color: #f59e0b;
  margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--primary-dark);
  color: var(--white);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-dark);
}

.form-control {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  margin-bottom: 20px;
}

/* Footer */
.pharmacy-footer {
  background-color: #0d2a20;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 20px;
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-green);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
}
