/* Rainy Day Activity Blog - Main CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');

/* Color Palette */
:root {
  --primary-blue: #2c5282;
  --primary-gray: #4a5568;
  --primary-teal: #319795;
  --primary-orange: #ed8936;
  --primary-purple: #805ad5;
  
  --light-blue: #bee3f8;
  --light-gray: #f7fafc;
  --light-teal: #b2f5ea;
  --light-orange: #fbd38d;
  --light-purple: #d6bcfa;
  
  --dark-blue: #1a365d;
  --dark-gray: #2d3748;
  --dark-teal: #234e52;
  --dark-orange: #c05621;
  --dark-purple: #553c9a;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-gray);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; font-weight: 600; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.6rem; }
h4 { font-size: 1.2rem; font-weight: 500; margin-bottom: 0.5rem; }
h5 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.4rem; }
p { font-size: 1rem; margin-bottom: 1rem; }

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: white !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-teal) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-teal) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-top: 100px !important;
  color: var(--dark-blue);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, var(--primary-orange), var(--primary-purple));
}

/* Services */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

.service-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-top: 1rem;
}

/* Features */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

/* Team */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--light-teal);
}

/* Reviews/Testimonials */
.review-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 1rem;
  text-align: center;
}

.review-stars {
  color: var(--primary-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Blog */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

/* FAQ */
.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light-teal);
}

.faq-answer {
  padding: 1rem;
  background: white;
  border-left: 3px solid var(--primary-teal);
  margin-top: 0.5rem;
}

/* Gallery */
.gallery-item {
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-control {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(49, 151, 149, 0.25);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-teal), var(--primary-blue));
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-gray));
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-teal);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Price Plans */
.price-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--primary-orange);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary-orange);
  color: white;
  padding: 0.5rem 2rem;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 1rem 0;
  background: var(--light-gray);
}

.breadcrumb-nav img {
  height: 24px;
  width: auto;
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--primary-teal);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50%;
  padding-right: 2rem;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  padding-left: 2rem;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-orange);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--primary-teal);
}

/* Swiper Customization */
.swiper-pagination-bullet {
  background: var(--primary-teal);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-teal);
}

/* Utilities */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
}

.text-primary-custom {
  color: var(--primary-blue);
}

.text-teal-custom {
  color: var(--primary-teal);
}

/* Additional Sections Styling */
.section-bg-light {
  background: var(--light-gray);
}

.section-bg-gradient {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
}

.case-study-card,
.process-step,
.career-item,
.core-info-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.case-study-card:hover,
.process-step:hover,
.career-item:hover,
.core-info-item:hover {
  transform: translateY(-5px);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-orange);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-section {
  counter-reset: step-counter;
} 