/* Consumer Protection Advice Counter - Main Styles */

:root {
  /* Primary Color Palette - Harmonious Pastels */
  --primary-sage: #9fae9f;
  --primary-lavender: #b8a9c9;
  --primary-peach: #f4c2a1;
  --primary-mint: #a8d5ba;
  --primary-cream: #f7f3e9;
  
  /* Light/Dark Shades */
  --sage-light: #c8d4c8;
  --sage-dark: #7a8f7a;
  --lavender-light: #d4c8e0;
  --lavender-dark: #9485a3;
  --peach-light: #f8d7c1;
  --peach-dark: #e4a67a;
  --mint-light: #c9e8d4;
  --mint-dark: #85c49a;
  --cream-light: #faf8f1;
  --cream-dark: #e8dfc9;
  
  /* Neutral Colors */
  --text-dark: #2d3748;
  --text-medium: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-sage), var(--primary-lavender));
  --gradient-secondary: linear-gradient(135deg, var(--primary-peach), var(--primary-mint));
  --gradient-soft: linear-gradient(135deg, var(--cream-light), var(--sage-light));
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  /* Base sizing - conservative approach */
  --base-font-size: 16px;
  --line-height-base: 1.6;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: var(--line-height-base);
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  margin-bottom: var(--space-sm);
  color: var(--text-medium);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-padding {
  padding: var(--space-2xl) 0;
}

/* Header */
header {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: var(--space-sm) 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 var(--space-xs);
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm) !important;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-soft);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../HIS_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-medium);
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: var(--space-xl);
}

/* Decorative Shapes */
.shape {
  position: absolute;
  z-index: 1;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  top: 10%;
  right: 10%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--primary-lavender);
  border-radius: 50% 0 50% 0;
  bottom: 20%;
  left: 5%;
  opacity: 0.2;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--primary-sage);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: var(--gray-50);
  position: relative;
}

.about-feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-sage);
}

.about-feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--white);
  font-size: 1.5rem;
}

.about-feature-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.about-feature-desc {
  color: var(--text-medium);
}

/* Services Section */
.services-section {
  background: var(--white);
}

.service-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-sage);
}

.service-item:nth-child(2n) {
  background: var(--gradient-soft);
}

.service-item:nth-child(3n) .service-item::before {
  background: var(--gradient-secondary);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.service-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.service-desc {
  color: var(--text-medium);
  margin-bottom: var(--space-md);
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-md);
}

.service-features li {
  padding: var(--space-xs) 0;
  color: var(--text-medium);
  position: relative;
  padding-left: var(--space-md);
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-sage);
  position: absolute;
  left: 0;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-sage);
  text-align: center;
}

/* Features Section */
.features-section {
  background: var(--gray-50);
}

.feature-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--white);
  font-size: 2rem;
}

.feature-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.feature-desc {
  color: var(--text-medium);
}

/* Price Plan Section */
.priceplan-section {
  background: var(--white);
}

.price-plan-item {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.price-plan-item:hover {
  border-color: var(--primary-sage);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.price-plan-item.featured {
  background: var(--gradient-soft);
  border-color: var(--primary-sage);
  transform: scale(1.05);
}

.price-plan-item.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-sage);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.plan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-sage);
  margin-bottom: var(--space-md);
}

.plan-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.plan-features li {
  padding: var(--space-xs) 0;
  color: var(--text-medium);
  position: relative;
  padding-left: var(--space-md);
}

.plan-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-sage);
  position: absolute;
  left: 0;
}

/* Team Section */
.team-section {
  background: var(--gray-50);
}

.team-member {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 4px solid var(--primary-sage);
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

.team-member-role {
  color: var(--primary-sage);
  font-weight: 500;
}

/* Reviews Section */
.reviews-section {
  background: var(--white);
}

.swiper-container {
  padding-bottom: 50px;
}

.review-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  height: auto;
  border: 2px solid var(--gray-200);
  margin: var(--space-sm);
}

.review-text {
  font-style: italic;
  margin-bottom: var(--space-md);
  color: var(--text-medium);
  font-size: 1.125rem;
  line-height: 1.6;
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.review-stars {
  color: #ffd700;
  margin-bottom: var(--space-sm);
}

/* Core Info Section */
.coreinfo-section {
  background: var(--gray-50);
}

.coreinfo-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.coreinfo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.coreinfo-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--white);
  font-size: 1.75rem;
}

.coreinfo-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.coreinfo-desc {
  color: var(--text-medium);
}

/* Contact Form Section */
.contact-section {
  background: var(--white);
}

.contact-form {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 3px rgba(159, 174, 159, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.service-select {
  margin-bottom: var(--space-md);
}

.service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.service-option {
  display: flex;
  align-items: center;
}

.service-option input[type="radio"] {
  margin-right: var(--space-xs);
}

.btn-submit {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-secondary);
}

/* Blog Section */
.blog-section {
  background: var(--gray-50);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.blog-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: var(--space-lg);
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.blog-excerpt {
  color: var(--text-medium);
  margin-bottom: var(--space-md);
}

.blog-link {
  color: var(--primary-sage);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--sage-dark);
}

/* FAQ Section */
.faq-section {
  background: var(--white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-question {
  background: var(--gray-50);
  padding: var(--space-md);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--sage-light);
}

.faq-question.active {
  background: var(--primary-sage);
  color: var(--white);
}

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
}

.faq-answer.active {
  padding: var(--space-md);
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-medium);
  margin: 0;
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-toggle.active {
  transform: rotate(45deg);
}

/* Gallery Section */
.gallery-section {
  background: var(--gray-50);
  padding: var(--space-2xl) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Footer */
footer {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section li {
  color: var(--white);
  opacity: 0.9;
  margin-bottom: var(--space-xs);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom small {
  opacity: 0.8;
}

/* Contact Info */
.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.contact-info i {
  margin-right: var(--space-sm);
  width: 20px;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-container {
  background: var(--gray-100);
  padding: var(--space-sm) 0;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  margin-right: var(--space-xs);
}

/* Additional Page Styles */
.additional-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--gray-200);
}

.additional-section:nth-child(even) {
  background: var(--gray-50);
}

.additional-section:last-child {
  border-bottom: none;
}

.additional-elements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.additional-element {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.additional-element:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

#space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../HIS_images/space-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

/* Swiper Customization */
.swiper-pagination-bullet {
  background: var(--primary-sage);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-sage);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-sage);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

/* Print Styles */
@media print {
  .navbar,
  .breadcrumb-container,
  footer {
    display: none;
  }
  
  body {
    background: white;
  }
  
  .section-padding {
    padding: var(--space-md) 0;
  }
} 