
:root {
  --ebb: #ffffff;
  --cannon-pink: #914876;
  --everglade: #224e2d;
  --olive-green: #99b24c;
  --text-dark: #1e293b;
  /* --gradient-primary: linear-gradient(135deg, #914876 0%, #b45a8a 50%, #914876 100%); */
  --gradient-secondary: linear-gradient(135deg, #224e2d 0%, #2d6640 50%, #224e2d 100%);
  --gradient-accent: linear-gradient(135deg, #99b24c 0%, #a8c25a 50%, #99b24c 100%);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Premium Navbar */
.custom-navbar {
  /* background: var(--gradient-secondary); */
  background: black;
  backdrop-filter: blur(20px);
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.custom-navbar.scrolled {
  background: black;
  /* background: rgba(145, 72, 118, 0.95); */
  backdrop-filter: blur(30px);
}

.logo {
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.navbar-brand {
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  transition: left 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  left: 0;
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 8px;
  margin: 4px 8px;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #914876 0%, #b45a8a 50%, #914876 100%);
  color: white;
  transform: translateX(8px);
}

/* Enhanced Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.carousel-img {
  height: 100vh;
  min-height: 600px;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.2);
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(145, 72, 118, 0.4) 0%, rgba(34, 78, 45, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  z-index: 3;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #f8fafc;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

.btn-premium {
  background: var(--gradient-accent);
  border: none;
  color: white;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(153, 178, 76, 0.3);
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(153, 178, 76, 0.4);
  color: white;
}

/* Carousel Controls Enhancement */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(153, 178, 76, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background: var(--olive-green);
  transform: scale(1.2);
}

/* Section Backgrounds */
.section-gradient-1 {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.section-gradient-2 {
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 50%, #e6f2ff 100%);
}

.section-gradient-3 {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #e5e7eb 100%);
}

.section-gradient-4 {
  background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 50%, #f1f3f4 100%);
}

.section-gradient-5 {
  background: linear-gradient(135deg, #f6f8fa 0%, #eef2f5 50%, #e1e8ed 100%);
}

/* Color Classes */
.cannon-pink-text {
  color: var(--cannon-pink);
}

.everglade-text {
  color: var(--everglade);
}

.olive-green-text {
  color: var(--olive-green);
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.content-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(145, 72, 118, 0.1);
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(145, 72, 118, 0.15);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(153, 178, 76, 0.1) 0%, rgba(153, 178, 76, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--olive-green);
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.hover-scale {
  transition: transform 0.4s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Stats Section */
.stats-section {
  padding: 100px 0;
}

.stat-card {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(145, 72, 118, 0.1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(145, 72, 118, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
}

.stat-icon {
  font-size: 3.5rem;
  color: var(--cannon-pink);
  margin-bottom: 1rem;
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--olive-green);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cannon-pink);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
  color: var(--everglade);
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  opacity: 0.8;
}

/* Therapeutic Section */
.therapeutic-section {
  padding: 100px 0;
}

.therapy-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 78, 45, 0.1);
}

.therapy-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(153, 178, 76, 0.1), transparent);
  transition: right 0.6s ease;
}

.therapy-card:hover::after {
  right: 0;
}

.therapy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(34, 78, 45, 0.15);
  background: linear-gradient(135deg, rgba(34, 78, 45, 0.02) 0%, rgba(153, 178, 76, 0.02) 100%);
}

.therapy-icon {
  font-size: 3rem;
  color: var(--everglade);
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.therapy-card:hover .therapy-icon {
  transform: scale(1.1);
  color: var(--olive-green);
}

.therapy-content h5 {
  color: var(--everglade);
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.therapy-card:hover .therapy-content h5 {
  color: var(--cannon-pink);
}

.therapy-content p {
  color: var(--text-dark);
  opacity: 0.8;
  margin: 0;
  line-height: 1.6;
}

/* Brands Section */
.brands-section {
  padding: 100px 0;
}

.brand-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  border: 1px solid rgba(145, 72, 118, 0.1);
}

.brand-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(145, 72, 118, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.brand-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(20%, 20%);
}

.brand-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(145, 72, 118, 0.2);
}

.brand-image {
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  transition: background 0.3s ease;
}

.brand-card:hover .brand-image {
  background: var(--gradient-primary);
}

.brand-image img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  transition: all 0.4s ease;
}

.brand-card:hover .brand-image img {
  transform: scale(1.2);
  filter: brightness(1.1);
}

.brand-info {
  padding: 1.5rem;
  text-align: center;
}

.brand-name {
  font-weight: 700;
  color: var(--cannon-pink);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.brand-card:hover .brand-name {
  color: var(--everglade);
}

.brand-category {
  font-size: 0.85rem;
  color: var(--text-dark);
  opacity: 0.7;
  margin: 0;
  font-weight: 500;
}

/* Vision Mission Section */
.vision-mission-section {
  padding: 100px 0;
}

.vision-card,
.mission-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.vision-card {
  border-left: 6px solid var(--cannon-pink);
}

.mission-card {
  border-left: 6px solid var(--everglade);
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vision-card:hover {
  background: linear-gradient(135deg, rgba(145, 72, 118, 0.02) 0%, #ffffff 100%);
}

.mission-card:hover {
  background: linear-gradient(135deg, rgba(34, 78, 45, 0.02) 0%, #ffffff 100%);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.vision-card .card-icon {
  color: var(--cannon-pink);
}

.mission-card .card-icon {
  color: var(--everglade);
}

.vision-card:hover .card-icon,
.mission-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.vision-card h3 {
  color: var(--cannon-pink);
}

.mission-card h3 {
  color: var(--everglade);
}

/* Premium Footer (Same as About Page) */
.footer-section {
  background: black;
  /* background: var(--gradient-secondary); */
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
}

.footer-logo {
  max-width: 120px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--gradient-accent);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 16px rgba(153, 178, 76, 0.3);
}

.map-container {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* 3D Canvas */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Animation Classes */
.fade-in-left,
.fade-in-right,
.fade-in-up {
  opacity: 0;
  transition: all 0.8s ease;
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left.animate,
.fade-in-right.animate,
.fade-in-up.animate {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    min-height: 500px;
  }
  
  .carousel-img {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .content-card,
  .stat-card,
  .therapy-card,
  .brand-card,
  .vision-card,
  .mission-card {
    padding: 1.5rem;
    margin: 1rem 0;
    align-items: center;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }
  
  .carousel-control-prev {
    left: 15px;
  }
  
  .carousel-control-next {
    right: 15px;
  }
  
  .therapy-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .about-section,
  .stats-section,
  .therapeutic-section,
  .brands-section,
  .vision-mission-section {
    padding: 60px 0;
  }
}



/* 1. Hero Section - Better Mobile Heights */
@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    min-height: 450px;
    max-height: 600px;
  }
  
  .carousel-img {
    height: 80vh;
    min-height: 450px;
    max-height: 600px;
    object-position: center;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 70vh;
    min-height: 400px;
    max-height: 500px;
  }
  
  .carousel-img {
    height: 70vh;
    min-height: 400px;
    max-height: 500px;
  }
}

/* 2. Hero Content - Responsive Positioning */
@media (max-width: 768px) {
  .hero-content {
    width: 90%;
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem) !important;
    margin-bottom: 1.5rem !important;
  }
  
  .btn-premium {
    padding: 12px 24px !important;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .btn-premium {
    padding: 10px 20px !important;
    font-size: 0.875rem;
  }
}

/* 3. Carousel Controls - Better Mobile Positioning */
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    opacity: 0.7;
  }
  
  .carousel-control-prev {
    left: 10px;
  }
  
  .carousel-control-next {
    right: 10px;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 20px;
    height: 20px;
  }
  
  .carousel-indicators {
    bottom: 15px;
  }
  
  .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

/* 4. Section Padding - Mobile Optimization */
@media (max-width: 992px) {
  .about-section,
  .stats-section,
  .therapeutic-section,
  .brands-section,
  .vision-mission-section {
    padding: 60px 0 !important;
  }
}

@media (max-width: 576px) {
  .about-section,
  .stats-section,
  .therapeutic-section,
  .brands-section,
  .vision-mission-section {
    padding: 40px 0 !important;
  }
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 5. Cards - Mobile Spacing */
@media (max-width: 768px) {
  .content-card,
  .stat-card,
  .therapy-card,
  .brand-card,
  .vision-card,
  .mission-card {
    padding: 1.25rem !important;
    margin-bottom: 1rem;
  }
  
  .stat-icon {
    font-size: 2.5rem !important;
  }
  
  .stat-number {
    font-size: 2rem !important;
  }
  
  .therapy-icon {
    font-size: 2.5rem !important;
  }
  
  .card-icon {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 576px) {
  .content-card,
  .stat-card,
  .therapy-card,
  .brand-card,
  .vision-card,
  .mission-card {
    padding: 1rem !important;
  }
}

/* 6. Typography - Mobile Readability */
@media (max-width: 768px) {
  h2 {
    font-size: 1.75rem !important;
  }
  
  h3 {
    font-size: 1.5rem !important;
  }
  
  h5 {
    font-size: 1.125rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  p {
    font-size: 0.95rem;
  }
}

/* 7. Navbar - Mobile Fixes */
@media (max-width: 992px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
  }
  
  .navbar-nav {
    gap: 0 !important;
  }
  
  .nav-item {
    margin: 5px 0;
  }
  
  .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    margin-top: 10px;
  }
}

/* 8. Footer - Mobile Layout */
@media (max-width: 768px) {
  .footer-section {
    padding: 2rem 0 !important;
  }
  
  .footer-logo {
    max-width: 80px;
  }
  
  .footer-section h5,
  .footer-section h6 {
    font-size: 1rem;
    margin-top: 1.5rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .map-container iframe {
    height: 150px;
  }
}

/* 9. Disable Heavy Animations on Mobile */
@media (max-width: 768px) {
  .hover-scale:hover {
    transform: none;
  }
  
  .stat-card:hover,
  .therapy-card:hover,
  .brand-card:hover {
    transform: translateY(-5px) !important;
  }
  
  /* Disable 3D tilt effects on mobile */
  .stat-card,
  .therapy-card,
  .brand-card,
  .vision-card,
  .mission-card {
    transform: none !important;
  }
}

/* 10. Image Optimization */
@media (max-width: 768px) {
  .brand-image img {
    height: 120px !important;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
}

/* 11. Grid Spacing */
@media (max-width: 768px) {
  .row.gy-4 {
    row-gap: 1.5rem !important;
  }
  
  .row.gy-5 {
    row-gap: 2rem !important;
  }
  
  .row.g-4 {
    gap: 1rem !important;
  }
}

/* 12. Highlight Box */
@media (max-width: 576px) {
  .highlight-box {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* 13. Prevent Horizontal Scroll */
body {
  overflow-x: hidden !important;
  width: 100%;
}

.container-fluid,
.row {
  overflow-x: hidden;
}

/* 14. Touch-friendly Buttons */
@media (max-width: 768px) {
  .btn,
  .nav-link,
  .dropdown-item,
  .social-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    /* justify-content: center; */
  }
}

/* 15. Disable Parallax on Mobile */
@media (max-width: 768px) {
  .parallax {
    transform: none !important;
  }
}

.brand-text-only {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.brand-text-only:hover {
  transform: scale(1.05);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #914876;
}

.brand-category {
  font-size: 1rem;
  color: #666;
}
