:root {
  --primary-color: #4caf50;
  --secondary-color: #1b5e20;
  --accent-color: #8bc34a;
  --light-color: #f1f8e9;
  --dark-color: #2c3e50;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Raleway', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.preloader-hidden {
  opacity: 0;
}

.preloader svg {
  width: 150px;
  height: 150px;
}

.growing-plant {
  transform-origin: center;
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(0.95); }
  100% { transform: scale(1.05); }
}

.pot {
  filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.2));
}

.flower-center {
  filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.1));
}

.petal {
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.1));
}

.leaf {
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.1));
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

h2.centered {
  text-align: center;
}

h2.centered:after {
  left: 50%;
  transform: translateX(-50%);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
}

.btn-accent {
  background-color: var(--accent-color);
}

.text-center {
  text-align: center;
}

/* Header */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  margin-right: 10px;
  transition: var(--transition);
}

.logo span {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  text-align: center;
}

.nav-item:last-child {
  margin-left: 15px;
}

.nav-item .btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-color);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  height: 85vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/headerbackground-768x512.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--light-color), transparent);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero h2:after {
  display: none;
}

.hero .btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Pain Categories Section */
.pain-categories {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.pain-categories h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.category-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.category-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .category-img {
  transform: scale(1.05);
}

.category-content {
  padding: 1.8rem;
  text-align: center;
}

.category-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  background-color: white;
  width: 90%;
  max-width: 650px;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark-color);
  transition: var(--transition);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
  color: var(--accent-color);
  background-color: rgba(0, 0, 0, 0.1);
}

.modal-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.modal-body {
  padding: 0.5rem 0;
}

.modal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: right;
}

/* Timeline Section */
.timeline-section {
  padding: 6rem 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.timeline-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%234caf50' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
  opacity: 0.7;
}

.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 0;
  z-index: 1;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-item {
  padding: 1.5rem 0;
  position: relative;
  width: 50%;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: white;
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  top: 2.2rem;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.timeline-item:nth-child(odd)::before {
  right: -12px;
}

.timeline-item:nth-child(even)::before {
  left: -12px;
}

.timeline-content {
  background-color: white;
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  position: relative;
}

.timeline-content:before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content:before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content:before {
  left: -10px;
}

.timeline-content h3 {
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Call to Action */
.cta-section {
  padding: 7rem 0;
  text-align: center;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--light-color));
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 3.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.cta-container h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.cta-container .btn {
  margin-top: 1rem;
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: white;
  position: relative;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.contact-details {
  background-color: var(--light-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.contact-details h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.contact-details i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.contact-details .btn {
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 1rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  position: relative;
  padding-left: 15px;
}

.footer-column a:before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--accent-color);
  padding-left: 20px;
}

.footer-column a:hover:before {
  left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background-color: white;
    width: 300px;
    height: 100vh;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
  }
  
  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
    margin-left: 0;
  }
  
  .timeline-item::before,
  .timeline-item:nth-child(even)::before {
    left: 16px;
  }
  
  .timeline-item .timeline-content:before,
  .timeline-item:nth-child(even) .timeline-content:before {
    display: none;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .contact-details {
    padding: 2rem 1.5rem;
  }
  
  .about-section .col-md-4 img {
    max-width: 60%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    height: 75vh;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero h2 {
    font-size: 1.2rem;
  }
  
  .modal-content {
    padding: 1.5rem;
  }
}

/* Fix navigation alignment */
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    text-align: center;
}

.nav-item:last-child {
    margin-left: 15px;
}

.nav-item .btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Reduce image size on about me page */
.about-section .col-md-4 img {
    max-width: 80%;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .about-section .col-md-4 img {
        max-width: 60%;
        margin-bottom: 2rem;
    }
} 