/* view/css/index.css */
:root {
  /* Core Colors (Nature & Forest Theme) */
  --primary: #2E4F2F;         /* Forest Green */
  --primary-light: #4F8053;   /* Moss Green */
  --primary-dark: #1A331C;    /* Deep Woodland */

  --bg: #F4F7F3;              /* Light Leaf Mist */
  --text: #2B2B2B;            /* Dark Bark */
  --text-muted: #6F7B68;      /* Soft Fern Grey */
  --text-inverse: #d8f8c5;    /* Pale Mint Green */

  --bg-card: #FFFFFF;         /* Clean Light Panel */
  --border: #C9D5C4;          /* Soft Sage Border */
  --shadow: rgba(46, 79, 47, 0.15); /* Forest Shadow */
  --shadow-primary: rgba(79, 128, 83, 0.25);

  /* Accent Colors */
  --accent: #649d5e;          /* Earthy Brown */
  --accent-secondary: #556B2F;/* Olive Grove */
  --overlay: rgba(46, 79, 47, 0.1);  /* Forest Overlay */
  --particle: rgba(79, 128, 83, 0.08); /* Moss Particle */
}

.darkmode {
  --bg: #121A12;              /* Forest Night */
  --text: #EAEFE7;            /* Light Mist Text */
  --text-muted: #9AA995;      /* Muted Moss Grey */
  --bg-card: #1C241C;         /* Deep Forest Panel */
  --border: #2A352B;          /* Dark Woodland Border */
  --shadow: rgba(0, 0, 0, 0.5); /* Strong Depth Shadow */
  --text-inverse: #060a06;    /* Dark Canopy */

  /* Dark Accents */
  --accent: #0b2a08;          /* Bark Accent */
  --accent-secondary: #6F8F55;/* Woodland Olive */
}





/* General Reset */ 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loader */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  display: flex;
  gap: 10px;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-inverse);
  animation: pulse 1.5s ease-in-out infinite;
}

.circle:nth-child(2) {
  animation-delay: 0.2s;
}

.circle:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Particles Background */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--particle);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

.particle:nth-child(1) {
  width: 20px;
  height: 20px;
  top: 20%;
  left: 10%;
  animation-duration: 20s;
}

.particle:nth-child(2) {
  width: 15px;
  height: 15px;
  top: 60%;
  left: 80%;
  animation-duration: 25s;
}

.particle:nth-child(3) {
  width: 25px;
  height: 25px;
  top: 40%;
  left: 30%;
  animation-duration: 18s;
}

.particle:nth-child(4) {
  width: 10px;
  height: 10px;
  top: 80%;
  left: 50%;
  animation-duration: 22s;
}

.particle:nth-child(5) {
  width: 18px;
  height: 18px;
  top: 30%;
  left: 70%;
  animation-duration: 17s;
}

.particle:nth-child(6) {
  width: 12px;
  height: 12px;
  top: 70%;
  left: 20%;
  animation-duration: 23s;
}

.particle:nth-child(7) {
  width: 22px;
  height: 22px;
  top: 50%;
  left: 90%;
  animation-duration: 19s;
}

.particle:nth-child(8) {
  width: 14px;
  height: 14px;
  top: 10%;
  left: 40%;
  animation-duration: 21s;
}

.particle:nth-child(9) {
  width: 16px;
  height: 16px;
  top: 90%;
  left: 60%;
  animation-duration: 24s;
}

.particle:nth-child(10) {
  width: 8px;
  height: 8px;
  top: 25%;
  left: 5%;
  animation-duration: 16s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* Fixed Header */
#fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--overlay);
  backdrop-filter: blur(10px);
  color: var(--text-inverse);
  box-shadow: 0 2px 15px var(--shadow);
  padding: 15px 0;
  transition: all 0.3s ease;
}

#fixed-header.scrolled {
  padding: 10px 0;
  background-color: var(--overlay);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo h2 {
  color: var(--text);
  font-weight: 700;
}

.navbar nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.navbar nav ul li a {
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.navbar nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after,
.navbar nav ul li a.active::after {
  width: 100%;
}

.navbar nav ul li a:hover {
  color: var(--primary-light);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-inverse);
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.hero-text {
  flex: 1;
  color: var(--text reverse);

}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px var(--shadow);
  animation: float-image 5s ease-in-out infinite;
}

@keyframes float-image {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero h2 {
  font-size: 3rem;
  color: var(--bg-card);
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn.register {
  background-color: var(--primary-light);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px var(--shadow-primary);
}

.btn.register:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

.btn.signin {
  background-color: transparent;
  color: var(--text-inverse);
  border: 2px solid var(--text-inverse);
}

.btn.signin:hover {
  background-color: var(--text-inverse);
  color: var(--primary);
  transform: translateY(-3px);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* Scrolling Message */
.scrolling-message-container {
  background: var(--overlay);
  margin-top: 40px;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.scrolling-message {
  white-space: nowrap;
  animation: scroll 15s linear infinite;
  color: var(--accent);
  font-weight: 500;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--bg);
}

.services header {
  text-align: center;
  margin-bottom: 60px;
}

.services header h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.services header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(20, 153, 165, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary-light);
}

.feature h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-card) 100%);
}

.pricing header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.pricing header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.pricing-table-container {
  overflow-x: auto;
  margin-bottom: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.pricing table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.pricing table th, 
.pricing table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing table th {
  background-color: var(--primary);
  color: var(--text-inverse);
  font-weight: 600;
  text-transform: uppercase;
}

.pricing table td {
  color: var(--text);
}

.pricing table tr:last-child td {
  border-bottom: none;
}

.pricing table tr:hover td {
  background-color: rgba(20, 153, 165, 0.05);
}

.currency {
  font-size: 0.9em;
  vertical-align: super;
}

.duration {
  font-size: 0.9em;
  color: var(--text-muted);
}

.pricing-cta {
  text-align: center;
}

.pricing-button {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-inverse);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.pricing-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form-container {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.contact-form header h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-muted);
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.input-icon input,
.input-icon textarea {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-card);
  color: var(--text);
}

.input-icon input:focus,
.input-icon textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(20, 153, 165, 0.2);
  outline: none;
}

.input-icon textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background-color: var(--primary);
  color: var(--text-inverse);
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-primary);
}

.contact-info {
  background: var(--primary);
  color: var(--text-inverse);
  padding: 40px;
  border-radius: 15px;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: var(--bg-card);
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-info hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 25px 0;
}

.contact-info ul {
  list-style: none;
  margin-bottom: 30px;
}

.contact-info ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info ul li i {
  margin-right: 10px;
  font-size: 0.9rem;
  width: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-inverse);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--text-inverse);
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.footer-section p {
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-light);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-inverse);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icons li a:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background: var(--primary);
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: var(--primary);
  color: var(--text-inverse);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px var(--shadow);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-switcher:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 1000;
  background: var(--primary-light);
  color: var(--text-inverse);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text, .hero-image {
    flex: none;
    width: 100%;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .navbar nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow);
  }
  
  .navbar nav.active ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links, .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 100px 0 40px;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .services, .pricing, .contact {
    padding: 60px 0;
  }
  
  .contact-form-container, .contact-info {
    padding: 25px;
  }
  
  .theme-switcher, .scroll-top-btn {
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-top-btn {
    bottom: 80px;
  }
}