/* ==========================================================================
   Accent Reduction Clinics - Main CSS
   ========================================================================== */

/* Root Variables */
:root {
  --primary-color: #2C5F8D;      /* Deep Blue */
  --secondary-color: #8FBC8F;    /* Soft Green */
  --accent-color: #FF6B6B;       /* Coral Red */
  --neutral-color: #4A5568;      /* Dark Gray */
  --highlight-color: #FFD93D;    /* Golden Yellow */
  
  --primary-light: #4A7BA7;
  --primary-dark: #1E4167;
  
  --secondary-light: #A8D5A8;
  --secondary-dark: #6B9B6B;
  
  --accent-light: #FF8787;
  --accent-dark: #E84855;
  
  --neutral-light: #718096;
  --neutral-dark: #2D3748;
  
  --highlight-light: #FFE66D;
  --highlight-dark: #FFC107;
  
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
    font-size: 12px !important;
  font-size: 1.25rem;
  font-weight: 700;
  color: white !important;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.95rem;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
}

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(44,95,141,0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotate(45deg);
}

/* Section Styles */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-title h3 {
  color: var(--neutral-color);
  font-weight: 400;
  font-size: 1.1rem;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: var(--bg-light);
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Services Section */
.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 2rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 1rem 0;
}

/* Features Section */
.feature-box {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 50%);
  border-radius: 20px;
  color: white;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: scale(1.05);
}

.feature-box i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Price Plan Section */
.price-card {
  background: white;
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.price-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--accent-color);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: 700;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.price-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 2rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Team Section */
.team-section {
  background: var(--bg-light);
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 5px solid var(--primary-light);
}

/* Reviews Section */
.review-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.review-stars {
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* Case Study Section */
.case-study-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem;
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: scale(1.05);
}

/* Process Section */
.process-step {
  text-align: center;
  position: relative;
  padding: 2rem;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--primary-light);
  z-index: -1;
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 2rem;
  width: 45%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
  right: -60px;
}

.timeline-item:nth-child(even)::before {
  left: -60px;
}

/* Career Section */
.career-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  border-left: 5px solid var(--primary-color);
  transition: all 0.3s ease;
}

.career-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

/* Core Info Section */
.core-info-item {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(44,95,141,0.1) 0%, rgba(143,188,143,0.1) 100%);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.core-info-item:hover {
  background: linear-gradient(135deg, rgba(44,95,141,0.2) 0%, rgba(143,188,143,0.2) 100%);
  transform: translateY(-5px);
}

.core-info-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background: var(--bg-light);
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-control, .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44,95,141,0.25);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(44,95,141,0.3);
  color: white;
}

.contact-info-box {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.contact-info-box i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Blog Section */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 2rem;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-light);
}

.accordion-item {
  border: none;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.accordion-button {
  background: white;
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 10px;
  padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--neutral-dark) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px 0 30px;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer p, .footer a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 0;
}

.breadcrumb img {
  height: 20px;
  width: auto;
}

/* Swiper Customization */
.swiper {
  padding: 20px 0 50px;
}

.swiper-pagination-bullet {
  background: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

/* Additional Page Styles */
.additional-page-section {
  padding: 80px 0;
}

.additional-page-section:nth-child(even) {
  background: var(--bg-light);
}

.element-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.element-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

/* Space Page */
#space {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
} 