/* ========================================
   MAIN STYLES FOR PENSION BUDGET ACADEMY
   ======================================== */

/* ===== GLOBAL STYLES ===== */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --font-family: 'Open Sans', Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: #333;
  padding-top: 76px; /* Account for fixed navbar */
}

/* ===== SECTION STYLES ===== */
.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* Section Headers */
.section-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background-color: #fff !important;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card h4 {
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card i {
  margin-bottom: 1rem;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h4 {
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-features {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
}

.service-price {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ===== FEATURE ITEMS ===== */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-content h4 {
  margin-bottom: 0.5rem;
  color: #333;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  height: 100%;
  transition: transform 0.3s;
}

.pricing-card.featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header h3 {
  margin-bottom: 1rem;
  color: #333;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.pricing-price span:first-child {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.pricing-features {
  color: #666;
  list-style: none;
  padding: 0;
}

/* ===== TEAM MEMBERS ===== */
.team-member {
  text-align: center;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--light-color);
}

.team-info h5 {
  margin-bottom: 0.5rem;
  color: #333;
}

.team-info p {
  color: #666;
  margin-bottom: 1rem;
}

.social-icons-grid {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: transform 0.3s;
}

.social-link:hover {
  transform: scale(1.1);
}

.facebook-link { background: #3b5998; }
.linkedin-link { background: #0077b5; }
.x-link { background: #1da1f2; }

/* ===== CASE STUDY CARDS ===== */
.case-study-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  height: 100%;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-study-content {
  padding: 1.5rem;
}

.case-study-content h4 {
  margin-bottom: 1rem;
  color: #333;
}

/* ===== PROCESS STEPS ===== */
.process-step {
  text-align: center;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
}

.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: bold;
  margin: 0 auto 1rem;
}

.process-step h5 {
  margin-bottom: 1rem;
  color: #333;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 2rem;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  position: relative;
}

.timeline-content h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* ===== CAREER CARDS ===== */
.career-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  height: 100%;
}

.career-card:hover {
  transform: translateY(-5px);
}

.career-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== INFO CARDS ===== */
.info-card {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h4 {
  margin-bottom: 1rem;
  color: #333;
}

/* ===== REVIEW CARDS ===== */
.review-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
}

.review-stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

.review-author {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* ===== FAQ CARDS ===== */
.faq-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.faq-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info {
  text-align: center;
  padding: 1rem;
}

.contact-info i {
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
footer {
  background-color: #2c3e50 !important;
  color: white;
  padding: 3rem 0 1rem;
}

footer h5, footer h6 {
  color: white;
  margin-bottom: 1rem;
}

footer .text-white-50 {
  color: rgba(255,255,255,0.7) !important;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 3rem;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
    padding-left: 3rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .gallery-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .feature-card,
  .service-card,
  .pricing-card {
    margin-bottom: 1rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-info { background-color: var(--info-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }

/* ===== ANIMATIONS ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
} 